mission-control/app/reset-password/layout.tsx

38 lines
940 B
TypeScript

import { Geist, Geist_Mono } from "next/font/google";
import "../globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export default function ResetPasswordLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" className="dark" style={{ colorScheme: 'dark' }} suppressHydrationWarning>
<head>
<script dangerouslySetInnerHTML={{
__html: `
(function() {
document.documentElement.classList.add('dark');
document.documentElement.style.colorScheme = 'dark';
})();
`
}} />
</head>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased dark bg-slate-950 text-slate-50`}
>
{children}
</body>
</html>
);
}