aboutsummaryrefslogtreecommitdiff
path: root/web/src/components/NavLink.astro
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-17 04:01:17 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-17 04:27:36 +0100
commit430ef35386e79386f84665f6bd8d54c31e45e018 (patch)
tree44d1471944b6b1954d028189598132ba7f3e53d6 /web/src/components/NavLink.astro
parenta1b2a399efd9ff1c8b3b0dfd71b59c7de28728ea (diff)
downloadFirmament-430ef35386e79386f84665f6bd8d54c31e45e018.tar.gz
Firmament-430ef35386e79386f84665f6bd8d54c31e45e018.tar.bz2
Firmament-430ef35386e79386f84665f6bd8d54c31e45e018.zip
feat(web): Move over some docs
Diffstat (limited to 'web/src/components/NavLink.astro')
-rw-r--r--web/src/components/NavLink.astro11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/src/components/NavLink.astro b/web/src/components/NavLink.astro
new file mode 100644
index 0000000..dce002b
--- /dev/null
+++ b/web/src/components/NavLink.astro
@@ -0,0 +1,11 @@
+---
+type Props = {
+ link: string
+};
+---
+
+<li class="px-0.5">
+ <a class="px-1 text-blue-500 hover:text-blue-400 transition ease-in-out duration-300" href={Astro.props.link}>
+ <slot></slot>
+ </a>
+</li>