diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-05-19 17:12:00 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-05-19 17:12:00 +0700 |
| commit | 1d91eceb44f6169442e8129fedc90e5335e44588 (patch) | |
| tree | a3226b4ef51c4a84491f6a35d9ad8e3805424526 | |
| parent | 0e2ac6ec63944d8bebb123a862b18e337cbbbfbd (diff) | |
set image resolution on banner section
| -rw-r--r-- | src/lib/home/components/BannerSection.jsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/home/components/BannerSection.jsx b/src/lib/home/components/BannerSection.jsx index dfef071f..2010503d 100644 --- a/src/lib/home/components/BannerSection.jsx +++ b/src/lib/home/components/BannerSection.jsx @@ -15,8 +15,9 @@ const BannerSection = () => { {bannerSection.data?.map((banner) => ( <Link key={banner.id} href={banner.url}> <Image - width={512} - height={256} + width={1024} + height={512} + quality={100} src={banner.image} alt={banner.name} className='h-auto w-full rounded' |
