0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-23 04:30:11 +09:00
yude.jp/pages/_app.js

21 lines
447 B
JavaScript
Raw Normal View History

2021-08-14 10:16:53 +09:00
// Tailwind CSS
2021-05-21 18:36:19 +09:00
import 'tailwindcss/tailwind.css';
2021-05-23 16:01:37 +09:00
import "../styles/globals.css"
2021-05-21 18:36:19 +09:00
2021-08-14 10:16:53 +09:00
// Dark-mode related
import { ThemeProvider } from "next-themes";
// next-seo
import { DefaultSeo } from 'next-seo';
import SEO from '../next-seo.config';
2021-05-21 18:36:19 +09:00
function MyApp({ Component, pageProps }) {
return (
<ThemeProvider attribute="class">
2021-08-14 10:16:53 +09:00
<DefaultSeo {...SEO} />
2021-05-21 18:36:19 +09:00
<Component {...pageProps} />
</ThemeProvider>
);
}
export default MyApp;