Updated
This commit is contained in:
@@ -19,7 +19,7 @@ const heymlzElementIsVisible = useElementVisibility(heymlzElement, {
|
||||
rootMargin: "0px 0px -40% 0px",
|
||||
});
|
||||
|
||||
const showHeymlzAnimation = ref(false);
|
||||
const showHeymlzAnimation = ref(true);
|
||||
|
||||
const { x: dragAxisX } = useDraggable(draggableEl, {
|
||||
initialValue: { x: 0, y: 0 },
|
||||
@@ -92,7 +92,7 @@ watch(
|
||||
:src="homeData!.difreance_section.image1"
|
||||
:class="
|
||||
showHeymlzAnimation
|
||||
? 'brightness-50 blur-md'
|
||||
? 'brightness-25 blur-sm'
|
||||
: 'brightness-[95%] blur-[0px]'
|
||||
"
|
||||
class="select-none absolute size-full object-cover transition-[filter] duration-250"
|
||||
@@ -119,7 +119,7 @@ watch(
|
||||
:src="homeData!.difreance_section.image2"
|
||||
:class="
|
||||
showHeymlzAnimation
|
||||
? 'brightness-50 blur-md'
|
||||
? 'brightness-25 blur-sm'
|
||||
: 'brightness-[95%] blur-[0px]'
|
||||
"
|
||||
class="overlay-image select-none absolute object-cover size-full transition-[filter] duration-250"
|
||||
|
||||
Reference in New Issue
Block a user