This is a modern, interactive web application dedicated to promoting environmental activities and community clean-up initiatives during Green Week. The project represents a digital initiative for raising public awareness about environmental issues, providing educational resources, information about local events, and tools for active involvement in protecting the surrounding environment.
Live URL: https://itsiamdev.github.io/greenweek/
- π Hero Section: Visually appealing presentation with representative images for environmental activities
- π§Ή Activities: Detailed information about community clean-up events and recycling programs
- π Resources: Guides and useful materials for recycling and waste reduction
- π‘ Practical Tips: Recommendations for a sustainable lifestyle
- πΈ Photo Gallery: Collection of images from previous events for inspiration
- π₯ Educational Videos: Multimedia content for interactive learning
- βΉοΈ Informative Footer: Links to partner organizations and contact information
The project is built using cutting-edge web technologies:
- β‘ Vite: Fast bundler for application development and build processes
- βοΈ React: JavaScript framework for creating dynamic user interfaces
- π TypeScript: JavaScript superset for static typing and safer development
- π¨ Tailwind CSS: Utility-first CSS framework for rapid, responsive styling
- π§© shadcn/ui: Accessible and customizable UI components
- π ESLint: For ensuring code quality and consistency
To run the project locally, follow these steps:
- Node.js (version 16 or later)
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/iam269/greenweek.git cd greenweek -
Install dependencies
npm install
-
Start the development server
npm run dev
The application will be available at http://localhost:5173/.
To create an optimized production build:
npm run buildBuild files will be generated in the dist/ directory.
greenweek/
βββ public/ # Static assets
βββ src/
β βββ components/ # Reusable React components
β β βββ Activities.jsx
β β βββ Footer.jsx
β β βββ Gallery.jsx
β β βββ Header.jsx
β β βββ Hero.jsx
β β βββ Resources.jsx
β β βββ Tips.jsx
β β βββ Videos.jsx
β βββ pages/ # Page components
β βββ hooks/ # Custom React hooks
β βββ assets/ # Images and media files
β βββ App.jsx # Main application component
β βββ main.jsx # Application entry point
βββ package.json # Project dependencies and scripts
βββ vite.config.js # Vite configuration
βββ tailwind.config.js # Tailwind CSS configuration
βββ README.md # Project documentation
Contributions are welcome! If you'd like to improve the project:
- Fork the repository
- Create a feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Open a Pull Request
The application uses Google Analytics for tracking user interactions. The tracking ID is configured in the index.html file.
- π Lazy Loading: Components are loaded on-demand to improve initial load times
- πΌοΈ Image Optimization: Images are optimized for web delivery
- βοΈ Code Splitting: Application code is split into chunks for better caching
- π¦ Minification: Production builds include minified CSS and JavaScript
The application supports all modern browsers:
- π Chrome (latest)
- π¦ Firefox (latest)
- π Safari (latest)
- π· Edge (latest)
This project is open-source and licensed under the MIT License.
For questions or suggestions, please open an issue in the GitHub repository or contact the development team.
