aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/templates/page/page.test.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks): rewrite useBreadcrumbs hookArmand Philippot2023-12-121-2/+2
| | | | | | | * 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): integrate sectioned page template into PageArmand Philippot2023-11-231-0/+31
| | | | | | | | * replace Section component by a generic one (other components should be able to use it) * add a PageSection component * add `hasSections` prop to Page component * remove sectioned-page template
* refactor(components): replace PageLayout template with PageArmand Philippot2023-11-201-0/+49
* split pages in smaller components (it is both easier to maintain and more readable, we avoid the use of fragments in pages directory) * extract breadcrumbs from article tag (the navigation is not related to the page contents) * remove useReadingTime hook * remove layout options except `isHome`