diff --git a/app/routes/_layout/Header.tsx b/app/routes/_layout/Header.tsx index 6c9dbee..cbdc215 100644 --- a/app/routes/_layout/Header.tsx +++ b/app/routes/_layout/Header.tsx @@ -1,27 +1,27 @@ -import { Dialog } from "@headlessui/react"; +import { Dialog, DialogPanel } from "@headlessui/react"; import { Bars3Icon, XMarkIcon } from "@heroicons/react/24/outline"; -import { Link, NavLink } from "@remix-run/react"; +import { NavLink } from "@remix-run/react"; +import clsx from "clsx"; import { useState } from "react"; import { ThemeToggle } from "~/components/ThemeToggle"; -import { routeData, navigationData } from "~/utils/routeData"; +import { navigationData } from "~/utils/routeData"; const Header = () => { const [mobileMenuOpen, setMobileMenuOpen] = useState(false); + const navClasses = + "text-sm font-semibold leading-6 text-foreground rounded-lg px-3 py-2 hover:bg-accent"; + return (
{ onClose={setMobileMenuOpen} >
- +
- - {routeData.home.title} -
{navigationData.map((item) => ( {item.name} ))} +
-
+
);