mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-27 06:34:15 +00:00
* Bump nextauth * Move data fetching function to data.ts - We don't ask the user to add this in the chapter * Fix imports * Misc * Addd metadata * Add new OG image
23 lines
519 B
TypeScript
23 lines
519 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 Learn Dashboard built with App Router.',
|
|
};
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${inter.className} antialiased`}>{children}</body>
|
|
</html>
|
|
);
|
|
}
|