From 92c692474b8def76e09c2160d55980ea0a2dc35c Mon Sep 17 00:00:00 2001 From: JaberHPranto Date: Sat, 16 Oct 2021 23:03:14 +0600 Subject: [PATCH] update webpage elements --- client/src/components/Ecommerce/Header.js | 12 +++--------- client/src/components/LandingPage/Navbar.js | 5 +---- client/src/styles/landingPage.css | 4 ++++ 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/client/src/components/Ecommerce/Header.js b/client/src/components/Ecommerce/Header.js index ec9d912..ac57a75 100644 --- a/client/src/components/Ecommerce/Header.js +++ b/client/src/components/Ecommerce/Header.js @@ -50,15 +50,9 @@ function Header() { )} {userInfo && userInfo.user.isAdmin && ( - - Users - - - Products - - - Orders - + + Dashboard + )} diff --git a/client/src/components/LandingPage/Navbar.js b/client/src/components/LandingPage/Navbar.js index b81e48f..652d953 100644 --- a/client/src/components/LandingPage/Navbar.js +++ b/client/src/components/LandingPage/Navbar.js @@ -9,15 +9,12 @@ function NavBar() { PlantLand -