text: import '@react-pdf-viewer/core/lib/styles/index.css';
  import '@react-pdf-viewer/default-layout/lib/styles/index.css';
  
  import Layout from '../components/layouts/main'
  import Fonts from '../components/fonts'
  import { AnimatePresence } from 'framer-motion'
  import Chakra from '../components/chakra'
  
  function Website({ Component, pageProps, router }) {
    return (
      <Chakra cookies={pageProps.cookies}>
        <Fonts />
        <Layout router={router}>
          <AnimatePresence exitBeforeEnter initial={true}>
            <Component {...pageProps} key={router.route} />
          </AnimatePresence>
        </Layout>
      </Chakra>
    )
  }
  
  export default Website
  