Skip to content

Commit 5b43ba6

Browse files
refactor(common): update header links
1 parent 5ee0cd0 commit 5b43ba6

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/components/common/Navbar.astro

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { FaBars, FaGithub, FaMoon } from "react-icons/fa"
2+
import { FaBars, FaGithub } from "react-icons/fa"
33
---
44

55
<nav class="w-full fixed backdrop-blur-xl after:pointer-events-none after:absolute after:inset-x-0 after:bottom-0 after:h-px after:bg-white/10">
@@ -25,12 +25,14 @@ import { FaBars, FaGithub, FaMoon } from "react-icons/fa"
2525
</div>
2626
</div>
2727
</div>
28-
<div class="absolute inset-y-0 right-0 flex gap-2 items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">
29-
<button type="button" class="relative rounded-full p-1 text-white cursor-pointer hover:text-white text-2xl">
30-
<span class="absolute -inset-1.5"></span>
31-
<span class="sr-only">Github</span>
32-
<FaGithub />
33-
</button>
28+
<ul class="list-none absolute inset-y-0 right-0 flex gap-2 items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">
29+
<li>
30+
<a href="https://github.com/NitroVim/NitroVim" target="_blank" class="relative text-white cursor-pointer hover:text-white text-2xl">
31+
<span class="absolute -inset-1.5"></span>
32+
<span class="sr-only">Github</span>
33+
<FaGithub />
34+
</a>
35+
</li>
3436
</div>
3537
</div>
3638
</div>

0 commit comments

Comments
 (0)