fix(public): make all around improvements

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-11-14 10:39:05 +01:00
parent 4e8afb4eea
commit ab4efcfd77
13 changed files with 6185 additions and 135 deletions

View File

@@ -12,7 +12,6 @@ import { Logo } from './logo';
import { Button } from './ui/button';
const Navbar = () => {
const pathname = usePathname();
const [isScrolled, setIsScrolled] = useState(false);
const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);
const navbarRef = useRef<HTMLDivElement>(null);
@@ -36,10 +35,6 @@ const Navbar = () => {
return () => window.removeEventListener('click', handleClick);
}, [isMobileMenuOpen]);
if (pathname.startsWith('/docs')) {
return null;
}
return (
<nav className="fixed top-4 z-50 w-full" ref={navbarRef}>
<div className="container">