aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/PostHeader
Commit message (Collapse)AuthorAgeFilesLines
* chore: add reading time in posts metaArmand Philippot2022-01-251-1/+3
|
* chore: display total found posts in page metaArmand Philippot2022-01-251-0/+1
|
* chore: allow ReactElement as intro in PostHeaderArmand Philippot2022-01-191-7/+22
|
* refactor(styles): rename shadow and border variablesArmand Philippot2022-01-161-5/+5
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-151-1/+4
| | | | | | | | | I'm now using a widget that can be expanded/collapsed. It also allows me to handle more effectively widgets overflow and to avoid styles repetitions. However, with stylelint rule "no-descending-specificity", I'm not sure if the stylesheets are really logical... Maybe I should deactivate this rule.
* refactor(styles): use css grid to stylize post headerArmand Philippot2022-01-101-12/+35
| | | | | By using pseudo elements instead of background with padding, it is easier to control the look of posts header.
* refactor(styles): use compose to declare grid layouts onceArmand Philippot2022-01-101-5/+1
| | | | | | | I'm using same grid layouts in multiple places. To avoid maintenance issue, I think it is better to declare the grid once and to import its declaration where it is needed. Thanks to CSS modules, I can use compose to do that.
* chore: add article header stylesArmand Philippot2022-01-071-4/+58
|
* fix: check for undefined meta in post headerArmand Philippot2022-01-071-1/+11
| | | | | The meta object can exists but its properties can be undefined. So I don't want to display the dl if all properties are undefined.
* refactor: reuse PostHeader for all pages except homepageArmand Philippot2022-01-061-5/+7
|
* refactor: reuse PostMeta components on single articles/pagesArmand Philippot2022-01-061-58/+24
|
* refactor: rewrite types and servicesArmand Philippot2021-12-201-5/+6
| | | | | | | I was repeating myself a lot in services. So I rewrited the different functions to improve readability and I extracted some formatting functions to put them in utils. I also rewrited/reorganized some types to keep consistent names.
* chore: add meta to single postsArmand Philippot2021-12-172-0/+79