summaryrefslogtreecommitdiffstats
path: root/src/components/PostsList
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove old pages, components, helpers and typesArmand Philippot2022-04-292-161/+0
| | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch.
* refactor: use formatjs swc pluginArmand Philippot2022-03-231-0/+2
| | | | | I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id.
* chore: improve accessibilityArmand Philippot2022-02-111-1/+5
|
* chore: adjust spacing before posts list year on small devicesArmand Philippot2022-02-101-1/+1
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-6/+19
|
* refactor(styles): rename shadow and border variablesArmand Philippot2022-01-161-1/+1
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-151-1/+1
| | | | | | | | | 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.
* chore: improve load more button accessibilityArmand Philippot2022-01-142-16/+41
| | | | | | On click, the focus should be moved to the last post in the list instead of keeping it on load more button. It helps to keep a consistent navigation for keyboard users for example.
* chore: change posts list stylesArmand Philippot2022-01-141-1/+9
|
* refactor(sidebar): use a component to avoid styles repetitionArmand Philippot2022-01-111-1/+1
| | | | | | 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-4/+4
| | | | | | | 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: move Main grid to its childrenArmand Philippot2022-01-062-17/+30
| | | | This way I can use full width background for some blocks.
* chore: make year sticky in posts listArmand Philippot2021-12-292-4/+25
|
* chore: create search viewArmand Philippot2021-12-201-1/+1
|
* refactor: move SWR to blog pageArmand Philippot2021-12-161-45/+30
| | | | This way I can reuse PostsList component with another posts fetcher.
* chore: display year between blog postsArmand Philippot2021-12-162-18/+24
|
* chore: display featuredImage and meta on posts listArmand Philippot2021-12-162-31/+22
|
* chore: add pagination (load more) to blog pageArmand Philippot2021-12-151-25/+77
|
* chore: retrieve posts list on blog pageArmand Philippot2021-12-152-0/+41