Replace getCurrentUser import with checkAuth in quotes API route.
Fix z.coerce.number() type mismatch with zodResolver in calculator
forms by using z.number() directly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12-task plan covering route restructure, auth simplification,
DB cleanup, security hardening, debug stripping, setup docs,
and build script for zip delivery.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Expand the calculator with a multi-step wizard flow, admin dashboard with
quote tracking, login/auth system, distance API integration, and history
page. Add new UI components (dialog, progress, select, slider, switch),
update pricing logic, and improve the overall design with new assets.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Features:
- Complete Next.js 16 app with TypeScript and Tailwind CSS
- Customer-facing price calculator form with validation
- Admin mode showing detailed price breakdowns
- Accurate price calculations matching business requirements
- Responsive design with custom shadcn/ui theme
- API endpoint for quote requests
- Danish postal code distance calculations
- Complete test coverage against documentation examples
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>