"use client";

import { usePathname } from "next/navigation";
import TopBanner from "@/components/header/TopBanner";
import Navbar from "@/components/header/Navbar";

export default function NavigationWrapper() {
  const pathname = usePathname();

  const isAuthPage =
    pathname === "/accounts/login" || pathname === "/accounts/register";

  if (isAuthPage) return null;

  return (
    <>
      {/* <TopBanner /> */}
      <Navbar />
    </>
  );
}
