0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 08:30:27 +03:00

Refactor Footer component and add Analytics and Footer components to BaseLayout

This commit is contained in:
2024-09-13 00:06:02 +00:00
parent b8fd186801
commit d4a6772ec5
3 changed files with 52 additions and 0 deletions

View File

@ -1,5 +1,6 @@
---
import Analytics from "../components/Analytics.astro";
import Footer from "../components/Footer.astro";
import Head from "../components/Head.astro";
import Header from "../components/Header.astro";
import "../scss/global.scss";
@ -23,6 +24,7 @@ const { description, title } = Astro.props;
<main>
<slot />
</main>
<Footer />
<Analytics title={title ?? import.meta.env.DEFAULT_TITLE} />
</body>
</html>