mirror of
https://github.com/michivonah/nextjs.git
synced 2025-12-22 22:16:28 +01:00
24 lines
579 B
TypeScript
24 lines
579 B
TypeScript
import '@/app/ui/global.css';
|
|
import {inter} from '@/app/ui/fonts';
|
|
import { Metadata } from 'next';
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: '%s | Acme Dashboard',
|
|
default: 'Acme Dashboard',
|
|
},
|
|
description: 'The official Next.js Course Dashboard, built with App Router.',
|
|
metadataBase: new URL('http://localhost:3000/dashboard'),
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${inter.className} antialiased`}>{children}</body>
|
|
</html>
|
|
);
|
|
}
|