From 92b99c8d1d890766da55031f921601372d5b49a3 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 3 May 2023 09:14:02 +0700
Subject: default banner brand, whatsapp link, bug fix after transaction

---
 src/core/components/layouts/BasicLayout.jsx | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(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 1a7185cd..c3f82ef2 100644
--- a/src/core/components/layouts/BasicLayout.jsx
+++ b/src/core/components/layouts/BasicLayout.jsx
@@ -1,5 +1,6 @@
 import dynamic from 'next/dynamic'
 import BasicFooter from '../elements/Footer/BasicFooter'
+import Image from 'next/image'
 
 const Navbar = dynamic(() => import('../elements/Navbar/Navbar'))
 const AnimationLayout = dynamic(() => import('./AnimationLayout'))
@@ -8,7 +9,13 @@ const BasicLayout = ({ children }) => {
   return (
     <>
       <Navbar />
-      <AnimationLayout>{children}</AnimationLayout>
+      <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} />
+        </div>
+      </AnimationLayout>
       <BasicFooter />
     </>
   )
-- 
cgit v1.2.3

