Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

dapphari007/World-Environment-Action-Day

Repository files navigation

๐ŸŒ World Environment Day - EcoAction Hub

A beautiful, gamified landing page for World Environment Day that empowers individuals to take meaningful climate action through interactive experiences, education, and community engagement.

World Environment Day

๐Ÿš€ Live Demo

Experience the live application: EcoAction Hub

โœจ Features

๐Ÿงฎ Carbon Footprint Calculator

  • 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

๐ŸŽฎ EcoGame Hub (Gamified Experience)

  • 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

๐ŸŒฑ Sustainable Living Tips

  • 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

๐Ÿค Social Features

  • 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

๐Ÿ“ฑ User Experience

  • 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

๐Ÿ› ๏ธ Tech Stack

  • Frontend: React 18 + TypeScript
  • Styling: Tailwind CSS
  • Icons: Lucide React
  • Build Tool: Vite
  • Deployment: Netlify/Vercel ready

๐Ÿ“ฆ Installation

  1. Clone the repository

    git clone https://github.com/your-username/world-environment-day.git
    cd world-environment-day
  2. Install dependencies

    npm install
  3. Start development server

    npm run dev
  4. Open in browser

    http://localhost:5173
    

๐Ÿ—๏ธ Project Structure

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

๐ŸŽฏ Key Components

Carbon Calculator

  • Calculates emissions from electricity, transport, food, and waste
  • Provides personalized reduction recommendations
  • Shows impact in relatable terms (trees planted equivalent)

EcoGame Hub

  • 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

Social Features

  • One-click sharing to major social platforms
  • Downloadable resources from UNEP
  • Friend invitation system with tracking
  • Community impact statistics

๐ŸŽจ Design Philosophy

  • 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

๐Ÿ“Š Environmental Impact

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

๐ŸŒŸ Gamification Elements

  • 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

๐Ÿ”ง Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run lint - Run ESLint

๐ŸŒ Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

๐Ÿ“ฑ Mobile Optimization

  • Touch-friendly interface
  • Optimized images and assets
  • Fast loading times
  • Responsive breakpoints

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ‘จโ€๐Ÿ’ป Creator

HARISH K

  • ๐ŸŒ Location: India
  • ๐ŸŒฑ Role: Environment Care Taker
  • ๐Ÿ“ง Email: harishkalyan5464@gmail.com
  • ๐Ÿ’š Mission: Making environmental action accessible and engaging for everyone

๐Ÿ™ Acknowledgments

  • 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

๐Ÿ“ˆ Future Enhancements

  • Real-time CO2 data integration
  • Mobile app development
  • AI-powered personalized recommendations
  • Blockchain-based reward system
  • Corporate partnership program
  • Multi-language support

๐ŸŒ Global Impact Stats

  • 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

About

Frontend Challenge - June Celebrations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published