From d4a6772ec51ef955fc6cacd3ad6830c0d87657b1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 13 Sep 2024 00:06:02 +0000 Subject: Refactor Footer component and add Analytics and Footer components to BaseLayout --- src/components/Footer.astro | 49 ++++++++++++++++++++++++++++++++++++++++++++ src/layouts/BaseLayout.astro | 2 ++ src/scss/_framework.scss | 1 + 3 files changed, 52 insertions(+) create mode 100644 src/components/Footer.astro (limited to 'src') diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..1219a35 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,49 @@ +--- +import dayjs from "dayjs"; +--- + + + + diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 8456916..a76861a 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -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;
+