Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pizza Website

A modern and responsive pizza restaurant website built with React. This project showcases a complete multi-page application with an attractive UI and several core React concepts.

Overview

The Pizza Website is designed to provide users with a smooth and interactive experience. Visitors can explore the home page, browse the menu, learn more about the restaurant, and contact the team directly through a functional contact form.

This project was built to strengthen my understanding of React and front-end development concepts while creating a real-world application.


Features

  • Responsive and modern user interface
  • Home Page
  • About Us Page
  • Menu Page
  • Contact Page
  • Dynamic menu rendering using React Props
  • Client-side routing with React Router
  • Form handling and validation using React Hook Form
  • Email sending functionality with EmailJS
  • Reusable React components
  • Clean and organized project structure
  • Mobile-friendly design using Tailwind CSS

Technologies Used

  • React.js
  • React Router DOM
  • React Hook Form
  • EmailJS
  • Tailwind CSS
  • JavaScript (ES6+)
  • HTML5
  • CSS3

React Concepts Covered

This project demonstrates the following React concepts:

  • Functional Components
  • JSX
  • Props
  • Component Reusability
  • React Router
  • Mapping Lists with map()
  • Form Handling
  • Form Validation
  • Event Handling
  • Conditional Rendering
  • State Management
  • Project Structure Organization

Pages

Home Page

  • Displays the main landing section of the website.
  • Provides an engaging introduction to the restaurant.

About Page

  • Shares information about the restaurant and its mission.
  • Includes a responsive hero section and descriptive content.

Menu Page

  • Displays a collection of pizzas dynamically.
  • Uses React Props and map() to render menu items.

Contact Page

  • Allows users to send messages directly.
  • Implements validation using React Hook Form.
  • Sends emails using EmailJS.

Project Structure

src/
│
├── assets/
├── components/
│   ├── Navbar.jsx
│   ├── Footer.jsx
│   └── MenuItem.jsx
│
├── helper/
│   └── MenuList.js
│
├── pages/
│   ├── Home.jsx
│   ├── About.jsx
│   ├── Menu.jsx
│   └── Contact.jsx
│
├── App.jsx
└── main.jsx

⚙️ Installation

  1. Clone the repository:
git clone <your-repository-url>
  1. Navigate to the project folder:
cd pizza-website
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

🎯 Learning Outcomes

Through this project, I improved my understanding of:

  • Building multi-page React applications
  • Creating reusable components
  • Managing and passing props
  • Implementing routing with React Router
  • Working with forms and validations
  • Integrating third-party services like EmailJS
  • Designing responsive layouts using Tailwind CSS

📸 Future Improvements

  • Add authentication functionality
  • Add a shopping cart system
  • Implement online ordering
  • Add payment integration
  • Add dark mode support
  • Improve animations and transitions

Acknowledgements

Thank you for visiting this repository! If you found this project helpful, feel free to give it a star and share your feedback.


Developed by Hamza Ali

"Building modern web experiences one component at a time."

About

react simple project here you will learn about routing, react form, props and many more concepts with tailwind css

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages