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:
parent
fafd1f4533
commit
94c966d58c
@ -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>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user