Skip to content

Commit 6204f32

Browse files
committed
update og
1 parent 68aaa38 commit 6204f32

File tree

1 file changed

+22
-24
lines changed

1 file changed

+22
-24
lines changed

web/app/layout.tsx

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
import "@livekit/components-styles";
22
import "./globals.css";
33
import "98.css";
4+
import { Metadata } from "next";
5+
6+
export const metadata: Metadata = {
7+
title: "LivePaint",
8+
description: "A realtime AI drawing game powered by LiveKit",
9+
openGraph: {
10+
title: "LivePaint",
11+
description: "A realtime AI drawing game powered by LiveKit",
12+
type: "website",
13+
images: [
14+
{
15+
url: "https://paint.livekit.io/og-image.png",
16+
width: 1200,
17+
height: 630,
18+
type: "image/png",
19+
},
20+
],
21+
url: "https://paint.livekit.io",
22+
},
23+
viewport: "width=device-width, initial-scale=1, shrink-to-fit=no",
24+
themeColor: "#000000",
25+
};
426

527
export default function RootLayout({
628
children,
@@ -9,30 +31,6 @@ export default function RootLayout({
931
}>) {
1032
return (
1133
<html lang="en" style={{ fontSize: "18px" }}>
12-
<head>
13-
<meta charSet="utf-8" />
14-
<meta
15-
name="viewport"
16-
content="width=device-width, initial-scale=1, shrink-to-fit=no"
17-
/>
18-
<meta name="theme-color" content="#000000" />
19-
<meta property="og:title" content="LivePaint" />
20-
<meta
21-
property="og:description"
22-
content="A realtime AI drawing game powered by LiveKit"
23-
/>
24-
<meta property="og:image" content="/og-image.png" />
25-
<meta property="og:url" content="https://paint.livekit.io" />
26-
<meta name="twitter:card" content="summary_large_image" />
27-
<meta name="twitter:site" content="@livekit" />
28-
<meta name="twitter:title" content="LivePaint" />
29-
<meta
30-
name="twitter:description"
31-
content="A realtime AI drawing game powered by LiveKit"
32-
/>
33-
<meta name="twitter:image" content="/og-image.png" />
34-
<title>LivePaint</title>
35-
</head>
3634
<body className="overflow-hidden bg-[#00807F]">{children}</body>
3735
</html>
3836
);

0 commit comments

Comments
 (0)