From 1dc141dc58528de9a7498bc7315325f93e7f1ff5 Mon Sep 17 00:00:00 2001 From: MTG2000 Date: Wed, 12 Jan 2022 21:00:41 +0200 Subject: [PATCH] removed un-implemented links from navbar --- src/Components/Button/Button.tsx | 5 ++--- src/Components/Navbar/NavMobile.tsx | 16 +++++++++------- src/Components/Navbar/Navbar.tsx | 12 ++++++------ 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/Components/Button/Button.tsx b/src/Components/Button/Button.tsx index 2333c44..d2f0af3 100644 --- a/src/Components/Button/Button.tsx +++ b/src/Components/Button/Button.tsx @@ -61,11 +61,10 @@ export default function Button({ color = 'white', variant = 'fill', isLoading, d ${btnPadding[size]} ${variant === 'fill' ? btnStylesFill[color] : btnStylesOutline[color]} ${isLoading && disableOnLoading && 'bg-opacity-70 pointer-events-none'} + ${fullWidth && 'w-full'} `; - if (size === 'md') classes += ' py-12 px-24'; - if (size === 'lg') - if (fullWidth) classes += ' w-full' + const handleClick = () => { if (isLoading && disableOnLoading) return; diff --git a/src/Components/Navbar/NavMobile.tsx b/src/Components/Navbar/NavMobile.tsx index c633c14..89aad5f 100644 --- a/src/Components/Navbar/NavMobile.tsx +++ b/src/Components/Navbar/NavMobile.tsx @@ -68,25 +68,27 @@ export default function NavMobile({ onSearch }: Props) { animate={open ? "show" : "hide"} >
-
+ + {/* setSearchInput(e.target.value)} className="bg-gray-100 text-gray-600 focus:outline-primary w-full py-12 px-20 pl-40 rounded-24 placeholder-gray-500" placeholder="Search" /> - {/* */} - + + */} + - + {/* */}
-