Skip to content

Commit

Permalink
ctaSection added calc for image height adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-ashish-k committed Nov 8, 2023
1 parent 098d2ca commit 281b8d8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions nuxt-frontend/components/flutter-app-development/CtaSection.vue
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<template>
<section>
<div class="relative h-[40vh] lg:h-[34.5rem]">
<div class="relative h-[40vh] lg:h-[476px]">
<img
:src="background400"
:srcset="`${background400} 400w, ${background800} 800w`"
class="h-full w-full object-cover opacity-20 lg:hidden"
class="h-full w-full object-fill opacity-10 lg:hidden"
alt="flutter-cta"
loading="lazy"
/>
<img
:src="background1200"
:srcset="`${background1200} 1200w, ${background2400} 2400w`"
class="h-full w-full object-cover opacity-20 hidden lg:block"
class="h-full w-full object-fill opacity-10 hidden lg:block"
alt="flutter-cta"
loading="lazy"
/>
<div class="absolute top-0 w-full h-full">
<div class="absolute top-16 lg:top-12 xl:top-8 2xl:top-12 w-full">
<div
class="flex flex-col lg:flex-row container gap-1 lg:gap-[5.25rem] text-center mt-16"
class="flex flex-col lg:flex-row container gap-1 lg:gap-[5.25rem] text-center lg:[&_img]:h-[calc(476px-theme(spacing.16)-1rem)]"
>
<img
:src="hex"
class="flex-1 w-full h-full object-cover hidden lg:block"
class="w-full h-full object-contain flex-1 hidden lg:block"
alt="flutter-hex-image"
loading="lazy"
/>
<div
class="flex flex-col gap-4 lg:gap-6 lg:text-left lg:flex-1 lg:my-auto"
class="flex flex-col gap-4 lg:gap-6 lg:text-left lg:flex-1 my-auto"
>
<div class="text-black-core/[0.87]">
<p class="header-1">Let's code your success story together!</p>
Expand Down

0 comments on commit 281b8d8

Please sign in to comment.