summaryrefslogtreecommitdiff
path: root/src/components/RightNavigationComponentLink.astro
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-05-12 18:59:23 +0530
committerBobby <[email protected]>2025-05-12 18:59:23 +0530
commit5dba2d8cedf46798fc197de4856409124a65ce4e (patch)
treedb78fc28529fea672e31d0de27524b64ab904ed5 /src/components/RightNavigationComponentLink.astro
parentc21c55fc1c5f262943f99fc4f0f343ed49d18f33 (diff)
downloadpagoda-5dba2d8cedf46798fc197de4856409124a65ce4e.tar.xz
pagoda-5dba2d8cedf46798fc197de4856409124a65ce4e.zip
added sidebar and related components
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>