Skip to content

Commit

Permalink
added success story section
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-ashish-k committed Dec 19, 2023
1 parent ffc3476 commit e045dcb
Show file tree
Hide file tree
Showing 5 changed files with 144 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-frontend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- "master"

jobs:
deploy-frontend-dev:
runs-on: ubuntu-latest
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
:src="item.images[2]"
:srcset="`${item.images[2]} 400w,${item.images[3]} 800w`"
class="w-[29.79663rem] h-[28.95819rem] object-contain"
:alt="item.title"
alt="casestudy-image"
loading="lazy"
/></a>
</div>
Expand Down
137 changes: 137 additions & 0 deletions nuxt-frontend/components/backend-development/SuccessStorySection.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
<template>
<section class="my-16 lg:my-60 3xl:outer-container">
<!-- Mobile UI start -->
<div class="lg:hidden">
<div class="header-2 text-center text-black-core/[0.87] mb-6">
Our success stories
</div>
<swiper
:slidesPerView="1.1"
:autoplay="{
delay: 3000,
disableOnInteraction: false,
}"
:spaceBetween="0"
:centeredSlides="true"
:speed="1500"
:loop="true"
:modules="modules"
>
<swiper-slide
v-for="client in clients"
:key="client"
class="text-white bg-[#121212] !scale-75 transition-all duration-200 rounded-xl text-left ease-in"
>
<div class="container py-6">
<img
:src="imageleft"
class="w-6 h-6 object-contain"
loading="lazy"
alt="left-quote"
/>
<div class="mt-6">
<div class="flex flex-col gap-6">
<p class="sub-h1-semibold" v-html="client.review"></p>
<div class="flex flex-col">
<p class="sub-h3-semibold opacity-80">{{ client.name }}</p>
<p class="sub-h3-regular opacity-60">
{{ client.designation }}
</p>
</div>
</div>
</div>
</div>
</swiper-slide>
</swiper>
</div>
<!-- Mobile UI END -->
<!-- Desktop UI -->
<div class="hidden lg:block container">
<div class="header-2 text-center text-black-core/[0.87] mb-[4.5rem]">
Success Stories
</div>
<swiper
:slidesPerView="1.5"
:autoplay="{
delay: 3000,
disableOnInteraction: true,
}"
:centeredSlides="true"
:speed="1500"
:loop="true"
:modules="modules"
class="h-[35.4375rem] !overflow-visible"
>
<swiper-slide
v-for="client in clients"
:key="client"
class="client text-white bg-[#121212] !scale-75 transition-all duration-200 rounded-xl text-left ease-in"
><div class="container py-14 mx-14">
<img
:src="imageleft"
class="w-6 h-6 object-contain"
loading="lazy"
alt="quote-left"
/>
<div class="flex flex-col !justify-between mt-6 h-[25.26rem]">
<div class="sub-h1-semibold">{{ client.review }}</div>
<div class="flex flex-col">
<p class="sub-h3-semibold opacity-80">{{ client.name }}</p>
<p class="sub-h3-regular opacity-60">
{{ client.designation }}
</p>
</div>
</div>
</div></swiper-slide
>
</swiper>
</div>
<!-- Desktop UI END-->
</section>
</template>
<script setup>
import { Autoplay } from "swiper/modules";
import { Swiper, SwiperSlide } from "swiper/vue";
import imageleft from "@/assets/images/backend-development/quote-left.webp";
const modules = [Autoplay];
const 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."`,
},
];
</script>
<style lang="postcss" scoped>
.swiper-slide-active {
@apply !scale-100;
}
.client {
box-shadow: 1.5rem 1.5rem #ff9472 !important;
}
</style>
5 changes: 5 additions & 0 deletions nuxt-frontend/pages/backend-development.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<Header />
<LandingSection />
<CaseStudySection />
<SuccessStorySection />
<NewFooter class="-mt-4 md:mt-0" />
</div>
</template>
Expand All @@ -15,6 +16,9 @@ import LandingSection from "@/components/backend-development/LandingSection.vue"
const CaseStudySection = defineAsyncComponent(
() => import("@/components/backend-development/CaseStudySection.vue"),
);
const SuccessStorySection = defineAsyncComponent(
() => import("@/components/backend-development/SuccessStorySection.vue"),
);
const NewFooter = defineAsyncComponent(
() => import("@/components/partials/NewFooter.vue"),
);
Expand All @@ -34,6 +38,7 @@ export default {
Header,
LandingSection,
CaseStudySection,
SuccessStorySection,
NewFooter,
},
setup() {
Expand Down

0 comments on commit e045dcb

Please sign in to comment.