25 lines
592 B
TypeScript
25 lines
592 B
TypeScript
import "@/app/ui/global.css";
|
|
import type { Metadata } from "next";
|
|
import { inter } from "@/app/ui/fonts";
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: "%s | Acme Dashboard",
|
|
default: "Acme Dashboard",
|
|
},
|
|
description: "The official Next.js Learn Dashboard built with App Router.",
|
|
metadataBase: new URL("https://next-learn-dashboard.vercel.sh"),
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${inter.className} antialiased`}>{children}</body>
|
|
</html>
|
|
);
|
|
}
|