Spaces:
Runtime error
Runtime error
add medata + fix scroll into iframe
Browse files- .DS_Store +0 -0
- .gitignore +2 -1
- app/layout.tsx +25 -2
- public/.DS_Store +0 -0
- public/banner.png +0 -0
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
.gitignore
CHANGED
@@ -13,7 +13,8 @@
|
|
13 |
/.next/*
|
14 |
.next/*
|
15 |
/out/
|
16 |
-
|
|
|
17 |
# production
|
18 |
/build
|
19 |
|
|
|
13 |
/.next/*
|
14 |
.next/*
|
15 |
/out/
|
16 |
+
.DS_Store
|
17 |
+
public/.DS_Store
|
18 |
# production
|
19 |
/build
|
20 |
|
app/layout.tsx
CHANGED
@@ -5,14 +5,36 @@ import { QueryClient } from "@tanstack/react-query";
|
|
5 |
|
6 |
import "@/assets/globals.css";
|
7 |
import Providers from "@/components/react-query/providers";
|
|
|
8 |
|
9 |
const inter = Inter({ subsets: ["latin"] });
|
10 |
|
11 |
export const getQueryClient = () => cache(() => new QueryClient());
|
12 |
|
13 |
export const metadata: Metadata = {
|
14 |
-
title: "
|
15 |
-
description:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
};
|
17 |
|
18 |
export default function RootLayout({
|
@@ -22,6 +44,7 @@ export default function RootLayout({
|
|
22 |
}) {
|
23 |
return (
|
24 |
<html lang="en">
|
|
|
25 |
<body className={inter.className}>
|
26 |
<Providers>{children}</Providers>
|
27 |
</body>
|
|
|
5 |
|
6 |
import "@/assets/globals.css";
|
7 |
import Providers from "@/components/react-query/providers";
|
8 |
+
import Script from "next/script";
|
9 |
|
10 |
const inter = Inter({ subsets: ["latin"] });
|
11 |
|
12 |
export const getQueryClient = () => cache(() => new QueryClient());
|
13 |
|
14 |
export const metadata: Metadata = {
|
15 |
+
title: "Fast Stable Diffusion XL ⚡",
|
16 |
+
description: `
|
17 |
+
Generate your own images - all images generated are community shared.
|
18 |
+
`,
|
19 |
+
metadataBase: new URL("https://enzostvs-stable-diffusion-tpu.hf.space"),
|
20 |
+
openGraph: {
|
21 |
+
type: "website",
|
22 |
+
url: "https://enzostvs-stable-diffusion-tpu.hf.space",
|
23 |
+
title: "Fast Stable Diffusion XL ⚡",
|
24 |
+
description: `
|
25 |
+
Generate your own images - all images generated are community shared.
|
26 |
+
`,
|
27 |
+
images: "/banner.png",
|
28 |
+
},
|
29 |
+
twitter: {
|
30 |
+
site: "https://enzostvs-stable-diffusion-tpu.hf.space",
|
31 |
+
card: "summary_large_image",
|
32 |
+
images: "/banner.png",
|
33 |
+
title: "Fast Stable Diffusion XL ⚡",
|
34 |
+
description: `
|
35 |
+
Generate your own images - all images generated are community shared.
|
36 |
+
`,
|
37 |
+
},
|
38 |
};
|
39 |
|
40 |
export default function RootLayout({
|
|
|
44 |
}) {
|
45 |
return (
|
46 |
<html lang="en">
|
47 |
+
<Script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js" />
|
48 |
<body className={inter.className}>
|
49 |
<Providers>{children}</Providers>
|
50 |
</body>
|
public/.DS_Store
CHANGED
Binary files a/public/.DS_Store and b/public/.DS_Store differ
|
|
public/banner.png
ADDED
![]() |