From 31816dc3a6cb62e1480524c8f0065a7835fefdcd Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 3 May 2023 09:31:45 +0700
Subject: add widget whatsapp link

---
 src/core/components/layouts/BasicLayout.jsx | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

(limited to 'src/core/components/layouts/BasicLayout.jsx')

diff --git a/src/core/components/layouts/BasicLayout.jsx b/src/core/components/layouts/BasicLayout.jsx
index c3f82ef2..1440fbf0 100644
--- a/src/core/components/layouts/BasicLayout.jsx
+++ b/src/core/components/layouts/BasicLayout.jsx
@@ -12,8 +12,22 @@ const BasicLayout = ({ children }) => {
       <AnimationLayout>
         {children}
         <div className='fixed bottom-4 right-4 sm:bottom-8 sm:right-8 z-50'>
-          <Image src='/images/socials/Whatsapp-2.png' alt='Whatsapp' className='block sm:hidden' width={48} height={48} />
-          <Image src='/images/socials/Whatsapp-2.png' alt='Whatsapp' className='hidden sm:block' width={60} height={60} />
+          <a href='https://wa.me/628128080622'>
+            <Image
+              src='/images/socials/Whatsapp-2.png'
+              alt='Whatsapp'
+              className='block sm:hidden'
+              width={48}
+              height={48}
+            />
+            <Image
+              src='/images/socials/Whatsapp-2.png'
+              alt='Whatsapp'
+              className='hidden sm:block'
+              width={60}
+              height={60}
+            />
+          </a>
         </div>
       </AnimationLayout>
       <BasicFooter />
-- 
cgit v1.2.3

