Add base opengraph layout
This commit is contained in:
parent
911c4ec7e6
commit
4ccba7323d
3
src/consts/openGraphBase.js
Normal file
3
src/consts/openGraphBase.js
Normal file
@ -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>
|
||||
|
Reference in New Issue
Block a user