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


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


From baa7cb664e662cee23cdad92c78d9c14cab2445d Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 3 May 2023 15:19:35 +0700
Subject: add whatsapp widget and page not found

---
 src/core/components/layouts/BasicLayout.jsx | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 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 1440fbf0..8f45d947 100644
--- a/src/core/components/layouts/BasicLayout.jsx
+++ b/src/core/components/layouts/BasicLayout.jsx
@@ -11,22 +11,23 @@ const BasicLayout = ({ children }) => {
       <Navbar />
       <AnimationLayout>
         {children}
-        <div className='fixed bottom-4 right-4 sm:bottom-8 sm:right-8 z-50'>
-          <a href='https://wa.me/628128080622'>
+        <div className='fixed bottom-4 right-4 sm:bottom-10 sm:right-8 z-50'>
+          <a href='https://wa.me/628128080622' className='py-2 pl-3 pr-4 rounded-full bg-[#4FB84A] border border-green-300 flex items-center'>
             <Image
-              src='/images/socials/Whatsapp-2.png'
+              src='/images/socials/WHATSAPP.svg'
               alt='Whatsapp'
               className='block sm:hidden'
-              width={48}
-              height={48}
+              width={36}
+              height={36}
             />
             <Image
-              src='/images/socials/Whatsapp-2.png'
+              src='/images/socials/WHATSAPP.svg'
               alt='Whatsapp'
               className='hidden sm:block'
-              width={60}
-              height={60}
+              width={44}
+              height={44}
             />
+            <span className='text-white font-bold ml-1.5'>Whatsapp</span>
           </a>
         </div>
       </AnimationLayout>
-- 
cgit v1.2.3


From 93832023b7c2f560bd90a02e9768d0fccec79078 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 3 May 2023 16:03:45 +0700
Subject: whatsapp url

---
 src/core/components/layouts/BasicLayout.jsx | 6 +++++-
 1 file changed, 5 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 8f45d947..ae4c3eaa 100644
--- a/src/core/components/layouts/BasicLayout.jsx
+++ b/src/core/components/layouts/BasicLayout.jsx
@@ -1,6 +1,7 @@
 import dynamic from 'next/dynamic'
 import BasicFooter from '../elements/Footer/BasicFooter'
 import Image from 'next/image'
+import whatsappUrl from '@/core/utils/whatsappUrl'
 
 const Navbar = dynamic(() => import('../elements/Navbar/Navbar'))
 const AnimationLayout = dynamic(() => import('./AnimationLayout'))
@@ -12,7 +13,10 @@ const BasicLayout = ({ children }) => {
       <AnimationLayout>
         {children}
         <div className='fixed bottom-4 right-4 sm:bottom-10 sm:right-8 z-50'>
-          <a href='https://wa.me/628128080622' className='py-2 pl-3 pr-4 rounded-full bg-[#4FB84A] border border-green-300 flex items-center'>
+          <a
+            href={whatsappUrl()}
+            className='py-2 pl-3 pr-4 rounded-full bg-[#4FB84A] border border-green-300 flex items-center'
+          >
             <Image
               src='/images/socials/WHATSAPP.svg'
               alt='Whatsapp'
-- 
cgit v1.2.3


From 992c7415988cc76338c991731f21d225e5330fa5 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 3 May 2023 16:39:46 +0700
Subject: fix layout content

---
 src/core/components/layouts/BasicLayout.jsx | 2 +-
 1 file changed, 1 insertion(+), 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 ae4c3eaa..df42e403 100644
--- a/src/core/components/layouts/BasicLayout.jsx
+++ b/src/core/components/layouts/BasicLayout.jsx
@@ -14,7 +14,7 @@ const BasicLayout = ({ children }) => {
         {children}
         <div className='fixed bottom-4 right-4 sm:bottom-10 sm:right-8 z-50'>
           <a
-            href={whatsappUrl()}
+            href={whatsappUrl(null)}
             className='py-2 pl-3 pr-4 rounded-full bg-[#4FB84A] border border-green-300 flex items-center'
           >
             <Image
-- 
cgit v1.2.3

