aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/pages/blog.module.scss
Commit message (Collapse)AuthorAgeFilesLines
* fix(pages,services): make thematics & topics pages usable againArmand Philippot2023-11-291-0/+50
| | | | | | | | | | When I refactored the fetchers and convertors in #f111685 I forgot to convert WPThematicPreview and WPTopicPreview so the thematics and topics pages was broken. I also: * removed the ToC added by error in #70b4f63 * fix heading styles * fix website url in topics pages
* refactor(components): rewrite PostsList componentArmand Philippot2023-11-131-0/+18
* remove NoResults component and move logic to Search page * add a usePostsList hook * remove Pagination from PostsList (it is only used if javascript is disabled and not on every posts list) * replace `byYear` prop with `sortByYear` * replace `loadMore` prop with `onLoadMore` * remove `showLoadMoreBtn` (we can use `loadMore` prop instead to determine if we need to display the button) * replace `titleLevel` prop with `headingLvl` * add `firstNewResult` prop to handle focus on the new results when loading more article (we should not focus a useless span but the item directly)