fix: [BUG] In Dark Mode Navbar is not Properly Visible #1463 (#1467)

Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
This commit is contained in:
Sandy-1711
2023-10-27 14:12:28 +05:30
committed by GitHub
parent 5f71b91704
commit fcfea44d7f

View File

@@ -116,7 +116,7 @@ export default function Header() {
}, []);
const stickyNavClass = stickyNav
? `bg-transparent shadow-md backdrop-blur-lg fixed top-0 z-30 w-full`
? `bg-transparent dark:bg-slate-900/[0.8] shadow-md backdrop-blur-lg fixed top-0 z-30 w-full`
: "relative";
return (
<Popover className={`${stickyNavClass}`} as="header">