summaryrefslogtreecommitdiff
path: root/src/pages/index.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-05-03 10:38:52 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-05-03 10:38:52 +0700
commitb4abdb00ef83aa824e8a05d5b75df48adb7b9629 (patch)
tree86ce2454793fe31b54a87f151433cbf86dbed134 /src/pages/index.jsx
parent31816dc3a6cb62e1480524c8f0065a7835fefdcd (diff)
semi dynamic page
Diffstat (limited to 'src/pages/index.jsx')
-rw-r--r--src/pages/index.jsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index a5d9fd2d..9c434660 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -60,7 +60,13 @@ export default function Home() {
<div className='flex h-[360px]' ref={wrapperRef} onLoad={handleOnLoad}>
<div className='w-2/12'>
{secondHeroBanner.isFetched && (
- <Image src={secondHeroBanner.data[0].image} width={512} height={1024} alt={secondHeroBanner.data[0].name} className='object-cover object-center h-full' />
+ <Image
+ src={secondHeroBanner.data[0].image}
+ width={512}
+ height={1024}
+ alt={secondHeroBanner.data[0].name}
+ className='object-cover object-center h-full'
+ />
)}
</div>
<div className='w-7/12 px-1' ref={bannerRef}>