Add theme and meta tags
This commit is contained in:
parent
1d51e32e3d
commit
a5990dc9ef
@ -1,6 +1,7 @@
|
|||||||
import "@mantine/core/styles.css";
|
import "@mantine/core/styles.css";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { MantineProvider, ColorSchemeScript } from "@mantine/core";
|
import { MantineProvider, ColorSchemeScript } from "@mantine/core";
|
||||||
|
import { theme } from "../theme";
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: "Mantine Next.js template",
|
title: "Mantine Next.js template",
|
||||||
@ -13,9 +14,13 @@ export default function RootLayout({ children }: { children: any }) {
|
|||||||
<head>
|
<head>
|
||||||
<ColorSchemeScript />
|
<ColorSchemeScript />
|
||||||
<link rel="shortcut icon" href="/favicon.svg" />
|
<link rel="shortcut icon" href="/favicon.svg" />
|
||||||
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no"
|
||||||
|
/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<MantineProvider>{children}</MantineProvider>
|
<MantineProvider theme={theme}>{children}</MantineProvider>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user