Updating page metadata from appConfig + og:image (#12)

This commit is contained in:
mattherzog 2024-01-16 09:12:51 -08:00 committed by GitHub
parent e1cc9a08a2
commit aff08a2530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,14 +95,26 @@ export default function Home() {
return (
<>
<Head>
<title>Agent Playground</title>
<meta name="description" content="Generated by create next app" />
<title>{appConfig?.title ?? "LiveKit Agents Playground"}</title>
<meta
name="description"
content={
appConfig?.description ??
"Quickly prototype and test your multimodal agents"
}
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta
property="og:image"
content="https://livekit.io/images/og/agents-playground.png"
/>
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className="relative flex flex-col justify-center px-4 items-center h-full w-full bg-black repeating-square-background">