This commit is contained in:
marzban-dev
2025-04-16 22:31:59 +03:30
parent 89cef85282
commit a21d8a6bcb
+3 -3
View File
@@ -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"