Add theme and meta tags
This commit is contained in:
parent
1d51e32e3d
commit
a5990dc9ef
@ -1,6 +1,7 @@
|
||||
import "@mantine/core/styles.css";
|
||||
import React from "react";
|
||||
import { MantineProvider, ColorSchemeScript } from "@mantine/core";
|
||||
import { theme } from "../theme";
|
||||
|
||||
export const metadata = {
|
||||
title: "Mantine Next.js template",
|
||||
@ -13,9 +14,13 @@ export default function RootLayout({ children }: { children: any }) {
|
||||
<head>
|
||||
<ColorSchemeScript />
|
||||
<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>{children}</MantineProvider>
|
||||
<MantineProvider theme={theme}>{children}</MantineProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user