Skip to content

Commit

Permalink
Fix data-attribute on splash animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3Wall committed Sep 23, 2023
1 parent 2f5401e commit 529d744
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/SplashAnimation/SplashAnimation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const SplashAnimation = () => {
exit={{opacity: 0}}
>
<audio ref={soundRef} src={TADUM_SOUND_URL} />
<div className="netflixintro" letter="F">
<div className="netflixintro" data-letter="F">
<div className="helper-1">
<div className="effect-brush">
<span className="fur-31"></span>
Expand Down
4 changes: 2 additions & 2 deletions src/components/SplashAnimation/splashAnimation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $custom-red: #e40913;
background-position: -1950px 0;
}

&[letter="F"] {
&[data-letter="F"] {
transform-origin: 30% center;

.helper-1 {
Expand Down Expand Up @@ -327,7 +327,7 @@ $custom-red: #e40913;

.lamp-1 {
--color: #ff0100;
z: 6;
z-index: 6;
left: 0.7%;
width: 1%;
animation-delay: (calc(random(200) / 100)) + s;
Expand Down

0 comments on commit 529d744

Please sign in to comment.