Add base opengraph layout

This commit is contained in:
Lee 2022-11-17 07:16:29 +00:00
parent 911c4ec7e6
commit 4ccba7323d
No known key found for this signature in database
GPG Key ID: 6EA25896ECCB3121
2 changed files with 9 additions and 1 deletions

@ -0,0 +1,3 @@
export const baseOpenGraph = {
siteName: "Imageify",
};

@ -4,12 +4,17 @@ import { NextUIProvider } from "@nextui-org/react";
import { SessionProvider } from "next-auth/react";
import { NextSeo } from "next-seo";
import Layout from "src/components/Layout";
import { baseOpenGraph } from "src/consts/openGraphBase";
import { darkTheme } from "src/consts/themes";
function MyApp({ Component, pageProps: { session, ...pageProps } }) {
return (
<NextUIProvider theme={darkTheme}>
<NextSeo titleTemplate="%s | Imageify" />
<NextSeo
titleTemplate="%s | Imageify"
themeColor="#0063EB"
openGraph={baseOpenGraph}
/>
<Layout>
<SessionProvider session={session}>
<NextUIProvider>