A premium, executive-grade Progressive Web App for scheduling and accessing corporate wellness recharge rooms.
- Color Scheme: Deep navy (#0F172A) primary, soft cream (#FFFDF7) background, white cards
- Typography: Inter font family with medium weights and ample spacing
- Style: Premium, sophisticated, executive aesthetic with subtle shadows
- Mobile-first: Fully responsive and touch-optimized for professional use
- ✅ Professional login screen with Stack Auth integration (ready)
- ✅ Executive dashboard with room status and booking management
- ✅ Sophisticated booking scheduler with date/time picker
- ✅ Clean QR code generation for secure room entry
- ✅ PWA support (installable on mobile devices)
- ✅ Premium UI with subtle transitions
- ✅ State management with Zustand
- Framework: Next.js 16 (App Router)
- Styling: Tailwind CSS 4
- State: Zustand
- Animations: Framer Motion
- QR Codes: qrcode.react
- Date Picker: react-datepicker
- Install dependencies:
npm install- Run the development server:
npm run devThe app is installable as a PWA on mobile devices:
- Open the app in a mobile browser
- Look for "Add to Home Screen" prompt
- Install and launch from your home screen
Currently using mock authentication. To integrate Stack Auth:
- Sign up at Stack Auth
- Get your API keys
- Update the login logic in
app/login/page.tsx - Add Stack Auth SDK and configuration
app/
├── login/ # Login page
├── home/ # Main dashboard
├── schedule/ # Booking scheduler
├── qr/ # QR code display
├── layout.tsx # Root layout with PWA setup
└── globals.css # Global styles
components/
├── Header.tsx # App header
├── BottomNav.tsx # Bottom navigation
├── Button.tsx # Reusable button component
├── Card.tsx # Card container
└── StatusBadge.tsx # Status indicator
lib/
├── store.ts # Zustand state management
└── utils.ts # Utility functions
public/
├── manifest.json # PWA manifest
└── sw.js # Service worker
- Add Icons: Create 192x192 and 512x512 PNG icons for PWA
- Stack Auth: Integrate real authentication
- Backend: Connect to Firestore for bookings
- Notifications: Implement push notifications for reminders
- Testing: Add user testing and feedback collection
The UI follows modern mobile app design principles:
- Large, touch-friendly buttons
- Ample whitespace
- Smooth transitions
- Clear visual hierarchy
- Calming color palette
- Mock data is used for room status and bookings
- Service worker caches key routes for offline access
- All routes except
/loginrequire authentication - QR codes are generated client-side with booking data
Built with ❤️ for a better recharge experience