Site için geliştirmeler yapıldı.
This commit is contained in:
20
app/(public)/layout.tsx
Normal file
20
app/(public)/layout.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user