initial commit: project completion with proper gitignore

This commit is contained in:
AyrisAI
2026-05-16 00:43:22 +03:00
commit e708ba2156
84 changed files with 11035 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
"use client";
import { usePathname } from "next/navigation";
import Navbar from "./Navbar";
export default function ClientLayout({ children }: { children: React.ReactNode }) {
const pathname = usePathname();
const isAdmin = pathname?.startsWith("/admin");
return (
<>
{!isAdmin && <Navbar />}
{children}
</>
);
}