Skip to content

Commit

Permalink
Enhance : Unification in services page
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-jagruti-a committed Jan 5, 2024
1 parent 401c126 commit 5e6e185
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 2 additions & 4 deletions nuxt-frontend/components/home-new/PortfolioPageCTASection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="hidden lg:block relative lg:w-1/2">
<img
:src="CTAImage[0]"
:srcset="`${CTAImage[0]} 400w, ${CTAImage[1]} 800w, ${CTAImage[2]} 1600w, ${CTAImage[3]} 2400w`"
:srcset="`${CTAImage[0]} 400w, ${CTAImage[1]} 800w`"
alt="portfolio-cta-image"
class="w-fit h-fit object-contain absolute right-10 -top-[0.3rem] xl:right-6 xl:-top-[5.5rem] 2xl:right-14 2xl:-top-[9.5rem]"
loading="lazy"
Expand Down Expand Up @@ -52,13 +52,11 @@
<script type="module">
import cta400 from "@/assets/images/portfolio/new-portfolio/new-cta-400w.webp";
import cta800 from "@/assets/images/portfolio/new-portfolio/new-cta-800w.webp";
import cta1600 from "@/assets/images/portfolio/new-portfolio/new-cta-1600w.webp";
import cta2400 from "@/assets/images/portfolio/new-portfolio/new-cta-2400w.webp";
export default {
data() {
return {
CTAImage: [cta400, cta800, cta1600, cta2400],
CTAImage: [cta400, cta800],
reasons: [
"High-performing mobile apps",
"Bulletproof cloud solutions",
Expand Down
6 changes: 2 additions & 4 deletions nuxt-frontend/components/services/LandingSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<img
class="absolute lg:top-[-2.188rem] right-0 xll:right-auto h-full object-cover"
:src="landingImages[0]"
:srcset="`${landingImages[0]} 400w, ${landingImages[1]} 800w, ${landingImages[2]} 1200w, ${landingImages[2]} 1400w`"
:srcset="`${landingImages[0]} 400w, ${landingImages[1]} 800w`"
alt="landing-view-image"
/>
</aspect-ratio>
Expand Down Expand Up @@ -61,8 +61,6 @@
<script>
import landing400w from "@/assets/images/services/landing/landing-400w.webp";
import landing800w from "@/assets/images/services/landing/landing-800w.webp";
import landing1200w from "@/assets/images/services/landing/landing-1200w.webp";
import landing1400w from "@/assets/images/services/landing/landing-1400w.webp";
import bg400w from "@/assets/images/services/bg/bg-400w.webp";
import bg800w from "@/assets/images/services/bg/bg-800w.webp";
import bg1200w from "@/assets/images/services/bg/bg-1200w.webp";
Expand All @@ -73,7 +71,7 @@ export default {
data() {
return {
width: 680,
landingImages: [landing400w, landing800w, landing1200w, landing1400w],
landingImages: [landing400w, landing800w],
bgImages: [bg400w, bg800w, bg1200w, bg1600w],
};
},
Expand Down

0 comments on commit 5e6e185

Please sign in to comment.