diff --git a/src/assets/images/12.png b/src/assets/images/12.png new file mode 100644 index 0000000..39f00b5 Binary files /dev/null and b/src/assets/images/12.png differ diff --git a/src/assets/images/page-bg-1.png b/src/assets/images/page-bg-1.png new file mode 100644 index 0000000..8086dff Binary files /dev/null and b/src/assets/images/page-bg-1.png differ diff --git a/src/utils/scroll.js b/src/utils/scroll.js index d38d44b..fe952c4 100644 --- a/src/utils/scroll.js +++ b/src/utils/scroll.js @@ -90,8 +90,8 @@ class scroll { linearFormula = (currentScroll, position1, position2, scroll1, scroll2) => { const alpha = (currentScroll - scroll1) / (scroll2 - scroll1); const deltaPosition = position2 - position1; - const currectPosition = position1 + deltaPosition * alpha; - return currectPosition; + const currentPosition = position1 + deltaPosition * alpha; + return currentPosition; }; videoLinearFormula = (currentScroll) => { diff --git a/src/views/Home/Page1/Header/index.js b/src/views/Home/Page1/Header/index.js index 9d7b4cd..0202527 100644 --- a/src/views/Home/Page1/Header/index.js +++ b/src/views/Home/Page1/Header/index.js @@ -25,8 +25,8 @@ const Light = ({ degree }) => { draggable={false} src={lightIcon} alt="" - className={_.join(["absolute z-50 light-animation"], " ")} - style={{ transform: `scale(6) translateY(24%)` }} + className={_.join(["absolute z-50 light-animation opacity-50"], " ")} + style={{ transform: `scale(6) translateY(24%)`, pointerEvents : 'none' }} /> ); diff --git a/src/views/Home/Page1/Header/index.scss b/src/views/Home/Page1/Header/index.scss index c3a0033..f9246dd 100644 --- a/src/views/Home/Page1/Header/index.scss +++ b/src/views/Home/Page1/Header/index.scss @@ -6,42 +6,42 @@ @keyframes light-animation { 0% { - opacity: 1; + opacity: 0.5; } 3% { opacity: 0; } 6% { - opacity: 1; + opacity: 0.5; } 9% { opacity: 0; } 30% { - opacity: 1; + opacity: 0.5; } 33% { opacity: 0; } 36% { - opacity: 1; + opacity: 0.5; } 39% { opacity: 0; } 60% { - opacity: 1; + opacity: 0.5; } 63% { opacity: 0; } 66% { - opacity: 1; + opacity: 0.5; } 69% { opacity: 0; } 100% { - opacity: 1; + opacity: 0.5; } } diff --git a/src/views/Home/Page2/Mobile/index.js b/src/views/Home/Page2/Mobile/index.js index e9eb1d3..154c457 100644 --- a/src/views/Home/Page2/Mobile/index.js +++ b/src/views/Home/Page2/Mobile/index.js @@ -10,7 +10,7 @@ function Mobile({ mobilePosition, videoPosition, autoPlay, selectedVideo, unit } return (