From 70b4f633a6fbedb58c8b9134ac64ede854d489de Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 20 Nov 2023 12:27:46 +0100 Subject: refactor(components): replace PageLayout template with Page * 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` --- src/types/app.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/types/app.ts') diff --git a/src/types/app.ts b/src/types/app.ts index 2588a7b..b613e6e 100644 --- a/src/types/app.ts +++ b/src/types/app.ts @@ -5,9 +5,7 @@ import type { MessageFormatElement } from 'react-intl'; import type { VALID_THEMES } from '../utils/constants'; export type NextPageWithLayoutOptions = { - withExtraPadding?: boolean; isHome?: boolean; - useGrid?: boolean; }; export type NextPageWithLayout = NextPage & { -- cgit v1.2.3