nextjs-dashboard/app/layout.tsx

25 lines
588 B
TypeScript
Raw Normal View History

2024-04-18 01:57:35 -07:00
import '@/app/ui/global.css';
import { inter } from '@/app/ui/fonts';
2024-04-18 21:09:08 -07:00
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('https://next-learn-dashboard.vercel.sh'),
};
2024-04-18 01:57:35 -07:00
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={`${inter.className} antialiased`}>{children}</body>
</html>
);
}