From a7f7e62e30c03a22fde99e82447047e6eeb64e4d Mon Sep 17 00:00:00 2001 From: Hetari Date: Sat, 27 Jul 2024 19:26:19 +0300 Subject: [PATCH] fix hero ui --- src/App.vue | 24 +++--- src/animations/index.ts | 22 +++-- src/components/MyEnName.vue | 39 ++++++++- src/components/common/Button.vue | 6 +- src/components/common/Nav.vue | 2 +- src/components/design/ModernArtShape.vue | 22 ----- src/components/design/MyName.vue | 2 +- src/components/design/index.ts | 3 +- src/components/sections/Hero.vue | 105 +++++++++++------------ src/components/sections/Services.vue | 41 --------- src/data.ts | 2 + 11 files changed, 123 insertions(+), 145 deletions(-) delete mode 100644 src/components/design/ModernArtShape.vue diff --git a/src/App.vue b/src/App.vue index 0a1af9c..9a95470 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,12 +2,12 @@
-
+
- + = ref(null); const LockeScroll = (isLocked: boolean) => { @@ -78,12 +78,12 @@ }, 2000); }); - watch([width, height], () => { - if (noise.value) { - noise.value.style.height = `${height.value}px`; - noise.value.style.width = `${width.value}px`; - } - }); + // watch([width, height], () => { + // if (noise.value) { + // noise.value.style.height = `${height.value * 2}px`; + // noise.value.style.width = `${width.value}px`; + // } + // }); diff --git a/src/components/common/Button.vue b/src/components/common/Button.vue index d809b4b..0f2e891 100644 --- a/src/components/common/Button.vue +++ b/src/components/common/Button.vue @@ -1,12 +1,12 @@