New Layout
This commit is contained in:
15
geradoresfe/src/layout/Layout.tsx
Normal file
15
geradoresfe/src/layout/Layout.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
// components/layout/Layout.tsx
|
||||
import Footer from './Footer';
|
||||
import Header from './Header';
|
||||
|
||||
export const Layout = ({ children }: { children: React.ReactNode }) => {
|
||||
return (
|
||||
<div className="flex flex-col min-h-screen bg-white dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100">
|
||||
<Header />
|
||||
<main className="flex-grow">
|
||||
{children}
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user