Built with React.js and Tailwind CSS, featuring clean design and smooth animations
- About The Project
- Features
- Tech Stack
- Getting Started
- Project Structure
- Usage
- Customization
- Deployment
- Contributing
- License
- Contact
EcoTrack Landing Page is a modern, responsive website designed to showcase a fictional mobile app that helps users track and reduce their carbon footprint. The landing page features a clean design, smooth animations, and comprehensive sections including hero, features, testimonials, and more.
- π¨ Modern Design: Clean, professional UI with engaging gradients and animations
- π± Fully Responsive: Optimized for desktop, tablet, and mobile devices
- β‘ Fast Performance: Built with modern React practices and optimized components
- π§ Easy to Customize: Modular component structure for easy modifications
- π Eco-Themed: Green color palette and sustainability-focused content
- Responsive Navigation with mobile hamburger menu
- Hero Section with animated phone mockup and call-to-action buttons
- Features Grid showcasing app capabilities
- How It Works section with step-by-step process
- Customer Testimonials with star ratings
- Statistics Section with impressive numbers
- Download CTA for iOS and Android
- Professional Footer with links and branding
- Smooth Scrolling navigation between sections
- Hover Effects and micro-animations throughout
- Frontend Framework: React.js 18.2.0
- Styling: Tailwind CSS 3.3.0
- Icons: Lucide React
- Build Tool: Create React App
- Package Manager: npm
- Development: ES6+ JavaScript
Make sure you have the following installed on your system:
- Node.js (version 14 or higher)
- npm or yarn package manager
- Git for version control
-
Clone the repository
git clone https://github.com/yourusername/ecotrack-landing.git cd ecotrack-landing -
Install dependencies
npm install
-
Start the development server
npm start
-
Open your browser
Navigate to
http://localhost:3000to view the application.
If you want to start from scratch:
# Create a new React app
npx create-react-app ecotrack-landing
cd ecotrack-landing
# Install required dependencies
npm install -D tailwindcss postcss autoprefixer
npm install lucide-react
# Initialize Tailwind CSS
npx tailwindcss init -p
# Start development server
npm startecotrack-landing/
βββ public/
β βββ index.html
β βββ favicon.ico
βββ src/
β βββ components/
β β βββ Navbar.jsx # Navigation component
β β βββ Hero.jsx # Hero section
β β βββ Features.jsx # Features grid
β β βββ HowItWorks.jsx # Process explanation
β β βββ Testimonials.jsx # Customer reviews
β β βββ Stats.jsx # Statistics section
β β βββ CTA.jsx # Call-to-action
β β βββ Footer.jsx # Footer component
β βββ App.js # Main app component
β βββ App.css # Custom styles
β βββ index.css # Tailwind imports
β βββ index.js # App entry point
βββ package.json
βββ tailwind.config.js # Tailwind configuration
βββ postcss.config.js # PostCSS configuration
βββ README.md
npm startRuns the app in development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
npm run buildBuilds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.
npm testLaunches the test runner in the interactive watch mode.
The project uses a green-themed color palette. To customize colors, modify the Tailwind classes in the components:
// Current green theme
className="bg-green-500 hover:bg-green-600"
// Change to blue theme
className="bg-blue-500 hover:bg-blue-600"- Hero Section: Edit
src/components/Hero.jsx - Features: Modify the features array in
src/components/Features.jsx - Testimonials: Update testimonials data in
src/components/Testimonials.jsx - Statistics: Change stats in
src/components/Stats.jsx
- Create a new component in
src/components/ - Import and add it to
src/App.js - Update navigation links if needed
Add custom CSS to src/App.css or use Tailwind's @apply directive for reusable styles:
.custom-button {
@apply bg-green-500 text-white px-6 py-3 rounded-full hover:bg-green-600 transition-colors;
}-
Install Vercel CLI
npm i -g vercel
-
Deploy
npm run build vercel --prod
-
Build the project
npm run build
-
Drag and drop the
buildfolder to Netlify Drop
-
Install gh-pages
npm install --save-dev gh-pages
-
Add deploy scripts to package.json
"scripts": { "predeploy": "npm run build", "deploy": "gh-pages -d build" }
-
Deploy
npm run deploy
The design is optimized for the following breakpoints:
- Mobile: < 768px
- Tablet: 768px - 1024px
- Desktop: > 1024px
Contributions are welcome! Here's how you can help:
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow the existing code style and structure
- Write clear commit messages
- Test your changes thoroughly
- Update documentation if needed
- Ensure responsive design is maintained
The landing page is optimized for performance:
- β Lighthouse Score: 90+ on all metrics
- β Mobile Friendly: Fully responsive design
- β Fast Loading: Optimized images and code splitting
- β SEO Ready: Semantic HTML structure
- β Accessible: WCAG compliance
In the project directory, you can run:
npm start- Runs the development servernpm test- Launches the test runnernpm run build- Builds the app for productionnpm run eject- Ejects from Create React App (one-way operation)
This project is licensed under the MIT License - see the LICENSE file for details.
Your Name - Sandra Lavenda
Project Link: https://github.com/ProximaD/ecotrack
Live Demo: https://ecotrack-ewzw.vercel.app/
- React.js - The web framework used
- Tailwind CSS - For utility-first CSS framework
- Lucide Icons - For beautiful icons
- Create React App - For project bootstrapping
- Vercel - For deployment platform
Made with β€οΈ and π± for a sustainable future
Star β this repo if you found it helpful!