Files
jkhsakha-web/src/components/Layout/MainLayout.tsx
2026-02-11 22:30:04 +09:00

21 lines
468 B
TypeScript

import { ReactNode } from 'react'
import Footer from '../Footer/Footer';
import Header from '../Blocks/Header/Header';
interface LayoutProps {
children: ReactNode;
}
export default function MainLayout({ children }: LayoutProps) {
return (
<div className="min-h-screen flex flex-col">
<Header />
<main className="flex-1 px-6 py-4">
{children}
</main>
<Footer />
</div>
);
}