File size: 1,600 Bytes
1f122c3
f27679f
1f122c3
 
 
 
df83860
1f122c3
f27679f
 
 
 
 
 
1f122c3
 
ac7030c
 
1f122c3
 
 
 
 
 
 
 
 
df83860
 
 
 
 
1f122c3
 
df83860
f27679f
1f122c3
 
 
df83860
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
51
52
53
54
55
56
57
58
59
60
61
import type { Metadata } from 'next'
import { Roboto } from 'next/font/google'

import { cn } from '@/lib/utils'

import './globals.css'
import Head from 'next/head'

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" />
      </Head>
      <body className={cn(
        `h-full w-full overflow-auto`,
        `dark text-neutral-100 bg-neutral-950`,
        roboto.className
        )}>
        {children}
      </body>

        {/*
        TODO: use a new tracker

        import Script from "next/script"

        This is the kind of project on which we want custom analytics!
        <Script src="https://www.googletagmanager.com/gtag/js?id=GTM-NJ2ZZFBX" />
        <Script id="google-analytics">
          {`
            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());
    
            gtag('config', 'GTM-NJ2ZZFBX');
          `}
        </Script>
        */}
    </html>
  )
}