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/components/templates/layout/layout.module.scss | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/components/templates/layout/layout.module.scss') diff --git a/src/components/templates/layout/layout.module.scss b/src/components/templates/layout/layout.module.scss index 03276bf..69c4ef0 100644 --- a/src/components/templates/layout/layout.module.scss +++ b/src/components/templates/layout/layout.module.scss @@ -90,19 +90,6 @@ flex: 1; } -.article { - &--grid { - @extend %grid; - - grid-auto-flow: column dense; - align-items: baseline; - } - - &--padding { - padding-bottom: var(--spacing-lg); - } -} - .footer { display: flex; flex-flow: column wrap; -- cgit v1.2.3