A mobile-first React app for tracking your cold shower challenge, built for Big Daddy's Big Tips (BDBT) brand.
- Monthly Calendar View: Visual tracking with emoji indicators
- Streak Tracking: Current streak and best streak counters
- Progress Milestones: 7, 14, 21, and 30-day milestone tracking
- Local Storage: Data persists between sessions
- Mobile Optimized: Touch-friendly interface with responsive design
- PWA Ready: Can be installed as a mobile app
Main component that orchestrates the entire app with:
- Benefits display (Mental Clarity, Increased Energy, etc.)
- Progress statistics
- Monthly calendar
- Instructions and legend
Interactive calendar with:
- Month navigation
- Day completion tracking
- Long-press for additional options (extra cold, felt amazing)
- Visual indicators for different states
Displays:
- Current streak (prominently featured)
- Best streak achieved
- Monthly completion count
- Progress milestones with checkmarks
- Motivational messages based on streak
- Primary: Deep blue (#1E3A8A) - BDBT brand color
- Secondary: Light blue (#60A5FA) - Accent color
- Success: Green (#10B981) - Completed days
- Background: Gradient from blue to teal
- Headers: Bold, modern sans-serif
- Body: Clean, readable fonts
- Mobile-first: Optimized text sizes for mobile screens
interface TrackedDay {
date: string; // ISO format: "2024-01-01"
completed: boolean; // Basic completion
extraCold?: boolean; // Extra cold shower
feltAmazing?: boolean; // Felt great afterward
}- Node.js 18+
- npm or yarn
npm install
npm run devnpm run buildnpm install -g vercel
vercel --prod- Push code to GitHub repository
- Connect repository to Vercel
- Deploy automatically on push
- Run
npm run build - Upload
distfolder to Vercel
- Tap: Toggle day completion
- Long press: Open detailed options modal
- Swipe-friendly: Month navigation
- Installable: Add to home screen
- Offline-ready: Works without internet
- App-like: Fullscreen experience
- Safari-friendly: Proper viewport settings
- Home screen: Custom app icon and name
- Status bar: Integrated design
- Aligns with BDBT's "small changes, massive results" philosophy
- Emphasizes health, wealth, and happiness benefits
- Motivational copy matches brand voice
- Cool color palette (blues, teals)
- Clean, modern design
- Wellness-focused aesthetic
- React 18: Modern React with hooks
- TypeScript: Type safety
- Tailwind CSS: Utility-first styling
- Vite: Fast development and builds
- Local Storage: Client-side data persistence
- Modern browsers: Chrome, Firefox, Safari, Edge
- Mobile browsers: iOS Safari, Chrome Mobile
- PWA support: Chrome, Safari, Firefox
- Data export: CSV/PDF export functionality
- Social sharing: Share progress to social media
- Reminder notifications: Push notifications for daily reminders
- Stats dashboard: Weekly/monthly analytics
- Habit stacking: Integration with other BDBT habits