Skip to content

Commit

Permalink
feat : Black cta Section for backend page
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-ashish-k committed Dec 26, 2023
1 parent 9d78311 commit c53d0dc
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-frontend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: DeployFrontendDev

on:
push:
branches:
- "master"
# branches:
# - "master"

jobs:
deploy-frontend-dev:
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
46 changes: 46 additions & 0 deletions nuxt-frontend/components/backend-development/BlackCtaSection.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<template>
<div class="relative h-[317px] lg:h-[476px] 3xl:outer-container">
<img
:src="background400"
:srcset="`${background400} 400w, ${background800} 800w, ${background1200} 1200w, ${background2400} 2400w`"
alt="Background-Image"
class="h-full w-full object-cover"
loading="lazy"
/>
<div
class="container absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-center sm:w-[90%]"
>
<div class="flex flex-col gap-3 lg:gap-7">
<div class="flex flex-col gap-4 lg:gap-6">
<h2 class="mobile-header-2 lg:desk-header-2 text-white">
Not sure where to start?
</h2>
<p
class="text-white-core-80 sub-h1-regular xl:mobile-header-2-regular"
>
We also offer code and architecture reviews, strategic planning,
idea <br class="hidden lg:inline-block" />
validation, and much more.
</p>
</div>
<router-link
class="gradient-btn primary-btn flex"
to="/contact"
@click.native="$mixpanel.track('tap_backend_development_cta')"
>
<span class="sub-h3-semibold xl:sub-h1-semibold"
>Book a Free Consultation Call Today!</span
>
</router-link>
</div>
</div>
</div>
</template>

<script setup type="module">
import background400 from "@/assets/images/backend-development/cta/ctabackground-400w.webp";
import background800 from "@/assets/images/backend-development/cta/ctabackground-800w.webp";
import background1200 from "@/assets/images/backend-development/cta/ctabackground-1200w.webp";
import background2400 from "@/assets/images/backend-development/cta/ctabackground-2400w.webp";
const { $mixpanel } = useNuxtApp();
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const blogs = [
className: "rotate-6",
},
];
const backendblog = computed(() => Array(50).fill(blogs).flat());
const backendblog = computed(() => Array(5).fill(blogs).flat());
</script>
<style lang="postcss" scoped>
@import "swiper/css";
Expand Down
5 changes: 5 additions & 0 deletions nuxt-frontend/pages/backend-development.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<PartnerWithUsSection />
<SuccessStorySection />
<BlogSection />
<BlackCtaSection />
<NewFooter />
</div>
</template>
Expand All @@ -27,6 +28,9 @@ const SuccessStorySection = defineAsyncComponent(
const BlogSection = defineAsyncComponent(
() => import("@/components/backend-development/BlogSection.vue"),
);
const BlackCtaSection = defineAsyncComponent(
() => import("@/components/backend-development/BlackCtaSection.vue"),
);
const NewFooter = defineAsyncComponent(
() => import("@/components/partials/NewFooter.vue"),
);
Expand All @@ -49,6 +53,7 @@ export default {
PartnerWithUsSection,
SuccessStorySection,
BlogSection,
BlackCtaSection,
NewFooter,
},
setup() {
Expand Down

0 comments on commit c53d0dc

Please sign in to comment.