From b0c64492e566d04570acdbae09fd7725c453ba0d Mon Sep 17 00:00:00 2001 From: EGAMAGZ <46827955+EGAMAGZ@users.noreply.github.com> Date: Fri, 28 Mar 2025 19:45:16 -0600 Subject: [PATCH 1/2] feat: Added footer with social medias --- src/components/Footer.astro | 35 +++++++++++++++++++ src/components/icons/IconFacebookBrand.astro | 20 +++++++++++ src/components/icons/IconGithubBrand.astro | 21 +++++++++++ src/components/icons/IconInstagramBrand.astro | 23 ++++++++++++ src/components/icons/IconXBrand.astro | 21 +++++++++++ src/layouts/Layout.astro | 2 ++ 6 files changed, 122 insertions(+) create mode 100644 src/components/Footer.astro create mode 100644 src/components/icons/IconFacebookBrand.astro create mode 100644 src/components/icons/IconGithubBrand.astro create mode 100644 src/components/icons/IconInstagramBrand.astro create mode 100644 src/components/icons/IconXBrand.astro diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..08fe018 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,35 @@ +--- +import IconFacebookBrand from "./icons/IconFacebookBrand.astro"; +import IconInstagramBrand from "./icons/IconInstagramBrand.astro"; +import IconGithubBrand from "./icons/IconGithubBrand.astro"; +import IconXBrand from "./icons/IconXBrand.astro"; +--- + + diff --git a/src/components/icons/IconFacebookBrand.astro b/src/components/icons/IconFacebookBrand.astro new file mode 100644 index 0000000..5eb8ad8 --- /dev/null +++ b/src/components/icons/IconFacebookBrand.astro @@ -0,0 +1,20 @@ +--- +interface Props { + class?: string; +} + +const { class: className } = Astro.props; +--- + diff --git a/src/components/icons/IconGithubBrand.astro b/src/components/icons/IconGithubBrand.astro new file mode 100644 index 0000000..5373db5 --- /dev/null +++ b/src/components/icons/IconGithubBrand.astro @@ -0,0 +1,21 @@ +--- + +interface Props { + class?: string; +} + +const { class: className } = Astro.props; +--- + diff --git a/src/components/icons/IconInstagramBrand.astro b/src/components/icons/IconInstagramBrand.astro new file mode 100644 index 0000000..aa9cf92 --- /dev/null +++ b/src/components/icons/IconInstagramBrand.astro @@ -0,0 +1,23 @@ +--- + +interface Props { + class?: string; +} + +const { class: className } = Astro.props; +--- + + diff --git a/src/components/icons/IconXBrand.astro b/src/components/icons/IconXBrand.astro new file mode 100644 index 0000000..350eced --- /dev/null +++ b/src/components/icons/IconXBrand.astro @@ -0,0 +1,21 @@ +--- + +interface Props { + class?: string; +} + +const { class: className } = Astro.props; +--- + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ea9eaef..e014219 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,4 +1,5 @@ --- +import Footer from "../components/Footer.astro"; import "../styles/global.css"; interface Props { @@ -19,6 +20,7 @@ const { title } = Astro.props;
+