Files
parakasa/app/(public)/layout.tsx

21 lines
572 B
TypeScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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>
);
}