mirror of
https://github.com/KevinMidboe/k9e.no.git
synced 2026-01-07 09:45:53 +00:00
Footer component
This commit is contained in:
24
src/lib/footer.svelte
Normal file
24
src/lib/footer.svelte
Normal file
@@ -0,0 +1,24 @@
|
||||
<script>
|
||||
const year = new Date().getFullYear();
|
||||
</script>
|
||||
|
||||
<footer>
|
||||
Copyright © {year} - Kevin Midbøe ፨
|
||||
<a href="https://github.com/kevinmidboe/k9e.no">View sourcecode</a>
|
||||
</footer>
|
||||
|
||||
<style lang="scss">
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
padding: 0.35rem 0;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
footer {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user