diff options
author | Valentin Popov <valentin@popov.link> | 2025-06-10 16:44:56 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2025-06-10 16:44:56 +0300 |
commit | bb7481670eedd4693f8e698261dc87243fd29448 (patch) | |
tree | a71aa5a50b98a0e791ea6f0381457d57856ca8d5 /src/layouts | |
parent | dfe9115ac9bdd55b9515c5d1ccbedfeea3b81691 (diff) | |
download | popov.link-bb7481670eedd4693f8e698261dc87243fd29448.tar.xz popov.link-bb7481670eedd4693f8e698261dc87243fd29448.zip |
feat: add header component and update blog layout
- Introduced a new Header component for site navigation.
- Integrated Header into BaseLayout for consistent site structure.
- Updated blog post layout to include the post title in a dedicated section.
- Minor update to README for license clarity.
Diffstat (limited to 'src/layouts')
-rw-r--r-- | src/layouts/BaseLayout.astro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index ca8826a..0209c58 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,6 +1,7 @@ --- import Analytics from "../components/Analytics.astro"; import Head from "../components/Head.astro"; +import Header from "../components/Header.astro"; import "../scss/global.scss"; type Props = { @@ -19,6 +20,10 @@ const { description, title } = Astro.props; <body> <main> + <section> + <Header /> + </section> + <slot /> </main> <Analytics title={title ?? import.meta.env.DEFAULT_TITLE} /> |