Change SignIn Page Slider images (#3337)

* Change SignIn Page Slider images

* Add loading lazy attribute to image
This commit is contained in:
Sachin Chaurasiya 2022-03-09 23:36:19 +05:30 committed by GitHub
parent 9def45ac60
commit bf41163aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 458 KiB

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 KiB

After

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 KiB

After

Width:  |  Height:  |  Size: 362 KiB

View File

@ -26,7 +26,12 @@ const LoginCarousel = () => {
{LOGIN_SLIDE.map((data) => (
<div data-testid="slider-container" key={uniqueId()}>
<div>
<img alt="slider" className="tw-w-full" src={data.image} />
<img
alt="slider"
className="tw-w-full"
loading="lazy"
src={data.image}
/>
</div>
<div className="tw-mt-24 tw-mb-11">
<p