51 lines
1.3 KiB
TypeScript
51 lines
1.3 KiB
TypeScript
import "@mantine/core/styles.css";
|
|
import React, { ReactNode } from "react";
|
|
import {
|
|
ColorSchemeScript,
|
|
mantineHtmlProps,
|
|
MantineProvider,
|
|
} from "@mantine/core";
|
|
import Header from "@/components/Header/Header";
|
|
import { theme } from "@/theme";
|
|
import "@/app/global.css";
|
|
|
|
export const metadata = {
|
|
title: "LogiDex ID",
|
|
description: "LogiDex ID",
|
|
};
|
|
|
|
type Props = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
export default function RootLayout({ children }: Props) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
{...mantineHtmlProps}>
|
|
<head>
|
|
<ColorSchemeScript />
|
|
<link
|
|
rel="shortcut icon"
|
|
href="/favicon.svg"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="global.css"
|
|
/>
|
|
<meta
|
|
name="viewport"
|
|
content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no"
|
|
/>
|
|
<title />
|
|
</head>
|
|
<body>
|
|
<MantineProvider theme={theme}>
|
|
<Header />
|
|
{children}
|
|
</MantineProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|