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 { SessionProvider } from "next-auth/react";
|
||||||
import { NextSeo } from "next-seo";
|
import { NextSeo } from "next-seo";
|
||||||
import Layout from "src/components/Layout";
|
import Layout from "src/components/Layout";
|
||||||
|
import { baseOpenGraph } from "src/consts/openGraphBase";
|
||||||
import { darkTheme } from "src/consts/themes";
|
import { darkTheme } from "src/consts/themes";
|
||||||
|
|
||||||
function MyApp({ Component, pageProps: { session, ...pageProps } }) {
|
function MyApp({ Component, pageProps: { session, ...pageProps } }) {
|
||||||
return (
|
return (
|
||||||
<NextUIProvider theme={darkTheme}>
|
<NextUIProvider theme={darkTheme}>
|
||||||
<NextSeo titleTemplate="%s | Imageify" />
|
<NextSeo
|
||||||
|
titleTemplate="%s | Imageify"
|
||||||
|
themeColor="#0063EB"
|
||||||
|
openGraph={baseOpenGraph}
|
||||||
|
/>
|
||||||
<Layout>
|
<Layout>
|
||||||
<SessionProvider session={session}>
|
<SessionProvider session={session}>
|
||||||
<NextUIProvider>
|
<NextUIProvider>
|
||||||
|
Reference in New Issue
Block a user