Skip to content

Commit ff29c7e

Browse files
refactor(common): update background of Navbar component & removed buttons
1 parent 4ca512a commit ff29c7e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/components/common/Navbar.astro

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

5-
<nav class="w-full fixed bg-black after:pointer-events-none after:absolute after:inset-x-0 after:bottom-0 after:h-px after:bg-white/10">
5+
<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">
66
<div class="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8">
77
<div class="relative flex h-16 items-center justify-between">
88
<div class="absolute inset-y-0 left-0 flex items-center sm:hidden">
@@ -26,16 +26,11 @@ import { FaBars, FaGithub, FaHome, FaMoon } from "react-icons/fa"
2626
</div>
2727
</div>
2828
<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-gray-400 hover:text-white focus:outline-2 focus:outline-offset-2 focus:outline-indigo-500 text-2xl">
29+
<button type="button" class="relative rounded-full p-1 text-white cursor-pointer hover:text-white text-2xl">
3030
<span class="absolute -inset-1.5"></span>
3131
<span class="sr-only">Github</span>
3232
<FaGithub />
3333
</button>
34-
<button type="button" class="relative rounded-full p-1 text-gray-400 hover:text-white focus:outline-2 focus:outline-offset-2 focus:outline-indigo-500 text-2xl">
35-
<span class="absolute -inset-1.5"></span>
36-
<span class="sr-only">Github</span>
37-
<FaMoon />
38-
</button>
3934
</div>
4035
</div>
4136
</div>

0 commit comments

Comments
 (0)