Skip to content

Commit 6a14782

Browse files
Neet-Nestorjingyi-zhao-01
authored andcommitted
[Site] Update title and links
1 parent 58f88c8 commit 6a14782

File tree

4 files changed

+19
-27
lines changed

4 files changed

+19
-27
lines changed

site/_includes/github.svg

+1-1
Loading

site/_includes/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<meta name="description" content="WebLLM: High-Performance In-Browser LLM Serving Engine.">
1+
<meta name="description" content="WebLLM: High-Performance In-Browser LLM Inference Engine">
22
<meta
33
http-equiv="origin-trial"
44
content="Agx76XA0ITxMPF0Z8rbbcMllwuxsyp9qdtQaXlLqu1JUrdHB6FPonuyIKJ3CsBREUkeioJck4nn3KO0c0kkwqAMAAABJeyJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0Ojg4ODgiLCJmZWF0dXJlIjoiV2ViR1BVIiwiZXhwaXJ5IjoxNjkxNzExOTk5fQ=="

site/_includes/hero.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<section id="hero">
22
<div class="heading-container">
3-
<h1>WebLLM: High-Performance In-Browser LLM Serving Engine.</h1>
3+
<h1>WebLLM: High-Performance In-Browser LLM Inference Engine</h1>
44
<div class="link-container">
5-
<a class="get-start-link" href="https://llm.mlc.ai/docs/deploy/javascript.html">
6-
<!-- <span class="border"></span> -->
5+
<a class="get-start-link" href="https://github.com/mlc-ai/web-llm?tab=readme-ov-file#get-started">
76
<span class="get-start-link-content">
87
<span>Get Started</span>
98
<span class="arrow-container">{% include arrow.svg %}</span></span
109
>
1110
</a>
12-
<a class="chat-link" href="https://chat.webllm.ai">
11+
<a class="chat-link moving-border" href="https://chat.webllm.ai">
1312
<span class="border"></span>
1413
<span class="chat-link-content">
1514
<span>Chat with WebLLM</span>

site/assets/css/hero.scss

+14-21
Original file line numberDiff line numberDiff line change
@@ -55,25 +55,15 @@
5555
text-decoration: none;
5656
cursor: pointer;
5757
height: fit-content;
58-
overflow: hidden;
59-
position: relative;
6058
// padding: .25rem;
6159

62-
.border {
63-
position: absolute;
64-
inset: -1000%;
65-
animation: spin 3s linear infinite;
66-
border-radius: 1rem;
67-
background-image: conic-gradient(from 90deg at 50% 50%, #e2cbff 0, #393bb2 50%, #e2cbff 100%);
68-
}
69-
7060
.get-start-link-content {
7161
width: 100%;
7262
height: 100%;
7363
z-index: 1;
7464
border-radius: 9999px;
7565
padding: 1rem 1.75rem;
76-
background-color: black;
66+
background-color: #000000;
7767
display: inline-flex;
7868
gap: .5rem;
7969
display: inline-flex;
@@ -102,18 +92,8 @@
10292
text-decoration: none;
10393
cursor: pointer;
10494
height: fit-content;
105-
overflow: hidden;
106-
position: relative;
10795
padding: .25rem;
10896

109-
.border {
110-
position: absolute;
111-
inset: -1000%;
112-
animation: spin 3s linear infinite;
113-
border-radius: 1rem;
114-
background-image: conic-gradient(from 90deg at 50% 50%, #e2cbff 0, #393bb2 50%, #e2cbff 100%);
115-
}
116-
11797
.chat-link-content {
11898
width: 100%;
11999
height: 100%;
@@ -166,6 +146,19 @@
166146
}
167147
}
168148

149+
.moving-border {
150+
overflow: hidden;
151+
position: relative;
152+
153+
.border {
154+
position: absolute;
155+
inset: -1000%;
156+
animation: spin 3s linear infinite;
157+
border-radius: 1rem;
158+
background-image: conic-gradient(from 90deg at 50% 50%, #e2cbff 0, #393bb2 50%, #e2cbff 100%);
159+
}
160+
}
161+
169162
@media screen and (min-width:640px) {
170163
#hero {
171164
padding: 6rem;

0 commit comments

Comments
 (0)