ai-tube / src /app /layout.tsx
jbilcke-hf's picture
jbilcke-hf HF staff
add banner
3e623a9
raw
history blame
1.31 kB
import type { Metadata } from 'next'
import Head from 'next/head'
import Script from "next/script"
import { Roboto } from 'next/font/google'
import './globals.css'
import { cn } from '@/lib/utils/cn'
const roboto = Roboto({
weight: ['100', '300', '400', '500', '700', '900'],
style: ['normal', 'italic'],
subsets: ['latin'],
display: 'swap',
})
export const metadata: Metadata = {
title: '🍿 AiTube',
description: '🍿 AiTube',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<Head>
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
<link rel="preconnect" href="https://fonts.googleapis.com" crossOrigin="anonymous" />
<meta name="viewport" content="width=device-width, initial-scale=0.86, maximum-scale=5.0, minimum-scale=0.86" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link
rel="icon"
href="/icon?<generated>"
type="image/<generated>"
sizes="<generated>"
/>
</Head>
<body className={cn(
`h-full w-full overflow-auto`,
`dark text-neutral-100 bg-neutral-950`,
roboto.className
)}>
{children}
</body>
</html>
)
}