summaryrefslogtreecommitdiff
path: root/src/components/RightNavigationComponentLink.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/RightNavigationComponentLink.astro')
-rw-r--r--src/components/RightNavigationComponentLink.astro7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/RightNavigationComponentLink.astro b/src/components/RightNavigationComponentLink.astro
new file mode 100644
index 0000000..cda2cb7
--- /dev/null
+++ b/src/components/RightNavigationComponentLink.astro
@@ -0,0 +1,7 @@
+---
+const { href } = Astro.props;
+---
+<div class="text-pagodagreen group hover:text-pagodapurple-shine bg-black p-1 flex flex-row gap-2 justify-start transition-all ease-in-out hover:gap-4 duration-300 font-semibold first:rounded-tl-xl">
+ <span class="text-black group-hover:text-pagodapurple-shine">▎</span>
+ <a href={href}><slot /></a>
+</div>