File size: 1,309 Bytes
1f122c3
3e623a9
dd2f9fa
f27679f
3e623a9
1f122c3
f42b4a1
1f122c3
f27679f
 
 
 
 
 
1f122c3
 
ac7030c
 
1f122c3
 
 
 
 
 
 
 
 
df83860
 
 
 
3d4392e
 
 
 
 
 
 
df83860
1f122c3
 
df83860
f27679f
1f122c3
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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>
  )
}