chore: setup project for production

This commit is contained in:
afnaann
2025-02-19 17:00:55 +05:30
commit 12caeee710
271 changed files with 16199 additions and 0 deletions

21
app/NavigationWrapper.jsx Normal file
View File

@@ -0,0 +1,21 @@
"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 />
</>
);
}