Files
next-learn/dashboard/15-final/app/layout.tsx
Delba de Oliveira a4d66e6527 Add basic metadata and update OG image (#212)
* 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
2023-10-19 09:37:54 -05:00

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>
);
}