From 8e3e97a3c8d283b87ac0dbd98522b5cb95165e10 Mon Sep 17 00:00:00 2001 From: Nikhil Date: Sat, 13 Sep 2025 09:09:36 +0530 Subject: [PATCH 1/7] added my orders and my profile page --- frontend/src/App.jsx | 48 +++++- frontend/src/pages/MyOrder/MyOrder.css | 50 ++++++ frontend/src/pages/MyOrder/MyOrder.jsx | 190 +++++++++++++++++++++ frontend/src/pages/MyProfile/MyProfile.css | 60 +++++++ frontend/src/pages/MyProfile/MyProfile.jsx | 73 ++++++++ 5 files changed, 420 insertions(+), 1 deletion(-) create mode 100644 frontend/src/pages/MyOrder/MyOrder.css create mode 100644 frontend/src/pages/MyOrder/MyOrder.jsx create mode 100644 frontend/src/pages/MyProfile/MyProfile.css create mode 100644 frontend/src/pages/MyProfile/MyProfile.jsx diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 61abd78d..0d256156 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -27,6 +27,8 @@ import ScrollToBottom from "./components/ScrollToBottomButton/ScrollToBottomButt import ReferralProgram from "./components/Referrals/ReferralProgram"; import AboutUs from "./components/Aboutus/Aboutus"; import FAQ from "./components/FAQ/FAQ"; +import MyProfile from "./pages/MyProfile/MyProfile"; +import MyOrder from "./pages/MyOrder/MyOrder"; const App = () => { const [showLogin, setShowLogin] = useState(false); @@ -92,13 +94,57 @@ const App = () => { } /> } /> } /> + ) : ( +
+

+ Please Log In To Proceed +

+

+ Your journey continues after login 🔐 +

+
+ ) + } /> + ) : ( +
+

+ Please Log In To Proceed +

+

+ Your journey continues after login 🔐 +

+
+ ) + } /> } /> {/* floating button */} - + {/* ✅ Footer now contains FAQ */}