-
-
-
- {currentUser.name.charAt(0)}
-
-
-
Welcome back, {currentUser.name.split(' ')[0]}!
-
Here's your rental status
-
-
-
-
-
-
-
-
-
-
-
- {currentBike && (
-
-
Current Bike
-
-
- )}
-
-
-
-
Quick Actions
-
-
-
-
-
-
-
-
-
-
Recent Transactions
- t.userId === 'u1')} compact />
-
-
-
-
+
+
-
Refer a friend
-
Earn ৳500 Credit
-
Share your referral link and earn free rides
+
JAIBEN
+
Mobility Ltd
-
-
+
+
+
+
+
+
+ Bangladesh's Leading EV Platform
+
+
+ Electric Vehicle
+
Rental
+ Made Simple
+
+
+ Rent, Rent-to-Own, or Invest in EVs. Join Bangladesh's fastest growing
+ electric mobility ecosystem with FOCO model for investors.
+
+
+
+
+
handleLogin('rahim@email.com')}
+ disabled={loading}
+ className="p-6 bg-slate-800/50 border border-slate-700 rounded-2xl hover:border-biker hover:bg-biker/10 transition-all group text-left"
+ >
+
+
+
+ Biker
+ Rent electric bikes for daily commute
+
+ Login as Biker
+
+
+
+
handleLogin('investor@email.com')}
+ disabled={loading}
+ className="p-6 bg-slate-800/50 border border-slate-700 rounded-2xl hover:border-green-500 hover:bg-green-500/10 transition-all group text-left"
+ >
+
+
+
+ Investor
+ FOCO model with guaranteed returns
+
+ Login as Investor
+
+
+
+
handleLogin('swap@jaiben.com')}
+ disabled={loading}
+ className="p-6 bg-slate-800/50 border border-slate-700 rounded-2xl hover:border-purple-500 hover:bg-purple-500/10 transition-all group text-left"
+ >
+
+
+
+ Swap Station
+ Battery swap and charging services
+
+ Login as Swap Station
+
+
+
+
+
+
+
+
+
+
Ready to join the EV revolution?
+
Start renting or investing today and be part of Bangladesh's sustainable future.
+
+
+ router.push('/login')}
+ className="w-full py-3 bg-white text-accent rounded-lg font-semibold hover:bg-slate-100 transition-colors"
+ >
+ Get Started
+
+ router.push('/login')}
+ className="w-full py-3 border-2 border-white text-white rounded-lg font-semibold hover:bg-white/10 transition-colors"
+ >
+ Learn More
+
+
+
+
+
+
+
+
);
}
\ No newline at end of file
diff --git a/src/components/LayoutContent.tsx b/src/components/LayoutContent.tsx
new file mode 100644
index 0000000..7a300fc
--- /dev/null
+++ b/src/components/LayoutContent.tsx
@@ -0,0 +1,21 @@
+"use client";
+
+import { usePathname } from "next/navigation";
+import Sidebar from "@/components/Sidebar";
+
+interface LayoutContentProps {
+ children: React.ReactNode;
+}
+
+export default function LayoutContent({ children }: LayoutContentProps) {
+ const pathname = usePathname();
+ const showSidebar = pathname !== "/" && pathname !== "/login";
+ return (
+ <>
+ {showSidebar &&
}
+
+ {children}
+
+ >
+ );
+}
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index 0d52efe..8b9c3cd 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -154,7 +154,20 @@ export default function Sidebar() {
Admin User
admin@jaiben.com
-