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

const HomePage = ({title, children}) => {
  return (
    <div style={{ background: '#09141D' }} >
    <Head title={title} />
    <FlashMessage />
    <Hero />
    {children}
    <Footer />
    </div>
  )
}

export default HomePage