0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 20:20:09 +09:00

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

View File

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