Add comments, Load default SEO config

This commit is contained in:
yude 2021-08-14 10:16:53 +09:00
parent fafd1f4533
commit 94c966d58c
Signed by: yude
GPG Key ID: EB0FE5D925C4A968
1 changed files with 9 additions and 1 deletions

View File

@ -1,10 +1,18 @@
// Tailwind CSS
import 'tailwindcss/tailwind.css';
import { ThemeProvider } from "next-themes";
import "../styles/globals.css"
// Dark-mode related
import { ThemeProvider } from "next-themes";
// next-seo
import { DefaultSeo } from 'next-seo';
import SEO from '../next-seo.config';
function MyApp({ Component, pageProps }) {
return (
<ThemeProvider attribute="class">
<DefaultSeo {...SEO} />
<Component {...pageProps} />
</ThemeProvider>
);