mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-11 09:51:47 +00:00
* Update next to canary * Update layout.tsx * Use canary * Remove serverActions flag warning * Use unstable_noStore * Add Date.now() test * Update metadataBase url * Create wrapper component for Cards * Update page.tsx * Misc * Delete unused data fetch * Add noStore to /invoices and /customers functions * Remove date.now() * Use canary * Rename component * Fix imports * Update types for useFormStatus and useFormState * Rename folder, add team members * fixed images and added login button pending state * Update dashboard/final-example/app/lib/data.ts Co-authored-by: Matt Kane <m@mk.gg> --------- Co-authored-by: Steven Tey <stevensteel97@gmail.com> Co-authored-by: Matt Kane <m@mk.gg>
24 lines
586 B
TypeScript
24 lines
586 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.',
|
|
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>
|
|
);
|
|
}
|