Skip to content

Commit

Permalink
Feat : mobileView of successstory
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-priyanka-g committed Sep 14, 2023
1 parent 1131648 commit 72e25e5
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 11 deletions.
Binary file not shown.
137 changes: 137 additions & 0 deletions vue-frontend/src/components/ios-app-development/SuccessStory.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
<template>
<div class="tw-ml-auto tw-mx-auto tw-relative xll:tw-container">
<img
:src="reviewbackgroundImage"
:srcset="`${reviewbackgroundImage} 400w`"
class="tw-h-full tw-w-full tw-object-cover md:tw-hidden"
alt="ios-review-image"
/>
<div
class="tw-container swiper-content md:tw-hidden tw-absolute tw-p-4 tw-w-full tw-text-center tw-text-[#FFF] tw-transform tw-left-1/2 tw-top-1/2 tw--translate-x-1/2 tw--translate-y-1/2 xl:tw-w-[80%] md:tw-top-[49%] lg:tw-top-[48%] 2xl:tw-w-[49%] xl2:tw-w-[60%] 2xll:tw-w-[50%] xll:tw-w-[65%]"
>
<swiper
:slidesPerView="1"
:centeredSlides="true"
:autoplay="{
delay: 3000,
disableOnInteraction: false,
}"
:loop="true"
:spaceBetween="20"
:pagination="pagination"
:modules="modules"
@swiper="onSwiper"
class="swiper-container"
>
<swiper-slide
v-for="(client, index) in clients"
:key="index"
class="tw-cursor-pointer"
>
<div
class="tw-mx-auto sm:tw-px-10 md:tw-px-6 lg:tw-px-4 xl:tw-px-24 sm:tw-text-black-core/[0.87] tw-text-black-900"
>
<div
class="tw-flex tw-flex-col tw-justify-between tw-items-center tw-object-center tw-mt-11 md:tw-mt-20"
>
<div
class="tw-font-roboto-medium tw-text-[1.375rem] md:tw-text-[2.25rem] lg:tw-text-[3.125rem] tw-leading-[1.875rem] md:tw-leading-[2.75rem] lg:tw-leading-[3.75rem] tw-transition-all tw-ease tw-duration-500"
v-html="client.review"
></div>
<div
class="tw-flex tw-flex-col tw-mt-2.5 sm:tw-mt-5 sm:tw-justify-end"
>
<span class="tw-flex tw-flex-row">
<font-awesome-icon
v-for="i in 5"
:key="i"
class="fa-star tw-w-[11px] md:tw-w-4 tw-h-[11px] md:tw-h-4 tw-text-[#FF3D2E]"
icon="star"
/></span>
</div>
<div class="tw-flex tw-flex-col">
<span
class="v2-canopas-gradient-text tw-font-inter-semibold tw-text-[1rem] md:tw-text-[1.625rem]"
>{{ client.name }}</span
>
<span
class="tw-text-[0.75rem] md:tw-text-[1.25rem] tw-leading-[1.375rem] tw-text-black-core/[0.87]"
>{{ client.designation }}</span
>
</div>
</div>
</div>
</swiper-slide>
</swiper>
</div>
</div>
</template>

<script>
import { Autoplay, Pagination } from "swiper/modules";
import { Swiper, SwiperSlide } from "swiper/vue";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import reviewbackgroundImage from "@/assets/images/ios-app-development/review-background-400w.webp";
export default {
data() {
return {
swiper: null,
reading: false,
modules: [Pagination, Autoplay],
reviewbackgroundImage,
clients: [
{
id: 1,
name: "Rebecca Kimura",
designation: "Founder at Togness, Australia",
review:
"There was rarely ever a second explanation needed. Even if we struggled to explain technically what we wanted, they understood the first time.",
},
{
id: 2,
name: "Elyass Bouchater",
designation: "Product Manager at Luxe, Morocco",
review:
"The Play Store is the hardest app store to get good reviews on, and we've just reached a five-star rating, which has been one of our biggest achievements, partly thanks to Canopas' work.",
},
{
id: 3,
name: "Rob Eberhard",
designation: "Founder at ActivScout, Canada",
review:
"I was especially impressed with the skills of their backend developer and how well the project manager and she worked with one another to create a high performing iOS app.",
},
{
id: 4,
name: "Lisa Weinstein",
designation: "Founder at Brickandbatten, USA",
review:
"There is not enough space to say all the wonderful things I would want to share about Canopas. The team is incredibly helpful, stays calm even when we had to deal with tough issues on our app and always found a way to help us fix whatever was needed or roll out any new features for our app in both the iOS and Android stores.",
},
{
id: 5,
name: "Cyril Trosset",
designation: "CTO at Udini, France",
review:
"Multiple versions of this Android app have been successfully delivered over time. They are always very responsive on bug resolution. They are very efficient at producing complex interfaces and high quality apps",
},
],
pagination: {
el: ".swiper-pagination",
clickable: true,
},
};
},
components: {
Swiper,
SwiperSlide,
FontAwesomeIcon,
},
inject: ["mixpanel"],
};
</script>

<style lang="postcss">
@import "swiper/css";
</style>
28 changes: 17 additions & 11 deletions vue-frontend/src/pages/ios-app-development.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
</template>
</metainfo>
<Header />
<LandingSection ref="landing" />
<DevelopmentSection ref="development" />
<FaqSection ref="faq" />
<CtaSection ref="cta1" />
<CtaSection2 ref="cta2" />
<NewFooter ref="footer" />
<LandingSection ref="iosLanding" />
<DevelopmentSection ref="iosDevelopment" />
<SuccessStorySection ref="iosSuccessstory" />
<FaqSection ref="iosFaq" />
<CtaSection ref="iosCta1" />
<CtaSection2 ref="iosCta2" />
<NewFooter ref="iosFooter" />
</div>
</template>

Expand All @@ -23,6 +24,9 @@ import { defineAsyncComponent } from "vue";
import { elementInViewPort } from "@/utils.js";
import LandingSection from "@/components/ios-app-development/LandingSection.vue";
import DevelopmentSection from "@/components/ios-app-development/DevelopmentSection.vue";
const SuccessStorySection = defineAsyncComponent(() =>
import("@/components/ios-app-development/SuccessStory.vue"),
);
const FaqSection = defineAsyncComponent(() =>
import("@/components/ios-app-development/FaqSection.vue"),
);
Expand All @@ -41,11 +45,12 @@ export default {
return {
event: "",
events: {
landing: "view_ios_development_landing_section",
development: "view_ios_app_development_section",
faq: "view_ios_development_faq_section",
cta1: "view_cta_1_ios_app_development_section",
cta2: "view_cta_2_ios_app_development_section",
iosLanding: "view_ios_development_landing_section",
iosDevelopment: "view_ios_app_development_section",
iosSuccessstory: "view_ios_app_development_section",
iosFaq: "view_ios_development_faq_section",
iosCta1: "view_cta_1_ios_app_development_section",
iosCta2: "view_cta_2_ios_app_development_section",
},
};
},
Expand Down Expand Up @@ -73,6 +78,7 @@ export default {
Header,
LandingSection,
DevelopmentSection,
SuccessStorySection,
FaqSection,
CtaSection,
CtaSection2,
Expand Down

0 comments on commit 72e25e5

Please sign in to comment.