From 82ffdfa4cc699fc8266e0d9bce87e96a092fae39 Mon Sep 17 00:00:00 2001 From: ktx-kirtan <124270523+ktx-kirtan@users.noreply.github.com> Date: Sat, 1 Feb 2025 17:33:21 +0530 Subject: [PATCH] Feature/landing page (#11) * fix(card):remove static card and place title in center in feature and usecase card * fix: home page header * fix: feature section card * fix: add link for the usecase * fix: custom section background * fix: feature card component bg fix * fix: section gap * fix button globally and banner component * fix: image icons * fix: image loading issue * fix icon centering * fix: remove unused components --------- Co-authored-by: ktx-riya --- public/img/bg/gradient-bg/TextureBG.svg | 24 +++ public/img/bg/gradient-bg/TextureBottomBG.svg | 24 +++ .../cardComponent/FeatureCardWithIcon.vue | 29 +--- .../FeatureCardWithIconWrapper.vue | 55 +------ .../cardComponent/UsecaseCardWithIcon.vue | 28 ++-- .../UsecaseCardWithIconWrapper.vue | 56 ++----- src/components/cards/CustomFeatureCard.vue | 2 +- src/components/cards/CustomTiles.vue | 2 +- src/components/core/CompanySwiper.vue | 139 ++++++++-------- src/components/core/CustomBanner.vue | 62 +++---- src/components/core/CustomButton.vue | 155 +++++++++--------- src/components/core/CustomInterChange.vue | 71 ++++---- src/components/core/CustomSection.vue | 2 +- .../core/CustomSectionBackground.vue | 37 ++--- src/components/core/CustomSeprater.vue | 28 ++-- .../heroSections/HomeHeroSection.vue | 34 ++-- src/components/wrapper/BannerWrapper.vue | 28 +--- src/components/wrapper/TabsWrapper.vue | 2 - .../wrapper/TopCompaniesWrapper.vue | 7 +- 19 files changed, 337 insertions(+), 448 deletions(-) create mode 100644 public/img/bg/gradient-bg/TextureBG.svg create mode 100644 public/img/bg/gradient-bg/TextureBottomBG.svg diff --git a/public/img/bg/gradient-bg/TextureBG.svg b/public/img/bg/gradient-bg/TextureBG.svg new file mode 100644 index 0000000..8acb594 --- /dev/null +++ b/public/img/bg/gradient-bg/TextureBG.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/img/bg/gradient-bg/TextureBottomBG.svg b/public/img/bg/gradient-bg/TextureBottomBG.svg new file mode 100644 index 0000000..902f8ef --- /dev/null +++ b/public/img/bg/gradient-bg/TextureBottomBG.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/cardComponent/FeatureCardWithIcon.vue b/src/components/cardComponent/FeatureCardWithIcon.vue index 6e56c80..efab67c 100644 --- a/src/components/cardComponent/FeatureCardWithIcon.vue +++ b/src/components/cardComponent/FeatureCardWithIcon.vue @@ -9,32 +9,19 @@ const props = defineProps({ }, }); -console.log(props.card,"Cards Data"); +const dynamicComponent = props.card.link ? "a" : "div"; - - diff --git a/src/components/cardComponent/FeatureCardWithIconWrapper.vue b/src/components/cardComponent/FeatureCardWithIconWrapper.vue index 11a2901..00e61f5 100644 --- a/src/components/cardComponent/FeatureCardWithIconWrapper.vue +++ b/src/components/cardComponent/FeatureCardWithIconWrapper.vue @@ -3,7 +3,6 @@ import { defineProps } from "vue"; import IconTitleCard from "./FeatureCardWithIcon.vue"; import CustomSection from "../core/CustomSection.vue"; import Heading from "../core/Heading.vue"; -import CustomImage from "../core/CustomImage.vue"; const props = defineProps({ heading: { @@ -19,61 +18,17 @@ const props = defineProps({ - + \ No newline at end of file diff --git a/src/components/cardComponent/UsecaseCardWithIcon.vue b/src/components/cardComponent/UsecaseCardWithIcon.vue index 11f07b7..5c628e3 100644 --- a/src/components/cardComponent/UsecaseCardWithIcon.vue +++ b/src/components/cardComponent/UsecaseCardWithIcon.vue @@ -12,28 +12,26 @@ const props = defineProps({ required: true, }, }); + +const dynamicComponent = props.card.link ? "a" : "div"; diff --git a/src/components/core/CustomInterChange.vue b/src/components/core/CustomInterChange.vue index 1de1863..c9f9124 100644 --- a/src/components/core/CustomInterChange.vue +++ b/src/components/core/CustomInterChange.vue @@ -1,56 +1,42 @@ - - diff --git a/src/components/core/CustomSection.vue b/src/components/core/CustomSection.vue index a698a41..1b11fd4 100644 --- a/src/components/core/CustomSection.vue +++ b/src/components/core/CustomSection.vue @@ -17,7 +17,7 @@ const props = defineProps({ const defaultClasses = computed(() => { return [ "container mx-auto px-4 sm:px-6 lg:px-8 xl:px-11", // Handle horizontal padding on different screen sizes - "py-4 sm:py-6 md:py-8 lg:py-8 xl:py-11", // Handle vertical padding for each breakpoint + "py-8 sm:py-10 md:py-14 lg:py-16 xl:py-24", // Handle vertical padding for each breakpoint "w-full flex flex-col justify-start", // General layout setup props.sectionClass, ].join(" "); diff --git a/src/components/core/CustomSectionBackground.vue b/src/components/core/CustomSectionBackground.vue index 8e5078d..35073e9 100644 --- a/src/components/core/CustomSectionBackground.vue +++ b/src/components/core/CustomSectionBackground.vue @@ -1,33 +1,22 @@ - - \ No newline at end of file + + \ No newline at end of file diff --git a/src/components/core/CustomSeprater.vue b/src/components/core/CustomSeprater.vue index aa602ad..158c3f7 100644 --- a/src/components/core/CustomSeprater.vue +++ b/src/components/core/CustomSeprater.vue @@ -1,21 +1,15 @@ - - + \ No newline at end of file diff --git a/src/components/heroSections/HomeHeroSection.vue b/src/components/heroSections/HomeHeroSection.vue index 5d216bf..5b02b5c 100644 --- a/src/components/heroSections/HomeHeroSection.vue +++ b/src/components/heroSections/HomeHeroSection.vue @@ -7,7 +7,7 @@ const props = defineProps({ title: { type: String, required: true, - }, + }, description: { type: String, required: true, @@ -28,33 +28,25 @@ const props = defineProps({