'use client'; import { useState, useEffect } from 'react'; import { useRouter } from 'next/navigation'; import Image from 'next/image'; import { users } from '@/data/mockData'; import { Zap, ArrowRight, Bike, Wallet, Leaf, ShieldCheck, MapPin, Truck, ChevronRight, BarChart3, BatteryCharging, Clock, Activity } from 'lucide-react'; export default function LandingPage() { const router = useRouter(); const [loading, setLoading] = useState(false); const [scrolled, setScrolled] = useState(false); useEffect(() => { const handleScroll = () => { setScrolled(window.scrollY > 20); }; window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); }, []); const handleLogin = async (email: string) => { setLoading(true); await new Promise(resolve => setTimeout(resolve, 500)); const user = users.find(u => u.email === email); if (user) { sessionStorage.setItem('authToken', 'demo-token'); sessionStorage.setItem('userRole', user.role); sessionStorage.setItem('userName', user.name); switch (user.role) { case 'super_admin': case 'admin_manager': case 'staff': router.push('/admin'); break; case 'accountant': router.push('/admin/accounting'); break; case 'investor': router.push('/investor/dashboard'); break; case 'biker': router.push('/biker'); break; case 'swapstation': router.push('/swapstation'); break; case 'merchant': router.push('/merchant'); break; default: router.push('/login'); } } setLoading(false); }; return (
Mobility Ltd
The largest EV Tech platform enabling the Gig Economy. Rent, Rent-to-Own, or Invest in EVs. Join the sustainable mobility revolution today.
Explore categories of services tailored to save you money, boost your earnings, and reduce emissions.
Save on petrol costs and rent a high-performance e-scooter for your daily commute or delivery gigs.
Invest in fractional EV ownership. Let us manage the fleet while you enjoy guaranteed monthly returns.
Never wait to charge. Swap your depleted battery for a fully charged one in less than 2 minutes.
Are you a business looking for emission-free delivery solutions? Partner with us for dedicated EV riders or rent-to-own schemes for your fleet.
We provide the most robust infrastructure and technology to ensure your rides are seamless and profitable.
Get real-time tracking, remote locking, and smart analytics for every vehicle.
Extensive network of swapping stations across major hubs for zero downtime.
AI-powered predictive vehicle maintenance ensures bikes are always road-ready.
Dedicated operations command center and support team ready to assist.
Start your journey in just 3 easy steps.
Add your personal details like NID, Driving License, and basic info securely.
Select your EV model and subscription plan (Daily, Weekly, or Rent-to-Own).
Pick up your bike from the nearest hub and start delivering to earn more!