Skip to content

Commit

Permalink
spinning logo (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim authored Feb 24, 2025
1 parent b33281c commit 55d08f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ function HomepageHeader() {
</div>
<div className={styles.logoContainer}>
<div className={styles.logoBackground} />
<img src={"assets/rio-logo.png"} className={styles.logo} />
<video className={styles.logo} autoPlay={true} loop={false} muted={true} playsInline={true} preLoad={true}>
<source src={"assets/rio-spinning.webm"} type="video/webm"/>
</video>
</div>
</header>
);
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@

@media (min-width: 960px) {
.logo {
width: 15rem;
height: 15rem;
width: 25rem;
height: 25rem;
}
}

Expand Down
Binary file added docs/static/assets/rio-spinning.webm
Binary file not shown.

0 comments on commit 55d08f7

Please sign in to comment.