From c68cd608cdd278874539977fc28c738e7ca7eb8a Mon Sep 17 00:00:00 2001 From: Prashant Date: Sun, 17 Mar 2024 13:02:51 +0530 Subject: [PATCH 1/2] responsive navbar --- bet_app/src/components/Nav.jsx | 18 +++++++++--------- bet_app/src/pages/Home.jsx | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bet_app/src/components/Nav.jsx b/bet_app/src/components/Nav.jsx index 520290d..0e1a4bb 100644 --- a/bet_app/src/components/Nav.jsx +++ b/bet_app/src/components/Nav.jsx @@ -13,25 +13,25 @@ const Nav = ({ username }) => { navigate("/createBet"); }; return ( -
-
- +
+
+ - + Welcome,{username} - +
- +
); diff --git a/bet_app/src/pages/Home.jsx b/bet_app/src/pages/Home.jsx index 27e4245..0084bd4 100644 --- a/bet_app/src/pages/Home.jsx +++ b/bet_app/src/pages/Home.jsx @@ -44,7 +44,7 @@ const Home = () => { return (