Skip to content

A modern, responsive coffee shop landing page built with React, Vite, and Tailwind CSS. This project demonstrates best practices in React component structure, animation, and UI/UX, making it a great template for learning, customization, and real-world use.

Notifications You must be signed in to change notification settings

arnobt78/CoffeeShop-Landing-Page-2--React-Frontend

Repository files navigation

Coffee Shop 2 Landing Page - React, Vite, TailwindCSS Frontend Project

A modern, responsive coffee shop landing page built with React, Vite, and Tailwind CSS. This project demonstrates best practices in React component structure, animation, and UI/UX, making it a great template for learning, customization, and real-world use.

Note: View my Coffee Shop 1 template for another showcase of my design and development skills:

Screenshot 2025-07-28 at 00 31 25 Screenshot 2025-07-28 at 00 32 10 Screenshot 2025-07-28 at 00 32 32 Screenshot 2025-07-28 at 00 33 23

Table of Contents


Project Summary

Coffee Cafe is a visually appealing, single-page web app for a coffee shop. It features animated sections, a mobile-friendly layout, and reusable React components. The project is ideal for learning modern frontend development, rapid prototyping, or as a starting point for your own business site.


Features

  • ⚡️ Fast development with Vite
  • 🎨 Styled with Tailwind CSS and custom fonts
  • 🌙 Dark mode support
  • ✨ Smooth animations using AOS (Animate On Scroll)
  • 📱 Responsive design for all devices
  • 🧩 Modular, reusable React components
  • 🏪 App store/Play store promo section
  • ⭐️ Testimonials slider
  • 📚 Clean, well-commented code

Tech Stack

  • React (18+)
  • Vite (for fast dev/build)
  • Tailwind CSS (utility-first styling)
  • AOS (scroll animations)
  • React Slick (testimonials slider)
  • React Icons (iconography)
  • PostCSS (with autoprefixer)
  • ESLint (code linting)

Project Structure

coffee-cafe-main/
├── index.html
├── package.json
├── postcss.config.js
├── tailwind.config.js
├── vite.config.js
├── public/
│   └── vite.svg
├── src/
│   ├── App.jsx
│   ├── index.css
│   ├── main.jsx
│   ├── assets/
│   │   └── ... (images, logos)
│   └── components/
│       ├── AppStore/
│       ├── Banner/
│       ├── Footer/
│       ├── Hero/
│       ├── Navbar/
│       ├── Services/
│       └── Testimonials/
└── README.md

Component Walkthrough

Navbar

  • Displays logo and navigation links.
  • Uses Tailwind for layout and style.
  • Responsive and animated on scroll.

Hero

  • Main landing section with headline, call-to-action, and hero image.
  • Uses AOS for entrance animations.

Services

  • Showcases coffee types/services in cards.
  • Data-driven: easily add new services.
  • Animated cards with hover effects.

Banner

  • About/promo section with background image and feature highlights.

AppStore

  • Promotes mobile app availability.
  • Includes Play Store and App Store badges.

Testimonials

  • Carousel/slider of customer reviews.
  • Uses react-slick for smooth sliding.

Footer

  • Social links, navigation, and background image.
  • Responsive and styled for dark/light modes.

How to Run

  1. Install dependencies:

    npm install
  2. Start the development server:

    npm run dev
  3. Open your browser:
    Visit the local URL shown in the terminal (usually http://localhost:5173).

  4. Build for production:

    npm run build

How to Reuse Components

Each component is self-contained and can be imported into other React projects:

import Hero from './components/Hero/Hero';
import Services from './components/Services/Services';
// ...etc
  • Props: Most components are data-driven. For example, to add a new service, edit the ServicesData array in Services.jsx.
  • Styling: All styles use Tailwind CSS classes, so you can easily adjust themes via tailwind.config.js.
  • Assets: Place your images in src/assets/ and update import paths as needed.

Customization & Theming

  • Colors & Fonts: Edit tailwind.config.js to change primary/secondary colors or font families.
  • Animations: Adjust AOS settings in App.jsx or per component.
  • Dark Mode: Toggle dark mode by adding/removing the dark class on the <body> or root div.

Keywords

React, Vite, Tailwind CSS, Coffee Shop, Landing Page, AOS, Animation, Responsive, Component, UI, Template, Modern, App Store, Testimonials, Slider, Dark Mode, Web Development, Frontend, JavaScript, Learning, Boilerplate


Conclusion

This project is a great starting point for modern web development with React and Vite. Explore the code, customize the UI, and use the components in your own projects. Contributions and feedback are welcome!


Happy coding! ☕️

Thank you!


About

A modern, responsive coffee shop landing page built with React, Vite, and Tailwind CSS. This project demonstrates best practices in React component structure, animation, and UI/UX, making it a great template for learning, customization, and real-world use.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published