Updating page metadata from appConfig + og:image (#12)
This commit is contained in:
parent
e1cc9a08a2
commit
aff08a2530
@ -95,14 +95,26 @@ export default function Home() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
<title>Agent Playground</title>
|
<title>{appConfig?.title ?? "LiveKit Agents Playground"}</title>
|
||||||
<meta name="description" content="Generated by create next app" />
|
<meta
|
||||||
|
name="description"
|
||||||
|
content={
|
||||||
|
appConfig?.description ??
|
||||||
|
"Quickly prototype and test your multimodal agents"
|
||||||
|
}
|
||||||
|
/>
|
||||||
<meta
|
<meta
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
|
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-capable" content="yes" />
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
<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" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
</Head>
|
</Head>
|
||||||
<main className="relative flex flex-col justify-center px-4 items-center h-full w-full bg-black repeating-square-background">
|
<main className="relative flex flex-col justify-center px-4 items-center h-full w-full bg-black repeating-square-background">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user