summaryrefslogtreecommitdiff
path: root/components/layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout.tsx')
-rw-r--r--components/layout.tsx18
1 files changed, 17 insertions, 1 deletions
diff --git a/components/layout.tsx b/components/layout.tsx
index f137cb4b..bca00b89 100644
--- a/components/layout.tsx
+++ b/components/layout.tsx
@@ -1,6 +1,7 @@
import TopNav from '../components/topnav'
+import Footer from '../components/footer'
import { Container, Box } from '@chakra-ui/react'
-import ReactNode from 'react'
+import { DefaultSeo } from 'next-seo'
type Props = {
children?: any
@@ -9,12 +10,27 @@ type Props = {
export default function Layout({ children } : Props) {
return (
<>
+ <DefaultSeo
+ openGraph={{
+ type: 'website',
+ locale: 'en_US',
+ url: 'https://michal.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/>
+
</>
)
}