Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 620b820

Browse files
authored
fix(homepage video): clean up loading visuals (#453)
1 parent 38b4ee7 commit 620b820

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/components/GlobalHeader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const GlobalHeader = ({ hasHeaderBg, className }) => {
3131
</a>
3232
</li>
3333
<li className={`${styles.leftSideLinkItem} ${styles.active}`}>
34-
<a href="#" className={styles.leftSideLink}>
34+
<a href="/" className={styles.leftSideLink}>
3535
Open Source
3636
</a>
3737
</li>

src/pages/home-page.module.scss

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
transition: opacity .5s var(--ease-out-quad), transform .5s var(--ease-out-quad);
5454
transform-style: preserve-3d;
5555
perspective: 2000px;
56+
background-color: #fff;
5657

5758
// drop shadow
5859
&:before {
@@ -533,6 +534,9 @@ img.play-button {
533534
// Dark mode
534535
// ==============================================================
535536
:global(.dark-mode) {
537+
.homepage-hero-video {
538+
background-color: var(--color-neutrals-100);
539+
}
536540
.homepage-hero-video:before {
537541
box-shadow: 0px 1.24527px 3.09933px rgba(6, 19, 23, 0.213671), 0px 2.99255px 7.44811px rgba(6, 19, 23, 0.306958), 0px 5.6347px 14.0241px rgba(6, 19, 23, 0.38), 0px 10.0513px 25.0167px rgba(6, 19, 23, 0.453041), 0px 18.7999px 46.7909px rgba(6, 19, 23, 0.546329), 0px 45px 112px rgba(6, 19, 23, 0.76);
538542
}

0 commit comments

Comments
 (0)