A beautiful, gamified landing page for World Environment Day that empowers individuals to take meaningful climate action through interactive experiences, education, and community engagement.
Experience the live application: EcoAction Hub
- Interactive Calculator: Input your lifestyle data to calculate your annual carbon footprint
- Personalized Recommendations: Get actionable tips to reduce your environmental impact
- Impact Visualization: See your results with beautiful charts and comparisons
- Achievement Levels: Earn titles like "Eco Champion" or "Green Warrior" based on your footprint
- Active Challenges: 4 ongoing challenges with real-time progress tracking
- Reward System: Earn EcoCoins and unlock exclusive badges
- Leaderboard: Compete with eco-warriors worldwide
- Achievement System: Collect rare badges from Common to Divine rarity
- Level Progression: Advance through levels as you complete environmental actions
- Interactive Categories: Home, Shopping, Energy, and Waste reduction tips
- Point System: Earn points for completing sustainable actions
- Progress Tracking: Visual progress bars and completion status
- Difficulty Levels: Easy to Hard challenges for all experience levels
- Share Progress: Multi-platform sharing (Facebook, Twitter, Instagram, LinkedIn)
- Invite Friends: Referral system with rewards
- Download Resources: Access to UNEP environmental guides and toolkits
- Community Stats: Global impact statistics and achievements
- Responsive Design: Optimized for all devices (mobile, tablet, desktop)
- Accessibility First: Screen reader compatible and keyboard navigation
- Smooth Animations: Engaging micro-interactions and transitions
- Modern UI: Clean, intuitive interface with earth-tone color palette
- Frontend: React 18 + TypeScript
- Styling: Tailwind CSS
- Icons: Lucide React
- Build Tool: Vite
- Deployment: Netlify/Vercel ready
-
Clone the repository
git clone https://github.com/your-username/world-environment-day.git cd world-environment-day -
Install dependencies
npm install
-
Start development server
npm run dev
-
Open in browser
http://localhost:5173
src/
โโโ components/
โ โโโ Hero.tsx # Landing hero section
โ โโโ CarbonCalculator.tsx # Interactive carbon footprint calculator
โ โโโ SustainableTips.tsx # Gamified eco-tips with progress tracking
โ โโโ EcoGameHub.tsx # Main gamification hub with challenges
โ โโโ CallToAction.tsx # Social sharing and action buttons
โ โโโ ShareModal.tsx # Multi-platform sharing modal
โ โโโ Footer.tsx # Footer with creator info
โโโ App.tsx # Main app component
โโโ main.tsx # App entry point
โโโ index.css # Global styles and animations
- Calculates emissions from electricity, transport, food, and waste
- Provides personalized reduction recommendations
- Shows impact in relatable terms (trees planted equivalent)
- 4 Active Challenges:
- 7-Day Eco Streak (Easy)
- Carbon Crusher (Medium)
- Community Builder (Medium)
- Waste Warrior (Hard)
- Real-time progress tracking
- Reward system with EcoCoins and badges
- Global leaderboard integration
- One-click sharing to major social platforms
- Downloadable resources from UNEP
- Friend invitation system with tracking
- Community impact statistics
- Earth-Inspired Palette: Greens, blues, and earth tones
- Gamification: Points, badges, levels, and challenges
- Accessibility: WCAG compliant with proper contrast ratios
- Mobile-First: Responsive design for all screen sizes
- Micro-Interactions: Smooth animations and hover effects
This platform helps users:
- Calculate their carbon footprint accurately
- Learn sustainable practices through gamification
- Track their environmental progress over time
- Connect with a global community of eco-warriors
- Take Action through structured challenges and goals
- EcoCoins: Virtual currency earned through actions
- Badges: 6 rarity levels from Common to Divine
- Challenges: Time-limited goals with rewards
- Leaderboards: Global and friend rankings
- Streaks: Daily action tracking
- Levels: Progressive advancement system
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Touch-friendly interface
- Optimized images and assets
- Fast loading times
- Responsive breakpoints
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
HARISH K
- ๐ Location: India
- ๐ฑ Role: Environment Care Taker
- ๐ง Email: harishkalyan5464@gmail.com
- ๐ Mission: Making environmental action accessible and engaging for everyone
- UNEP for environmental resources and data
- World Environment Day for inspiration
- React Community for amazing tools and libraries
- Climate Scientists for crucial research and data
- Real-time CO2 data integration
- Mobile app development
- AI-powered personalized recommendations
- Blockchain-based reward system
- Corporate partnership program
- Multi-language support
- 2.5M+ Active Users
- 1.2M Tons COโ Reduced
- 500K Trees Planted Equivalent
- 127 Countries Reached
๐ฑ Every Action Matters โข Together We Can Save Our Planet ๐
Made with ๐ for World Environment Day 2024
