forked from mlc-ai/web-llm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Site] Add hero section to landing page (mlc-ai#422)
This PR adds a new hero section on top of our page and removed some obsolete content. Preview: https://neet-nestor.github.io/web-llm/
- Loading branch information
1 parent
3a6b41c
commit 6e6123c
Showing
23 changed files
with
349 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"./**/*.{js,ts,jsx,tsx,json,html,css}": ["eslint --fix", "prettier --write"] | ||
"./**/*.{js,ts,jsx,tsx,json,css}": ["eslint --fix", "prettier --write"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
# gem "rails" | ||
gem "jekyll-remote-theme" | ||
gem "jekyll-sass-converter" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
<meta http-equiv="origin-trial" content="Agx76XA0ITxMPF0Z8rbbcMllwuxsyp9qdtQaXlLqu1JUrdHB6FPonuyIKJ3CsBREUkeioJck4nn3KO0c0kkwqAMAAABJeyJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0Ojg4ODgiLCJmZWF0dXJlIjoiV2ViR1BVIiwiZXhwaXJ5IjoxNjkxNzExOTk5fQ=="> | ||
<meta http-equiv="origin-trial" content="AnmwqQ1dtYDQTYkZ5iMtHdINCaxjE94uWQBKp2yOz1wPTcjSRtOHUGQG+r2BxsEuM0qhxTVnuTjyh31HgTeA8gsAAABZeyJvcmlnaW4iOiJodHRwczovL21sYy5haTo0NDMiLCJmZWF0dXJlIjoiV2ViR1BVIiwiZXhwaXJ5IjoxNjkxNzExOTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZX0="> | ||
<meta name="description" content="WebLLM: High-Performance In-Browser LLM Serving Engine."> | ||
<meta | ||
http-equiv="origin-trial" | ||
content="Agx76XA0ITxMPF0Z8rbbcMllwuxsyp9qdtQaXlLqu1JUrdHB6FPonuyIKJ3CsBREUkeioJck4nn3KO0c0kkwqAMAAABJeyJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0Ojg4ODgiLCJmZWF0dXJlIjoiV2ViR1BVIiwiZXhwaXJ5IjoxNjkxNzExOTk5fQ==" | ||
/> | ||
<meta | ||
http-equiv="origin-trial" | ||
content="AnmwqQ1dtYDQTYkZ5iMtHdINCaxjE94uWQBKp2yOz1wPTcjSRtOHUGQG+r2BxsEuM0qhxTVnuTjyh31HgTeA8gsAAABZeyJvcmlnaW4iOiJodHRwczovL21sYy5haTo0NDMiLCJmZWF0dXJlIjoiV2ViR1BVIiwiZXhwaXJ5IjoxNjkxNzExOTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZX0=" | ||
/> | ||
<script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script> | ||
<link rel="stylesheet" href="{{ '/assets/css/hero.css' | relative_url }}" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<section id="hero"> | ||
<div class="heading-container"> | ||
<h1>WebLLM: High-Performance In-Browser LLM Serving Engine.</h1> | ||
<div class="link-container"> | ||
<a class="get-start-link" href="https://llm.mlc.ai/docs/deploy/javascript.html"> | ||
<!-- <span class="border"></span> --> | ||
<span class="get-start-link-content"> | ||
<span>Get Started</span> | ||
<span class="arrow-container">{% include arrow.svg %}</span></span | ||
> | ||
</a> | ||
<a class="chat-link" href="https://chat.webllm.ai"> | ||
<span class="border"></span> | ||
<span class="chat-link-content"> | ||
<span>Chat with WebLLM</span> | ||
<span class="arrow-container">{% include arrow.svg %}</span> | ||
</span> | ||
</a> | ||
</div> | ||
</div> | ||
<div class="video-container"> | ||
<video | ||
autoplay | ||
playsinline | ||
muted | ||
poster="{{ site.base }}/assets/img/fig/light_demo.png" | ||
> | ||
<source | ||
src="{{ site.base }}/assets/video/light_demo.webm" | ||
type="video/webm" | ||
/> | ||
<source | ||
src="{{ site.base }}/assets/video/light_demo.mp4" | ||
type="video/mp4" | ||
/> | ||
</video> | ||
</div> | ||
</section> | ||
|
||
<script> | ||
function handlerIn(e) { | ||
$(this).addClass("expanded"); | ||
} | ||
function handlerOut(e) { | ||
$(this).removeClass("expanded"); | ||
} | ||
|
||
$(".chat-link").hover(handlerIn, handlerOut); | ||
$(".github-link").hover(handlerIn, handlerOut); | ||
</script> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.