@@ -6,9 +6,22 @@ import { getClientConfig } from "./config/client";
6
6
import { type Metadata } from "next" ;
7
7
8
8
export const metadata : Metadata = {
9
+ metadataBase : new URL ( "https://chat.webllm.ai" ) ,
9
10
title : "WebLLM Chat" ,
10
11
description :
11
12
"Chat with AI large language models running natively in your browser. Enjoy private, server-free, seamless AI conversations." ,
13
+ keywords : [
14
+ "WebLLM" ,
15
+ "AI chat" ,
16
+ "machine learning" ,
17
+ "browser AI" ,
18
+ "language model" ,
19
+ "no server" ,
20
+ ] ,
21
+ authors : [ { name : "WebLLM Team" } ] ,
22
+ publisher : "WebLLM" ,
23
+ creator : "WebLLM" ,
24
+ robots : "index, follow" ,
12
25
viewport : {
13
26
width : "device-width" ,
14
27
initialScale : 1 ,
@@ -22,6 +35,32 @@ export const metadata: Metadata = {
22
35
title : "WebLLM Chat" ,
23
36
statusBarStyle : "default" ,
24
37
} ,
38
+ openGraph : {
39
+ type : "website" ,
40
+ url : "https://chat.webllm.ai" ,
41
+ title : "WebLLM Chat" ,
42
+ description :
43
+ "Chat with AI large language models running natively in your browser" ,
44
+ siteName : "WebLLM Chat" ,
45
+ images : [
46
+ {
47
+ url : "https://chat.webllm.ai/mlc-logo.png" ,
48
+ width : 360 ,
49
+ height : 360 ,
50
+ alt : "WebLLM Chat - Browser-based AI conversation" ,
51
+ } ,
52
+ ] ,
53
+ } ,
54
+ twitter : {
55
+ card : "summary_large_image" ,
56
+ title : "WebLLM Chat" ,
57
+ description :
58
+ "Chat with AI large language models running natively in your browser" ,
59
+ images : [ "https://chat.webllm.ai/mlc-logo.png" ] ,
60
+ } ,
61
+ alternates : {
62
+ canonical : "https://chat.webllm.ai" ,
63
+ } ,
25
64
} ;
26
65
27
66
const cspHeader = `
@@ -78,6 +117,30 @@ export default function RootLayout({
78
117
< link rel = "mask-icon" href = "/safari-pinned-tab.svg" color = "#062578" />
79
118
< meta name = "msapplication-TileColor" content = "#2b5797" />
80
119
< meta name = "theme-color" content = "#ffffff" />
120
+ < script
121
+ type = "application/ld+json"
122
+ dangerouslySetInnerHTML = { {
123
+ __html : JSON . stringify ( {
124
+ "@context" : "https://schema.org" ,
125
+ "@type" : "WebApplication" ,
126
+ name : "WebLLM Chat" ,
127
+ url : "https://chat.webllm.ai" ,
128
+ description :
129
+ "Chat with AI large language models running natively in your browser. Enjoy private, server-free, seamless AI conversations." ,
130
+ applicationCategory : "Artificial Intelligence" ,
131
+ offers : {
132
+ "@type" : "Offer" ,
133
+ price : "0" ,
134
+ priceCurrency : "USD" ,
135
+ } ,
136
+ operatingSystem : "Web Browser" ,
137
+ creator : {
138
+ "@type" : "Organization" ,
139
+ name : "WebLLM" ,
140
+ } ,
141
+ } ) ,
142
+ } }
143
+ />
81
144
</ head >
82
145
< body > { children } </ body >
83
146
</ html >
0 commit comments