summaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/Base.astro9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro
index 60a9d4f..d80d6a8 100644
--- a/src/layouts/Base.astro
+++ b/src/layouts/Base.astro
@@ -1,7 +1,12 @@
---
-import BaseHead, { type Props } from "@components/BaseHead.astro";
+import BaseHead, {
+ type Props as HeadProps,
+} from "@components/BaseHead.astro";
+import { type Props as HeaderProps } from "@components/Header.astro";
import Footer from "@components/Footer.astro";
import Header from "@components/Header.astro";
+
+interface Props extends HeadProps, HeaderProps {}
---
<!DOCTYPE html>
@@ -27,7 +32,7 @@ import Header from "@components/Header.astro";
<BaseHead {...Astro.props} />
</head>
<body>
- <Header />
+ <Header {...Astro.props} />
<slot />
<Footer />
<noscript>I see, a man of culture :)</noscript>