From 39dfa3a8fcd7d9a447625fba5290f45affea9b4a Mon Sep 17 00:00:00 2001 From: Jewgeni Lewash Date: Wed, 28 Feb 2024 07:53:11 +0100 Subject: [PATCH] feat(layout): add footer component --- src/components/layout/Footer.astro | 23 +++++++++++++++++++++++ src/layouts/BaseLayout.astro | 6 ++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 src/components/layout/Footer.astro diff --git a/src/components/layout/Footer.astro b/src/components/layout/Footer.astro new file mode 100644 index 0000000..8c4e2ba --- /dev/null +++ b/src/components/layout/Footer.astro @@ -0,0 +1,23 @@ +--- +import { Image } from 'astro:assets'; +import { Icon } from 'astro-icon/components'; + +import logoImage from '@/assets/images/logo.png'; +--- + +
+
+

+ © 2024 + Astro Deploy. All Rights Reserved. +

+ + +
+
+
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 77977fe..f8a9b15 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,6 +1,7 @@ --- import '@/styles/globals.css'; import Header from '@/components/layout/Header.astro'; +import Footer from '@/components/layout/Footer.astro'; const { title } = Astro.props; --- @@ -14,10 +15,11 @@ const { title } = Astro.props; {title} - +
-
+
+