feat: add footer component

This commit is contained in:
Ruidy 2024-12-31 09:14:32 +01:00
parent a1bd208290
commit 0c86d20738
No known key found for this signature in database
GPG key ID: E00F51288CB857CC
4 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,8 @@
---
const platform = "GitHub"
const username = "rjNemo"
const url = `https://ruidy.nemausat.com`
---
<footer>
<p>© 2023 Ruidy Learn more about my projects on <a href={`https://github.com/${username}`}>{platform}</a> and my <a href={url}>website</a>.</p>
</footer>

View file

@ -1,6 +1,7 @@
---
import "../styles/global.css"
import Navigation from "../components/Navigation.astro"
import Footer from "../components/Footer.astro"
const pageTitle = "About Me"
@ -76,5 +77,7 @@ const skillColor = "navy"
{finished && <p>I finished this tutorial!</p>}
{goal === 3 ? <p>My goal is to finish in 3 days.</p> : <p>My goal is not 3 days.</p>}
<Footer/>
</body>
</html>

View file

@ -1,6 +1,7 @@
---
import "../styles/global.css"
import Navigation from "../components/Navigation.astro"
import Footer from "../components/Footer.astro"
const pageTitle = "Blog posts"
@ -25,5 +26,6 @@ const pageTitle = "Blog posts"
<li><a href="/posts/post-2">My second blog post</a></li>
<li><a href="/posts/post-3">My third blog post</a></li>
</ul>
<Footer/>
</body>
</html>

View file

@ -1,6 +1,7 @@
---
import "../styles/global.css"
import Navigation from "../components/Navigation.astro"
import Footer from "../components/Footer.astro"
const pageTitle = "Orbital Orbit"
---
@ -17,5 +18,6 @@ const pageTitle = "Orbital Orbit"
<Navigation />
<h1>{pageTitle}</h1>
<Footer/>
</body>
</html>