mirror of
https://github.com/rjNemo/orbital-orbit
synced 2026-06-06 06:56:40 +00:00
feat: add footer component
This commit is contained in:
parent
a1bd208290
commit
0c86d20738
4 changed files with 15 additions and 0 deletions
8
src/components/Footer.astro
Normal file
8
src/components/Footer.astro
Normal 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>
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import "../styles/global.css"
|
import "../styles/global.css"
|
||||||
import Navigation from "../components/Navigation.astro"
|
import Navigation from "../components/Navigation.astro"
|
||||||
|
import Footer from "../components/Footer.astro"
|
||||||
|
|
||||||
const pageTitle = "About Me"
|
const pageTitle = "About Me"
|
||||||
|
|
||||||
|
|
@ -76,5 +77,7 @@ const skillColor = "navy"
|
||||||
{finished && <p>I finished this tutorial!</p>}
|
{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>}
|
{goal === 3 ? <p>My goal is to finish in 3 days.</p> : <p>My goal is not 3 days.</p>}
|
||||||
|
|
||||||
|
<Footer/>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import "../styles/global.css"
|
import "../styles/global.css"
|
||||||
import Navigation from "../components/Navigation.astro"
|
import Navigation from "../components/Navigation.astro"
|
||||||
|
import Footer from "../components/Footer.astro"
|
||||||
|
|
||||||
const pageTitle = "Blog posts"
|
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-2">My second blog post</a></li>
|
||||||
<li><a href="/posts/post-3">My third blog post</a></li>
|
<li><a href="/posts/post-3">My third blog post</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<Footer/>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import "../styles/global.css"
|
import "../styles/global.css"
|
||||||
import Navigation from "../components/Navigation.astro"
|
import Navigation from "../components/Navigation.astro"
|
||||||
|
import Footer from "../components/Footer.astro"
|
||||||
|
|
||||||
const pageTitle = "Orbital Orbit"
|
const pageTitle = "Orbital Orbit"
|
||||||
---
|
---
|
||||||
|
|
@ -17,5 +18,6 @@ const pageTitle = "Orbital Orbit"
|
||||||
<Navigation />
|
<Navigation />
|
||||||
|
|
||||||
<h1>{pageTitle}</h1>
|
<h1>{pageTitle}</h1>
|
||||||
|
<Footer/>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue