point-of-sales/pos-frontend/app/layout.tsx

47 lines
932 B
TypeScript

// import { fonts } from './fonts'
// import { Inter } from 'next/font/google'
// import 'bootstrap/dist/css/bootstrap.min.css'
// const inter = Inter({ subsets: ['latin'] })
// export default function RootLayout({
// children,
// }: {
// children: React.ReactNode,
// }) {
// return (
// <html lang='en' className={fonts.rubik.variable}>
// <body>
// {children}
// </body>
// </html>
// )
// }
import '@mantine/core/styles.css'
import { ColorSchemeScript, MantineProvider } from '@mantine/core'
export const metadata = {
title: 'My Mantine app',
description: 'I have followed setup instructions carefully',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<head>
<ColorSchemeScript />
</head>
<body>
<MantineProvider>{children}</MantineProvider>
</body>
</html>
)
}