Refactoring sidebar and adding footer
This commit is contained in:
29
web/src/components/footer.astro
Normal file
29
web/src/components/footer.astro
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
const links = [
|
||||
{
|
||||
text: "src",
|
||||
href: "https://github.com/breadone/breadone.net"
|
||||
},
|
||||
{
|
||||
text: "bsky",
|
||||
href: "https://bsky.app/profile/breadone.xyz"
|
||||
},
|
||||
{
|
||||
text: "email",
|
||||
href: "mailto:contact@breadone.net"
|
||||
},
|
||||
]
|
||||
---
|
||||
|
||||
<footer class="text-xl mt-auto">
|
||||
{
|
||||
links.map(l => (
|
||||
<a
|
||||
class="ps-2"
|
||||
href={l.href}
|
||||
>
|
||||
{l.text}
|
||||
</a>
|
||||
))
|
||||
}
|
||||
</footer>
|
||||
Reference in New Issue
Block a user