From 4ccba7323d47bdb0154e7060f560fae1d980b055 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 17 Nov 2022 07:16:29 +0000 Subject: [PATCH] Add base opengraph layout --- src/consts/openGraphBase.js | 3 +++ src/pages/_app.js | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/consts/openGraphBase.js diff --git a/src/consts/openGraphBase.js b/src/consts/openGraphBase.js new file mode 100644 index 0000000..54d7636 --- /dev/null +++ b/src/consts/openGraphBase.js @@ -0,0 +1,3 @@ +export const baseOpenGraph = { + siteName: "Imageify", +}; diff --git a/src/pages/_app.js b/src/pages/_app.js index 061a2ce..99027b2 100644 --- a/src/pages/_app.js +++ b/src/pages/_app.js @@ -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 ( - +