From 85c4c42bd601270d7be0f34a0767a34bb85e29bb Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 12 Dec 2023 18:50:03 +0100 Subject: 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 --- src/utils/constants.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils/constants.ts') 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 = { -- cgit v1.2.3