aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/blog/index.tsx
Commit message (Collapse)AuthorAgeFilesLines
...
* chore(widget): pass title to TopicsList as parameterArmand Philippot2022-01-111-1/+1
| | | | | I also choose to no display the current topic in the list if the current page is a subject.
* chore(widgets): pass title to thematics list as parameterArmand Philippot2022-01-111-1/+1
| | | | | If the current page is a thematic, I also choose to not display the current thematic in the list.
* refactor(sidebar): use a component to avoid styles repetitionArmand Philippot2022-01-111-2/+3
| | | | | | I also fix some overflow/sticky issues. I have to set overflow auto only when there is no button-like links otherwise, with translate, the button is cropped on hover.
* refactor(styles): use compose to declare grid layouts onceArmand Philippot2022-01-101-10/+8
| | | | | | | 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 a widget to list all blog topicsArmand Philippot2022-01-071-1/+2
|
* chore: add a widget to list all blog thematicsArmand Philippot2022-01-071-10/+16
|
* chore: move Main grid to its childrenArmand Philippot2022-01-061-9/+12
| | | | This way I can use full width background for some blocks.
* refactor: reuse PostHeader for all pages except homepageArmand Philippot2022-01-061-1/+2
|
* refactor: avoid useless assignement before return statementArmand Philippot2022-01-041-9/+6
|
* chore: replace read more link with ButtonLink componentArmand Philippot2021-12-291-0/+1
| | | | | I also fix the load more button position since I removed the margin auto.
* chore: add a breadcrumb componentArmand Philippot2021-12-211-5/+4
|
* refactor: rewrite types and servicesArmand Philippot2021-12-201-1/+1
| | | | | | | 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.
* refactor: move SWR to blog pageArmand Philippot2021-12-161-5/+40
| | | | This way I can reuse PostsList component with another posts fetcher.
* chore: display year between blog postsArmand Philippot2021-12-161-1/+1
|
* chore: add pagination (load more) to blog pageArmand Philippot2021-12-151-6/+9
|
* chore: retrieve posts list on blog pageArmand Philippot2021-12-151-0/+48