mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-24 21:26:02 +00:00
Add initial dashboard page and metric cards for Acme branding. #VERCEL_SKIP Co-authored-by: null <162737925+zebulonhermann@users.noreply.github.com>
30 lines
649 B
TypeScript
30 lines
649 B
TypeScript
import type { Metadata } from 'next'
|
|
import { GeistSans } from 'geist/font/sans'
|
|
import { GeistMono } from 'geist/font/mono'
|
|
import { Analytics } from '@vercel/analytics/next'
|
|
import './globals.css'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'v0 App',
|
|
description: 'Created with v0',
|
|
generator: 'v0.app',
|
|
icons: {
|
|
icon: '/icon.svg',
|
|
},
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`font-sans antialiased ${GeistSans.variable} ${GeistMono.variable}`}>
|
|
{children}
|
|
<Analytics />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|