diff --git a/apps/stage-web/src/components/Layouts/AnimatedBackground.vue b/apps/stage-web/src/components/Layouts/AnimatedBackground.vue index a8668e2c0..da97b3483 100644 --- a/apps/stage-web/src/components/Layouts/AnimatedBackground.vue +++ b/apps/stage-web/src/components/Layouts/AnimatedBackground.vue @@ -1,6 +1,6 @@ @@ -168,7 +142,12 @@ onUnmounted(() => { :viewBox="`0 0 ${waveLength * Math.ceil((svgWidth * 2) / waveLength)} ${waveHeight}`" xmlns="http://www.w3.org/2000/svg" h="[100%]" w="auto" - :style="{ willChange: 'transform' }" + :style="{ + 'willChange': 'transform', + '--wave-translate': `${-waveLength}px`, + '--animation-duration': `${waveLength / animationSpeed}s`, + }" + class="wave" > @@ -176,3 +155,18 @@ onUnmounted(() => { + +