Files
sistem-desa-mandiri/src/app/layout.tsx
2024-07-04 16:43:26 +08:00

47 lines
1.1 KiB
TypeScript

import "@mantine/core/styles.css";
import {
Box,
ColorSchemeScript,
Container,
MantineProvider,
rem,
} from "@mantine/core";
import { WARNA } from "@/module/_global";
import { Lato } from "next/font/google";
import '@mantine/carousel/styles.css';
export const metadata = {
title: "SISTEM DESA MANDIRI",
description: "I have followed setup instructions carefully",
};
const LatoFont = Lato({
subsets: ["latin"],
weight: ["300", "400", "700", "900"],
});
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<head>
<ColorSchemeScript />
</head>
<body className={`${LatoFont.className}`} suppressHydrationWarning>
<MantineProvider>
<Box bg={'#252A2F'} pos={"fixed"} w={"100%"} h={"100%"} style={{
overflowY: "auto"
}}>
<Container mih={'100vh'} p={0} size={rem(550)} bg={WARNA.bgWhite}>
{children}
</Container>
</Box>
</MantineProvider>
</body>
</html>
);
}