From 05eb8f81f08961378f1495943cbfa948a11ca30c Mon Sep 17 00:00:00 2001 From: Farhan Date: Thu, 26 Oct 2023 10:37:07 +0700 Subject: [PATCH] fixing code --- .../hero/ParallaxBackgroundHeroSwipe.vue | 4 ++- pages/about-us.vue | 32 +++++++++++++++++-- pages/gallery-smartnation.vue | 20 ++++-------- 3 files changed, 40 insertions(+), 16 deletions(-) diff --git a/components/hero/ParallaxBackgroundHeroSwipe.vue b/components/hero/ParallaxBackgroundHeroSwipe.vue index 0e44998..5399663 100644 --- a/components/hero/ParallaxBackgroundHeroSwipe.vue +++ b/components/hero/ParallaxBackgroundHeroSwipe.vue @@ -82,7 +82,7 @@ const backgroundStyle = (background: string | undefined): IbackgroundType => { .hero-image-parallax { position: relative; width: 100%; - height: 700px; + height: 100vh; overflow: hidden; scroll-behavior: smooth; /* margin-left: 0; */ @@ -127,6 +127,8 @@ const backgroundStyle = (background: string | undefined): IbackgroundType => { padding-top: 3%; } + + @media (max-width: 992px) { .hero-heading__title { diff --git a/pages/about-us.vue b/pages/about-us.vue index c129399..2d3f3fb 100644 --- a/pages/about-us.vue +++ b/pages/about-us.vue @@ -8,9 +8,9 @@ useSeoMeta({ const colorMode = useColorMode(); -const { data: teams } = await useLazyFetch('/api/teams') +const { data: teams } = await useFetch('/api/teams') -const { data: clients } = await useLazyFetch('/api/client') +const { data: clients } = await useFetch('/api/client') @@ -95,6 +95,9 @@ const { data: clients } = await useLazyFetch('/api/client') + +
+
@@ -268,6 +271,7 @@ const { data: clients } = await useLazyFetch('/api/client') background: var(--primary-800, #a60b40); height: auto; overflow-x: hidden; + position: relative; } .visimisi-section-container .container { @@ -845,4 +849,28 @@ const { data: clients } = await useLazyFetch('/api/client') width: 10% !important; } } + + +.rectangle-bottom { + position: absolute; + bottom: 0; + width: 50px; + height: 120px; + /* border-radius: 14px; */ + border-radius: 0 14px 14px 0; + background: var(--primary-400, #FF6A89); + +} + +.rectangle-top { + position: absolute; + top: 0; + right: 0; + width: 50px; + height: 120px; + /* border-radius: 14px; */ + border-radius: 14px 0px 0px 14px; + background: var(--primary-400, #FF6A89); + +} diff --git a/pages/gallery-smartnation.vue b/pages/gallery-smartnation.vue index e9272b1..9b7c03f 100644 --- a/pages/gallery-smartnation.vue +++ b/pages/gallery-smartnation.vue @@ -26,7 +26,6 @@ const { data: categories } = await useAsyncData('category-posts', () => $fetch(' } }) -const albumsTitleName: (title: string) => string = (title: string) => `Album ${title}` @@ -35,23 +34,18 @@ const albumsTitleName: (title: string) => string = (title: string) => `Album ${t background="/images/background/bg-galeri.png" />
-
+
- - -
-
-
- - - -
+
+
+
-