diff options
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Page.astro | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro new file mode 100644 index 0000000..3ef0a58 --- /dev/null +++ b/src/layouts/Page.astro @@ -0,0 +1,17 @@ +--- +import type Locale from '../types/Locale'; +import Layout from './Layout.astro'; + +interface Props { + locale: Locale; + title: string; +} + +const { locale, title } = Astro.props; +--- + +<Layout locale={locale} title={title} > + <main id="main"> + <slot /> + </main> +</Layout> |
