import AppBar from '../elements/Appbar/Appbar'
import BasicFooter from '../elements/Footer/BasicFooter'
import AnimationLayout from './AnimationLayout'

const AppLayout = ({ children, title }) => {
  return (
    <>
      <AnimationLayout>
        <AppBar title={title} />
        {children}
        <BasicFooter />
      </AnimationLayout>
    </>
  )
}

export default AppLayout
