import Footer from '@/share/Footer'
import Header from '@/share/Header'
import { FC } from 'react'

interface LayoutProps {
    children: React.ReactNode
}

const Layout: FC<LayoutProps> = ({ children }) => {
    return (
        <div className="min-h-screen flex flex-col max-w-full overflow-x-hidden">
            <Header />
            <main className="flex-1">
                {children}
            </main>
            <Footer />
        </div>
    )
}

export default Layout
