mirror of
https://github.com/vercel/next-learn.git
synced 2026-07-08 22:46:01 +00:00
26 lines
538 B
TypeScript
26 lines
538 B
TypeScript
import './global.css';
|
|
import type { Metadata } from 'next';
|
|
import { Inter } from 'next/font/google';
|
|
import Providers from './providers';
|
|
|
|
const inter = Inter({ subsets: ['latin'] });
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Create Next App',
|
|
description: 'Generated by create next app',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={inter.className}>
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|