From b379428c4b3c45dad431d8a13a9dc66aba485f88 Mon Sep 17 00:00:00 2001 From: Amey Naik Date: Thu, 19 Jan 2023 14:08:54 +0530 Subject: [PATCH] Navbar Brand logo also made redirectable to rocket.chat --- app/components/menubar/newMenuBar.js | 31 +++++++++++++++++----------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/app/components/menubar/newMenuBar.js b/app/components/menubar/newMenuBar.js index fe1d1d63..ecc4f6b7 100644 --- a/app/components/menubar/newMenuBar.js +++ b/app/components/menubar/newMenuBar.js @@ -26,7 +26,10 @@ const MobileNav = ({ nav_Items, nft, brandInfo }) => { const { user, handleLogin, handleLogout, handleResend, isModalOpen, setIsModalOpen, method } = useRCAuth4Google(); return ( - + { href='/' className='d-flex justify-content-center align-items-center ' > - + @@ -157,7 +160,9 @@ const MobileNav = ({ nav_Items, nft, brandInfo }) => { - {nft ? : + {nft ? ( + + ) : ( { isModalOpen={isModalOpen} setIsModalOpen={setIsModalOpen} method={method} - />} + /> + )} @@ -195,7 +201,7 @@ const DesktopNav = ({ nav_Items, nft, brandInfo }) => { return ( - { height={32} width={132} /> +