From 58bd0bad3ba10720b59fd3de11e34483365289d5 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 25 Sep 2023 13:14:25 +0700
Subject: Add opacity and eager loading on image

---
 src/core/components/elements/Image/Image.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/core/components/elements/Image/Image.jsx')

diff --git a/src/core/components/elements/Image/Image.jsx b/src/core/components/elements/Image/Image.jsx
index ba6bf50d..1562444c 100644
--- a/src/core/components/elements/Image/Image.jsx
+++ b/src/core/components/elements/Image/Image.jsx
@@ -15,8 +15,10 @@ const Image = ({ ...props }) => (
       {...props}
       src={props.src || '/images/noimage.jpeg'}
       placeholderSrc='/images/indoteknik-placeholder.png'
+      effect='opacity'
       alt={props.src ? props.alt : 'Image Not Found - Indoteknik'}
       wrapperClassName='bg-white'
+      loading='eager'
     />
   </>
 )
-- 
cgit v1.2.3

