aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/constants.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-12-12 18:50:03 +0100
committerArmand Philippot <git@armandphilippot.com>2023-12-12 18:50:03 +0100
commit85c4c42bd601270d7be0f34a0767a34bb85e29bb (patch)
tree16a07a89cf209139672592fd6988f0c028acb7e9 /src/utils/constants.ts
parent93f87c10783e3d76f1dec667779aedffcae33a39 (diff)
refactor(hooks): rewrite useBreadcrumbs hook
* 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
Diffstat (limited to 'src/utils/constants.ts')
-rw-r--r--src/utils/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts
index 9733b15..e968f31 100644
--- a/src/utils/constants.ts
+++ b/src/utils/constants.ts
@@ -26,6 +26,8 @@ export const ROUTES = {
TOPICS: '/sujet',
} as const;
+export const PAGINATED_ROUTE_PREFIX = '/page';
+
// cSpell:ignore legales thematique developpement
export const STORAGE_KEY = {