Skip to content

Commit

Permalink
[Site] Update hero animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Neet-Nestor committed Aug 29, 2024
1 parent 4ce15d8 commit 0cfb945
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions site/_includes/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ <h1>WebLLM: High-Performance In-Browser LLM Inference Engine</h1>
autoplay
playsinline
muted
poster="{{ site.base }}/assets/img/fig/light_demo.png"
poster="{{ site.base }}/assets/img/fig/Pittsburgh.png"
>
<source
src="{{ site.base }}/assets/video/light_demo.webm"
src="{{ site.base }}/assets/video/Pittsburgh.webm"
type="video/webm"
/>
<source
src="{{ site.base }}/assets/video/light_demo.mp4"
src="{{ site.base }}/assets/video/Pittsburgh.mp4"
type="video/mp4"
/>
</video>
Expand Down
5 changes: 2 additions & 3 deletions site/assets/css/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,14 @@

.video-container {
position: relative;
border-radius: 16px;
border-radius: 20px;
overflow: hidden;
background-color: #13113c;
border-radius: 16px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
margin-top: 96px;
width: 100%;
max-width: 1024px;
aspect-ratio: 2292 / 1644;
aspect-ratio: 2286 / 1684;

video {
width: 100%;
Expand Down
Binary file added site/assets/img/fig/Pittsburgh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed site/assets/img/fig/light_demo.png
Binary file not shown.
Binary file removed site/assets/img/fig/pitts.png
Binary file not shown.
Binary file added site/assets/video/Code.mp4
Binary file not shown.
Binary file added site/assets/video/Code.webm
Binary file not shown.
Binary file added site/assets/video/Pittsburgh.mp4
Binary file not shown.
Binary file added site/assets/video/Pittsburgh.webm
Binary file not shown.
Binary file removed site/assets/video/light_demo.mp4
Binary file not shown.
Binary file removed site/assets/video/light_demo.webm
Binary file not shown.

0 comments on commit 0cfb945

Please sign in to comment.