material-you-react/app/layout.tsx

28 lines
558 B
TypeScript
Raw Normal View History

import '../src/styles/main.css';
2024-02-01 00:58:19 +03:00
import '../src/styles/generics.css';
import { Metadata, Viewport } from 'next';
export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
};
export const viewport: Viewport = {
width: 'device-width',
initialScale: 1,
maximumScale: 1,
userScalable: false,
};
2024-01-31 23:46:06 +03:00
export default function RootLayout({
2024-02-01 00:58:19 +03:00
children,
2024-01-31 23:46:06 +03:00
}: {
2024-02-01 00:58:19 +03:00
children: React.ReactNode;
2024-01-31 23:46:06 +03:00
}) {
2024-02-01 00:58:19 +03:00
return (
<html lang="en">
<body>{children}</body>
</html>
);
2024-01-31 23:46:06 +03:00
}