mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-26 14:16:13 +00:00
22 lines
513 B
TypeScript
22 lines
513 B
TypeScript
import '@/app/ui/global.css';
|
|
import { inter } from '@/app/ui/fonts';
|
|
import type { Metadata } from 'next';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Next.js Dashboard',
|
|
description: 'Built as part of nextjs.org/learn.',
|
|
metadataBase: new URL('https://next-learn-dashboard.vercel.sh'),
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${inter.className} antialiased`}>{children}</body>
|
|
</html>
|
|
);
|
|
}
|