Kakious
994a94f9e3
Some checks failed
/ build (push) Failing after 10s
fix: attempt to build using local docker file
35 lines
749 B
TypeScript
35 lines
749 B
TypeScript
import type { Metadata } from 'next';
|
|
import './globals.css';
|
|
import '@mantine/core/styles.css';
|
|
import {
|
|
createTheme,
|
|
ColorSchemeScript,
|
|
MantineProvider,
|
|
// localStorageColorSchemeManager,
|
|
} from '@mantine/core';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Create Next App',
|
|
description: 'Generated by create next app',
|
|
};
|
|
|
|
const theme = createTheme({});
|
|
|
|
export default async function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<ColorSchemeScript defaultColorScheme="dark" />
|
|
</head>
|
|
<body>
|
|
<MantineProvider theme={theme} defaultColorScheme="dark">
|
|
{children}
|
|
</MantineProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|