-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
38 lines (34 loc) 路 1.08 KB
/
Copy pathlayout.tsx
File metadata and controls
38 lines (34 loc) 路 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import "@mantine/core/styles.css";
import "@mantine/carousel/styles.css";
import "@mantine/dates/styles.css";
import {
MantineProvider,
ColorSchemeScript,
mantineHtmlProps,
} from "@mantine/core";
import { theme } from "../theme";
import ReactQueryClientProvider from "@/providers/ReactQueryClientProvider";
export const metadata = {
title: "SPLT",
description: "Simplifying Bill Splitting",
};
const RootLayout = ({ children }: { children: React.ReactNode }) => {
return (
<html lang="en" {...mantineHtmlProps}>
<head suppressHydrationWarning>
<ColorSchemeScript defaultColorScheme="auto" suppressHydrationWarning />
<link rel="shortcut icon" href="/favicon.svg" />
<meta
name="viewport"
content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no"
/>
</head>
<body>
<MantineProvider theme={theme} defaultColorScheme="auto">
<ReactQueryClientProvider>{children}</ReactQueryClientProvider>
</MantineProvider>
</body>
</html>
);
};
export default RootLayout;