diff --git a/web/src/components/footer.astro b/web/src/components/footer.astro index 717b916..2bae1e9 100644 --- a/web/src/components/footer.astro +++ b/web/src/components/footer.astro @@ -1,29 +1,27 @@ --- const links = [ { - text: "src", - href: "https://github.com/breadone/breadone.net" + txt: "src", + lnk: "https://github.com/breadone/breadone.net" }, { - text: "bsky", - href: "https://bsky.app/profile/breadone.xyz" + txt: "bsky", + lnk: "https://bsky.app/profile/breadone.xyz" }, { - text: "email", - href: "mailto:contact@breadone.net" + txt: "email", + lnk: "mailto:contact@breadone.net" }, ] --- \ No newline at end of file diff --git a/web/src/components/index/navbar.astro b/web/src/components/index/navbar.astro index 7a8cd4b..a65c565 100644 --- a/web/src/components/index/navbar.astro +++ b/web/src/components/index/navbar.astro @@ -17,19 +17,11 @@ const links = [
{ - links.map(l => ( - {l.txt} - )).join() + links.map((l, i) => ( + <> + {l.txt} + {i < links.length - 1 && } + + )) } - - -
\ No newline at end of file