diff options
Diffstat (limited to 'components/layout.tsx')
-rw-r--r-- | components/layout.tsx | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/components/layout.tsx b/components/layout.tsx deleted file mode 100644 index 7dab384..0000000 --- a/components/layout.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import TopNav from '../components/topnav' -import Footer from '../components/footer' -import { Container, Box } from '@chakra-ui/react' -import { DefaultSeo } from 'next-seo' - -type Props = { - children?: any -} - -export default function Layout({ children } : Props) { - return ( - <> - <DefaultSeo - openGraph={{ - type: 'website', - locale: 'en_US', - url: 'https://www.sapka.me/', - site_name: 'MichaĆ Sapka' - }} - twitter={{ - handle: '@handle', - site: '@site', - cardType: 'summary_large_image', - }} - /> - <TopNav/> - <Container maxW="lg"> - <Box as="main" pt="20"> - {children} - </Box> - </Container> - <Footer/> - - </> - ) -} |