From 7581e233666c1b93173cfc9270ed68f09e77fe40 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Tue, 6 Sep 2022 15:21:28 +0300 Subject: [PATCH] use next-seo on index page --- pages/index.tsx | 56 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 18 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 521a293f..5d853c61 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,6 +1,6 @@ import Head from "next/head" import { App } from "src/components/App" -import { Meta } from "src/components/Meta" +import { NextSeo } from "next-seo" import { PageGrid } from "src/components/PageGrid" import { HudozkaTitle } from "src/components/HudozkaTitle" import { MetaBuilder } from "src/lib/meta" @@ -17,26 +17,46 @@ type Props = { } const Index: NextPage = props => ( - - - {props.title} - - - - + + + {props.title} + + + - - + + + ) export const getStaticProps: GetStaticProps = async () => {