17 lines
529 B
TypeScript
17 lines
529 B
TypeScript
|
|
import "@/styles/globals.css";
|
||
|
|
import { Analytics } from "@vercel/analytics/react";
|
||
|
|
import { SpeedInsights } from "@vercel/speed-insights/next";
|
||
|
|
import "katex/dist/katex.min.css";
|
||
|
|
import { ThemeProvider } from "next-themes";
|
||
|
|
import type { AppProps } from "next/app";
|
||
|
|
|
||
|
|
export default function App({ Component, pageProps }: AppProps) {
|
||
|
|
return (
|
||
|
|
<ThemeProvider attribute="class" enableColorScheme enableSystem={false}>
|
||
|
|
<Analytics />
|
||
|
|
<SpeedInsights />
|
||
|
|
<Component {...pageProps} />
|
||
|
|
</ThemeProvider>
|
||
|
|
);
|
||
|
|
}
|