diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-20 12:27:46 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-20 19:32:09 +0100 |
| commit | 70b4f633a6fbedb58c8b9134ac64ede854d489de (patch) | |
| tree | c757bb12ad9a588e23b25cdb8b46710ac14dbcb1 /src/types | |
| parent | 9a481f066e1427d53a06cf7aeec525a745abf03f (diff) | |
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`
Diffstat (limited to 'src/types')
| -rw-r--r-- | src/types/app.ts | 2 |
1 files changed, 0 insertions, 2 deletions
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<T = object> = NextPage<T> & { |
