diff options
| author | Bobby <[email protected]> | 2025-05-12 18:59:23 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-05-12 18:59:23 +0530 |
| commit | 5dba2d8cedf46798fc197de4856409124a65ce4e (patch) | |
| tree | db78fc28529fea672e31d0de27524b64ab904ed5 /src/components/NavigationComponentLink.astro | |
| parent | c21c55fc1c5f262943f99fc4f0f343ed49d18f33 (diff) | |
| download | pagoda-5dba2d8cedf46798fc197de4856409124a65ce4e.tar.xz pagoda-5dba2d8cedf46798fc197de4856409124a65ce4e.zip | |
added sidebar and related components
Diffstat (limited to 'src/components/NavigationComponentLink.astro')
| -rw-r--r-- | src/components/NavigationComponentLink.astro | 8 |
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 |
