| 1234567891011121314151617181920 |
- import { Html, Head, Main, NextScript } from "next/document";
- export default function Document() {
- return (
- <Html>
- <Head>
- <script dangerouslySetInnerHTML={{ __html: 'try{if(localStorage.theme==="dark"||(!("theme" in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches)){document.documentElement.classList.add("dark");}else{document.documentElement.classList.remove("dark");}}catch(_){}'}}></script>
- <link
- rel="stylesheet"
- href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap"
- data-ignore="true"
- />
- </Head>
- <body>
- <Main />
- <NextScript />
- </body>
- </Html>
- );
- }
|