diff options
author | Linnea Gräf <nea@nea.moe> | 2024-11-17 04:01:17 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-11-17 04:01:50 +0100 |
commit | a1fe3d8e4e72761f814a8876035c5c80cf068391 (patch) | |
tree | 69dd2f51ae7271265deebe4f11f1f5e5cb78c5a2 /web/src/components/NavLink.astro | |
parent | 46e436ca043c7a969e3296b368cc4a14550e375c (diff) | |
download | Firmament-feat/web.tar.gz Firmament-feat/web.tar.bz2 Firmament-feat/web.zip |
feat(web): Move over some docsfeat/web
Diffstat (limited to 'web/src/components/NavLink.astro')
-rw-r--r-- | web/src/components/NavLink.astro | 11 |
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> |