fix(auth+ui): repair signup/login cycle and broken navigation on desktop and mobile
- Stop starting a second Alpine instance in app.js; Livewire already ships and
starts Alpine, so every x-on handler fired twice and toggles (user dropdown,
logout menu) cancelled themselves out.
- Email verification links work on any device/browser (no longer require an
existing session); the user is logged in after verifying.
- Add /dashboard role router; logged-in users hitting /login, /register or the
landing page go to their dashboard instead of looping back to "Login".
- Case-insensitive email login/reset (mobile keyboards capitalise the first
letter); emails and usernames are normalised to lowercase on signup.
- Accept local Egyptian (01xxxxxxxxx), 00-prefixed and spaced phone numbers.
- Role-based sidebar for every app page; new company sidebar replacing dead
href="#" links; wire dashboard quick actions, bell, profile/settings menus.
- Guest header shows Login/Register (or Dashboard when signed in).
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>
Showing
Please register or sign in to comment