import Bottom from '@/components/Bottom'
import Banner from '@/components/Banner'
import { Header } from '@/components/Header'
import Footer2 from './Footer2'
import Footer from '@/components/Footer'

export function Layout({ children, showFooter = true }) {
  return (
    <>
      <Header />
      <Banner />
      <main className="flex-auto">{children}</main>
      <Bottom />
      {showFooter && <Footer2 />}
    </>
  )
}
