File size: 1,630 Bytes
0b3caef
cf8b7da
 
5881efa
 
cf8b7da
5881efa
0b3caef
cf8b7da
 
 
5881efa
 
cf8b7da
3597d34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cf8b7da
 
 
 
 
 
 
 
 
d43c4c0
5881efa
 
0b3caef
 
 
5881efa
cf8b7da
 
 
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
import { Suspense, cache } from "react";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { QueryClient } from "@tanstack/react-query";

import "@/assets/globals.css";
import Providers from "@/components/react-query/providers";
import Analytics from "@/components/gtm";

const inter = Inter({ subsets: ["latin"] });

export const getQueryClient = () => cache(() => new QueryClient());

export const metadata: Metadata = {
  title: "Fast Stable Diffusion XL ⚡",
  description: `
Generate your own images - all images generated are community shared.
`,
  metadataBase: new URL("https://enzostvs-stable-diffusion-tpu.hf.space"),
  openGraph: {
    type: "website",
    url: "https://enzostvs-stable-diffusion-tpu.hf.space",
    title: "Fast Stable Diffusion XL ⚡",
    description: `
Generate your own images - all images generated are community shared.
`,
    images: "/banner.png",
  },
  twitter: {
    site: "https://enzostvs-stable-diffusion-tpu.hf.space",
    card: "summary_large_image",
    images: "/banner.png",
    title: "Fast Stable Diffusion XL ⚡",
    description: `
Generate your own images - all images generated are community shared.
`,
  },
};

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="en">
      {/* <Script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js" /> */}
      <body className={inter.className}>
        <Providers>{children}</Providers>
        <Suspense>
          <Analytics />
        </Suspense>
      </body>
    </html>
  );
}