nextjs-dashboard/app/layout.tsx

22 lines
536 B
TypeScript
Raw Normal View History

import { Metadata } from 'next';
2023-10-30 05:07:19 +00:00
import '@/app/ui/global.css';
import { inter } from '@/app/ui/fonts';
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>
);
}