Skip to content

Aman-khan8/Car-Rental

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 Car-Rental

A modern and responsive car rental website built using React and Tailwind CSS.
This project focuses on clean UI design, smooth navigation, reusable components, and structured frontend architecture.

🔗 Live Demo: (Add your GitHub Pages link here)


📌 Features

  • Responsive design (Mobile, Tablet, Desktop)
  • Smooth scrolling navigation using react-scroll
  • Interactive vehicle model section
  • Dynamic car selection display
  • Reusable UI components
  • Clean and modern layout
  • Lucide React icons integration

🖥️ Sections Included

  • Home
  • About
  • Vehicle Models
  • Testimonials
  • Contact
  • Footer

🚘 Vehicle Model Functionality

In the Vehicle Models section:

  • Users can click on a car name
  • The car image updates dynamically
  • A details card displays:
    • Car specifications
    • Rental rate per hour
    • Additional information

This creates an interactive user experience without backend integration.


🛠️ Tech Stack

  • React.js
  • Tailwind CSS
  • react-scroll
  • lucide-react
  • GitHub Pages (Deployment)

📦 Installation & Setup

Clone the repository:

git clone https://github.com/your-username/car-rental.git
cd car-rental

Install dependencies:

npm install

Run the development server:

npm run dev

🚀 Deployment

This project is deployed using GitHub Pages (gh-pages).

To deploy:

npm run build
npm run deploy

📁 Project Structure (Simplified)

src/
 ├── components/
 ├── assets/
 ├── App.jsx
 └── main.jsx

The project follows a clean component-based structure for better scalability and maintainability.


📚 What I Learned

  • Improved Tailwind CSS layout and responsive design skills
  • Built reusable UI components
  • Structured React components effectively
  • Implemented smooth scrolling navigation using react-scroll
  • Integrated Lucide icons for clean UI
  • Deployed a React project using GitHub Pages

📌 Future Improvements

  • Backend integration for real booking functionality
  • Car filtering options
  • Date-based rental selection
  • Authentication system
  • Payment integration

👨‍💻 Author

Aman Khan
Frontend Developer
University of Central Punjab (Expected Graduation: 2027)


⭐ If you like this project, consider giving it a star!

About

F

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors