import { useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { Box, Card, Stack, Typography, TextField, InputAdornment, IconButton, Button, Checkbox, FormControlLabel, Link } from '@mui/material'; import Visibility from '@mui/icons-material/Visibility'; import VisibilityOff from '@mui/icons-material/VisibilityOff'; import BoltIcon from '@mui/icons-material/Bolt'; import LocalShippingOutlinedIcon from '@mui/icons-material/LocalShippingOutlined'; import VerifiedOutlinedIcon from '@mui/icons-material/VerifiedOutlined'; import Logo from '@/components/Logo'; export default function Login() { const navigate = useNavigate(); const [show, setShow] = useState(false); const [auth, setAuth] = useState('hub.delhi@doormile.in'); const [pwd, setPwd] = useState('password123'); const handleSignIn = () => { navigate('/dashboard'); }; return ( {/* Brand Side Panel */} {/* Background Decorative Circles */} {/* BLACK LOGO REPLACEMENT (Sidebar) */} Doormile Hub Console Every parcel,
handled with ease.
Receive parcels, sort them, and send them out for delivery or transfer to another city — all from one simple screen. {[ { icon: BoltIcon, t: 'We tell you which shelf each parcel goes on' }, { icon: LocalShippingOutlinedIcon, t: 'Scan parcels in as trucks arrive' }, { icon: VerifiedOutlinedIcon, t: 'Keep an eye on cold-storage parcels' } ].map((f) => ( {f.t} ))}
© 2026 Doormile Logistics Pvt. Ltd.
{/* Form Panel */} {/* BLACK LOGO REPLACEMENT (Mobile View) */} Hub Sign In Sign in to your Doormile Hub operations account. Username / Email setAuth(e.target.value)} /> Password setPwd(e.target.value)} InputProps={{ endAdornment: ( setShow((s) => !s)} edge="end" size="small"> {show ? : } ) }} /> } label={Remember me} /> Forgot password? New to Hub Operations?{' '} { e.preventDefault(); navigate('/signup'); }} underline="hover" sx={{ color: '#C01227', fontWeight: 600 }} > Create an account
); }