mirror of
https://github.com/yude-jp/yude.jp
synced 2024-11-05 09:58:00 +09:00
21 lines
447 B
JavaScript
21 lines
447 B
JavaScript
// Tailwind CSS
|
|
import 'tailwindcss/tailwind.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 }) {
|
|
return (
|
|
<ThemeProvider attribute="class">
|
|
<DefaultSeo {...SEO} />
|
|
<Component {...pageProps} />
|
|
</ThemeProvider>
|
|
);
|
|
}
|
|
|
|
export default MyApp; |