summaryrefslogtreecommitdiff
path: root/src/components/NavigationComponentLink.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/NavigationComponentLink.astro')
-rw-r--r--src/components/NavigationComponentLink.astro8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/NavigationComponentLink.astro b/src/components/NavigationComponentLink.astro
new file mode 100644
index 0000000..30fa456
--- /dev/null
+++ b/src/components/NavigationComponentLink.astro
@@ -0,0 +1,8 @@
+---
+const { href } = Astro.props;
+---
+
+<div class="text-pagodagreen group hover:text-pagodagreen-shine bg-black py-1 flex flex-row gap-2 justify-end transition-all ease-in-out hover:gap-4 duration-300 font-semibold first:rounded-tr-xl">
+ <a href={href}><slot /></a>
+ <span class="text-black group-hover:text-pagodapink-shine">▎</span>
+</div> \ No newline at end of file