Add next-seo template
This commit is contained in:
parent
5743271503
commit
b17848fdfb
@ -2,10 +2,14 @@ import "../styles/globals.css";
|
|||||||
|
|
||||||
import { NextUIProvider } from "@nextui-org/react";
|
import { NextUIProvider } from "@nextui-org/react";
|
||||||
import { SessionProvider } from "next-auth/react";
|
import { SessionProvider } from "next-auth/react";
|
||||||
|
import { NextSeo } from "next-seo";
|
||||||
import Layout from "src/components/Layout";
|
import Layout from "src/components/Layout";
|
||||||
|
import { darkTheme } from "src/consts/themes";
|
||||||
|
|
||||||
function MyApp({ Component, pageProps: { session, ...pageProps } }) {
|
function MyApp({ Component, pageProps: { session, ...pageProps } }) {
|
||||||
return (
|
return (
|
||||||
|
<NextUIProvider theme={darkTheme}>
|
||||||
|
<NextSeo titleTemplate="%s | Imageify" />
|
||||||
<Layout>
|
<Layout>
|
||||||
<SessionProvider session={session}>
|
<SessionProvider session={session}>
|
||||||
<NextUIProvider>
|
<NextUIProvider>
|
||||||
@ -13,6 +17,7 @@ function MyApp({ Component, pageProps: { session, ...pageProps } }) {
|
|||||||
</NextUIProvider>
|
</NextUIProvider>
|
||||||
</SessionProvider>
|
</SessionProvider>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
</NextUIProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user