2023-10-31 05:55:15 +00:00
|
|
|
import { Metadata } from 'next';
|
2023-10-30 05:07:19 +00:00
|
|
|
import '@/app/ui/global.css';
|
|
|
|
|
import { inter } from '@/app/ui/fonts';
|
|
|
|
|
|
2023-10-31 05:55:15 +00:00
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: '%s | Acme Dashboard',
|
|
|
|
|
description: 'The official Next.js Course Dashboard, build with App Router.',
|
|
|
|
|
metadataBase: new URL('https://next-learn-dashboard.vercel.sh'),
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-29 23:23:33 +00:00
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en">
|
2023-10-30 05:07:19 +00:00
|
|
|
<body className={`${inter.className} antialiased`}>{children}</body>
|
2023-10-29 23:23:33 +00:00
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|