๐Ÿ“ฆ ronitrajfr / reel-from-image

๐Ÿ“„ layout.tsx ยท 43 lines
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
43import "~/styles/globals.css";
import Providers from "~/components/Provider";
import { type Metadata } from "next";
import Script from "next/script";
import { Geist, Inter } from "next/font/google";
import { Analytics } from "@vercel/analytics/next";

export const metadata: Metadata = {
  title: "reel-from-image",
  description: "reel from image",
  icons: [{ rel: "icon", url: "/logo.svg" }],
};

const geist = Geist({
  subsets: ["latin"],
  variable: "--font-geist-sans",
});

const inter = Inter({
  subsets: ["latin"],
  display: "swap", // optional, improves performance
});

export default function RootLayout({
  children,
}: Readonly<{ children: React.ReactNode }>) {
  return (
    <html lang="en" className={`${inter.className}`}>
      <Providers>
        <body>
          {children}
          <Analytics />
        </body>
        <script
          defer
          src="https://cloud.umami.is/script.js"
          data-website-id="1cca7c37-508e-45ea-a047-192e15fa277a"
        ></script>
      </Providers>
    </html>
  );
}