We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78969eb commit 2c0dd12Copy full SHA for 2c0dd12
www/src/pages/components/NavBar.tsx
@@ -25,11 +25,11 @@ useEffect(() => {
25
};
26
}, []);
27
28
-function NavBarSytling() {
+function NavBarSytle() {
29
return scrollPosition === 0 ? "sticky top-0 bg-gray-50 w-screen z-20 border-b" : "sticky top-0 bg-gray-50 w-screen z-20 shadow-xl";
30
}
31
return (
32
- <Disclosure as="nav" className="bg-[#333333] fixed z-10 w-screen drop-shadow-20px">
+ <Disclosure as="nav" className={NavBarSytle}>
33
{({ open }) => (
34
<>
35
<div className="mx-auto max-w9xl px-4 sm:px-6 lg:px-8">
0 commit comments