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

Commit

Permalink
Agrim/DPROD-3466/fix: color intensity hero (#7141)
Browse files Browse the repository at this point in the history
* fix: color intensity hero

* fix: color intensity 2

* fix: improve resolution of image

* fix: fix the photo resolution

* fix: webp to png fix

* fix: changing the image to optimize performance

* fix: changing the image to optimize performance

* fix: update the image

* fix: update photo

* fix: resolution fix of image

* fix: make the relevant changes to the image

* fix: fixing the styling

* fix: making required changes

* fix: empty commit

* fix: empty commit

---------

Co-authored-by: Agrim Jain <[email protected]>
  • Loading branch information
agrim-deriv and Agrim Jain authored Mar 6, 2024
1 parent 0bcbbbd commit 34ece47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/features/pages/home/hero/hero-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const HeroImage = () => {
placeholder="none"
formats={['auto', 'webp']}
loading="eager"
quality={80}
/>
</div>
)
Expand Down
6 changes: 3 additions & 3 deletions src/features/pages/home/hero/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@
}
}
.hero_content_gradient{
background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) -8.48%, rgba(0, 0, 0, 0.60) -8.46%, rgba(0, 0, 0, 0.00) 8.92%, rgba(0, 0, 0, 0.00) 40%, rgba(0, 0, 0, 0.70) 65.27%, rgba(0, 0, 0, 0.80) 102.14%);
background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) -8.48%, rgba(0, 0, 0, 0.60) -8.46%, rgba(0, 0, 0, 0.00) 8.92%, rgba(0, 0, 0, 0.00) 40%, rgba(0, 0, 0, 0.70) 65.27%, rgba(0, 0, 0, 0.80) 102.14%);
@media only screen and (min-width: 601px){
background: linear-gradient(85deg, rgba(0, 0, 0, 0.80) 7.03%, rgba(0, 0, 0, 0.00) 108.11%);
background: linear-gradient(to left, rgba(0, 0, 0, 0) 1.45%, rgba(0, 0, 0, 0) 34.13%, rgba(15, 10, 10, .8) 86.38%);
}
@media only screen and (min-width: 1024px){
background: linear-gradient(84deg, rgba(0, 0, 0, 0.80) 6.97%, rgba(0, 0, 0, 0.00) 107.22%);
background: linear-gradient(to left, rgba(0, 0, 0, 0) 1.45%, rgba(0, 0, 0, 0) 34.13%, rgba(15, 10, 10, .8) 86.38%);
}
}
Binary file modified src/images/migration/home/home_hero_new.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 34ece47

Please sign in to comment.