| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(hooks): rewrite useBreadcrumbs hook | Armand Philippot | 2023-12-12 | 3 | -15/+15 |
| | | | | | | | | * use next/router to get the slug instead of using props * handle cases where the current page title is not provided * update JSON-LD schema to match the example in documentation * add tests | ||||
| * | refactor(components): rewrite PostsList component | Armand Philippot | 2023-11-13 | 2 | -1/+16 |
| | | | | | | | | | | | | | | | | * 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) | ||||
| * | refactor(components): extract MainNav component from toolbar | Armand Philippot | 2023-11-11 | 6 | -0/+178 |
| | | |||||
| * | refactor(components): rewrite Breadcrumbs component | Armand Philippot | 2023-11-11 | 6 | -0/+152 |
| | | |||||
| * | refactor(components): rewrite Pagination component | Armand Philippot | 2023-11-11 | 6 | -0/+526 |
