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>
    );
}