aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/PostHeader
Commit message (Collapse)AuthorAgeFilesLines
* 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