Skip to content

Commit

Permalink
fix(mainhomecomp2.jsx): add quotation as it doesn't recognize image
Browse files Browse the repository at this point in the history
  • Loading branch information
junglesub committed Jul 27, 2024
1 parent 44d3198 commit fda3836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Home/MainHomeComp2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ function MainHomeComp2() {
<Cup.bg
style={{
// width: 1100 - (scrollY.scrollTop - scrollY.mainTop) * 3,
"mask-image": `url(${CupMask})`,
"-webkit-mask-image": `url(${CupMask})`,
"mask-image": `url('${CupMask}')`,
"-webkit-mask-image": `url('${CupMask}')`,
"mask-size": `${Math.max(
100,
100 + animationDurPx * (1 - scrollProcess / animationDurPx)
Expand Down

0 comments on commit fda3836

Please sign in to comment.