aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/hooks/use-breadcrumb.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(routes): replace hardcoded routes with constantsArmand Philippot2023-10-241-105/+0
| | | | | | | | It makes it easier to change a route if needed and it avoid typo mistakes. I also refactored a bit the concerned files to be complient with the new ESlint config. However, I should rewrite the pages to reduce the number of statements.
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-6/+4
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-2/+2
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* chore: handle blog pagination when JS is disabledArmand Philippot2022-05-201-1/+2
|
* refactor: use custom hook for breadcrumb items and schemaArmand Philippot2022-05-161-0/+106