aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/nav/breadcrumbs/breadcrumbs.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix(styles): increase CSS specifity for some selectorsArmand Philippot2023-12-201-3/+2
| | | | | | | | | | | Since `sideEffects` has been added to activate tree shakings, the styles are imported in the wrong order in production build. There is an open issue (again) on Next.js repo. I'm not sure it will be fixed soon so in the meantime I had to increase the specifity of some selectors to avoid broken styles. I also fixed two minor layout errors: * CV page widgets should use headings of level 2 * Homepage should wrap the cards in list items
* refactor(hooks): rewrite useBreadcrumbs hookArmand Philippot2023-12-121-6/+6
| | | | | | | * 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 Breadcrumbs componentArmand Philippot2023-11-111-0/+66