Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
fix: removed separate image for desktop and responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
meenu-deriv committed Oct 19, 2023
1 parent 3017486 commit 53282fc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 18 deletions.
Binary file removed assets/public/home/hero/cta_responsive.png
Binary file not shown.
3 changes: 1 addition & 2 deletions assets/public/next-image-export-optimizer-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"help-centre/hero/hk_help_centre.png": "5QCbMv3fJVnS1PMAhcTtPlVazT1f4p+cprOI96UMFDs=",
"home/features/hk_homepage_feature.png": "tvvI9KoygRhxHxjqOQwalUX3diVxYVXqvPi8ZZ5YTZc=",
"home/features/hk_homepage_feature_2.png": "Lo-2+UXfaiSYGJMn-aGtGAwAL+Jq4-0nChHVzLcpPhk=",
"home/hero/cta_desktop.png": "MOtsBYHtPW-Lpdsj-mESvS23NPyWxo3pbpxnYoti+oo=",
"home/hero/cta_responsive.png": "39IQIOaf89xZgxmNOJIT-lOcLNqWerqUBy3F+rd09ok=",
"home/hero/cta_image.png": "WLz0qAw448VzXccn9F7BQ9P+vwPQ5ByEzLeTvJqlUoQ=",
"home/hero/hk_home_hero_1.png": "5nj8fPpzcYZqMUA-QzamiUALP21V99hXLLzqNFnQ6ro=",
"home/hero/hk_home_hero_2.png": "0ThmxNh9Z0k6qIzVQHZ-I3r-AWr6r4yGHaSR-ZwpG4E=",
"who-we-are/hero/hk_who_we_are.png": "w6QgWV4iCSUZOHraq-yrr1irVpPEWTTgxErQxIONeew="
Expand Down
23 changes: 7 additions & 16 deletions libs/templates/src/lib/home/sections/cta/data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,13 @@ export const CTABlockContent = () => {
header="Join over 2.5 million online traders"
color="gray"
content={
<>
<OptimizedImage
className="block lg:hidden"
imageName="home/hero/cta_responsive.png"
width={712}
height={800}
alt="cta demo forex mobile"
/>
<OptimizedImage
className="hidden lg:block"
imageName="home/hero/cta_desktop.png"
width={712}
height={800}
alt="cta demo forex desktop"
/>
</>
<OptimizedImage
className="block"
imageName="home/hero/cta_image.png"
width={712}
height={800}
alt="cta demo forex mobile"
/>
}
>
<Button className="lg:mt-400" size="md">
Expand Down

0 comments on commit 53282fc

Please sign in to comment.