diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index ca3a074..010e6a4 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -9,11 +9,11 @@ import PageFooter from '../components/PageFooter.astro'; export interface Props { backLink?: string; footer?: boolean; - navigation?: boolean; + header?: boolean; title: string; } -const { backLink, footer = true, navigation, title } = Astro.props; +const { backLink, footer = true, header = true, title } = Astro.props; --- @@ -56,9 +56,9 @@ const { backLink, footer = true, navigation, title } = Astro.props; class="flex h-screen flex-col bg-shibui-100 font-sans font-normal leading-relaxed text-shibui-950 common-ligatures dark:bg-shibui-900 dark:text-shibui-200/[0.87]" > - + {header && }
-
+
diff --git a/src/layouts/GridLayout.astro b/src/layouts/GridLayout.astro index 5f6c51c..d08a48d 100644 --- a/src/layouts/GridLayout.astro +++ b/src/layouts/GridLayout.astro @@ -6,13 +6,24 @@ import BaseLayout from './BaseLayout.astro'; export interface Props { backLink?: string; class?: string; + footer?: boolean; gap?: boolean; grid?: 'fullsize' | 'wide' | 'narrow'; + header?: boolean; innerGrid?: boolean; title: string; } -const { backLink, class: className, gap = true, grid = 'narrow', innerGrid, title } = Astro.props; +const { + backLink, + class: className, + footer = true, + gap = true, + grid = 'narrow', + header, + innerGrid, + title, +} = Astro.props; const gridClasses = cx('grid w-full grid-cols-18', { 'gap-y-gap': gap }, className); const wrapperClasses = cx( @@ -33,7 +44,7 @@ const wrapperClasses = cx( ); --- - +