23 lines
565 B
TypeScript
23 lines
565 B
TypeScript
|
import "@mantine/core/styles.css";
|
||
|
import React from "react";
|
||
|
import { MantineProvider, ColorSchemeScript } from "@mantine/core";
|
||
|
|
||
|
export const metadata = {
|
||
|
title: "Mantine Next.js template",
|
||
|
description: "I am using Mantine with Next.js!",
|
||
|
};
|
||
|
|
||
|
export default function RootLayout({ children }: { children: any }) {
|
||
|
return (
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<ColorSchemeScript />
|
||
|
<link rel="shortcut icon" href="/favicon.svg" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<MantineProvider>{children}</MantineProvider>
|
||
|
</body>
|
||
|
</html>
|
||
|
);
|
||
|
}
|