Skip to content

Commit

Permalink
add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
narthur committed Apr 2, 2024
1 parent e26714a commit 1342d87
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div class="footer">
Built with ❤️ by <a href="https://pinepeakdigital.com">Pine Peak Digital</a>.
</div>

<style>
.footer {
background-color: var(--black);
color: white;
padding: var(--gap);
font-size: 0.75em;
text-align: center;
}

a {
color: var(--secondary);
}
</style>
3 changes: 3 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
import Sidebar from "../components/Sidebar.astro";
import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";
import sourcesanspro700 from "@fontsource/source-sans-pro/files/source-sans-pro-latin-700-normal.woff2";
import sourcesanspro900 from "@fontsource/source-sans-pro/files/source-sans-pro-latin-900-normal.woff2";
Expand Down Expand Up @@ -102,6 +103,8 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
<div><Sidebar /></div>
</div>

<Footer />

<style>
.cap {
max-width: var(--content-width);
Expand Down

0 comments on commit 1342d87

Please sign in to comment.