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:27:36 +0100 |
commit | 430ef35386e79386f84665f6bd8d54c31e45e018 (patch) | |
tree | 44d1471944b6b1954d028189598132ba7f3e53d6 /web/src/components/NavLink.astro | |
parent | a1b2a399efd9ff1c8b3b0dfd71b59c7de28728ea (diff) | |
download | Firmament-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.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> |