From 9f42caf7a9ed3cb2cececacd1d2c5580c80667e6 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 27 Sep 2024 01:02:39 +0530 Subject: [PATCH] navbar ui component implements #2 --- app/components/Navbar.js | 57 ++++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 23 deletions(-) diff --git a/app/components/Navbar.js b/app/components/Navbar.js index c5bf729..252e732 100644 --- a/app/components/Navbar.js +++ b/app/components/Navbar.js @@ -11,21 +11,21 @@ const Navbar = () => { FarmRuler - - - + + Dashboard - - - + -
- About - Contact - FAQ - - - +
+ About + Contact + FAQ + +
- {isOpen && ( -
- About - Contact - FAQ - - -
- )} + + {/* Side drawer positioned on the right */} +
+ + About + Contact + FAQ + + {/* Sign In and Sign Up buttons inside the drawer */} + + +
); }; -export default Navbar; \ No newline at end of file +export default Navbar;