footer
This commit is contained in:
parent
ad861ba802
commit
d925be8891
2 changed files with 11 additions and 0 deletions
9
src/components/footer.astro
Normal file
9
src/components/footer.astro
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
const year = new Date().getFullYear();
|
||||||
|
---
|
||||||
|
|
||||||
|
<footer class="bg-black">
|
||||||
|
<div class="container mx-auto px-4 py-8 mt-8">
|
||||||
|
<p>© 2015 - {year} Philippe Loctaux</p>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
import Footer from "../components/footer.astro";
|
||||||
import Hero from "../components/hero.astro";
|
import Hero from "../components/hero.astro";
|
||||||
import Whoami from "../components/whoami.astro";
|
import Whoami from "../components/whoami.astro";
|
||||||
---
|
---
|
||||||
|
|
@ -15,5 +16,6 @@ import Whoami from "../components/whoami.astro";
|
||||||
<main class="container mx-auto px-4 py-16">
|
<main class="container mx-auto px-4 py-16">
|
||||||
<Whoami />
|
<Whoami />
|
||||||
</main>
|
</main>
|
||||||
|
<Footer />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue