summaryrefslogtreecommitdiff
path: root/src/lib/home/components
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-05-19 17:12:00 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-05-19 17:12:00 +0700
commit1d91eceb44f6169442e8129fedc90e5335e44588 (patch)
treea3226b4ef51c4a84491f6a35d9ad8e3805424526 /src/lib/home/components
parent0e2ac6ec63944d8bebb123a862b18e337cbbbfbd (diff)
set image resolution on banner section
Diffstat (limited to 'src/lib/home/components')
-rw-r--r--src/lib/home/components/BannerSection.jsx5
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'