
import { Navbar } from "@/components/layout/navbar";
import { Footer } from "@/components/layout/footer";

export default function PublicLayout({
    children,
}: Readonly<{
    children: React.ReactNode;
}>) {
    return (
        <div className="flex flex-col min-h-screen">
            <div className="bg-yellow-400 text-yellow-900 text-center py-2 px-4 text-sm font-bold">
                ⚠️ SİTE YAPIM AŞAMASINDADIR
            </div>
            <Navbar />
            <main className="flex-1">{children}</main>
            <Footer />
        </div>
    );
}
