import React from 'react'
import HomeBread from '../common/HomeBread'
import Footer from '../common/Footer'
import FlashMessage from '../components/FlashMessage';
import { Head } from '@inertiajs/inertia-react'

const HomeLayout = ({children, title, bgImage, bgHeight, bgCover, bgColor}) => {
  return (
    <div style={{ background: '#09141D' }} >
    <Head title={title} />
    <HomeBread page={title} />
    <FlashMessage />
    {children}
    <Footer />
    </div>
  )
}

export default HomeLayout