darkmage208 /
business-landing-page-template
A modern, responsive landing page template built with React, TailwindCSS, and TypeScript, designed to help businesses and startups quickly create a professional online presence.
50/100 healthLoading repository data…
arnobt78 / repository
A modern, responsive coffee shop landing page built with Next.js, TypeScript, and Tailwind CSS. This project demonstrates best practices in React component structure, animation, and UI/UX—ideal for learning, customization, and as a template for real-world use. It is a single-page application (SPA) with no backend or API
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A modern, responsive coffee shop landing page built with Next.js, TypeScript, and Tailwind CSS. This project demonstrates best practices in React component structure, animation, and UI/UX—ideal for learning, customization, and as a template for real-world use. It is a single-page application (SPA) with no backend or API; all content is static and data-driven from local files.
Selected from shared topics, language and repository description—not editorial ratings.
darkmage208 /
A modern, responsive landing page template built with React, TailwindCSS, and TypeScript, designed to help businesses and startups quickly create a professional online presence.
50/100 healthSumon-DevCoder /
Mega Mart Frontend is a modern, high-performance seo friendly e-commerce platform built with Next.js, React, Redux & Typescript. It delivers a seamless and responsive shopping experience, featuring fast product browsing, real-time updates, secure authentication, and smooth checkout.
34/100 healthCoffee Cafe is a visually appealing, single-page web app for a coffee shop. It features animated sections (Hero, Services, Banner, App Store promo, Testimonials, Footer), a mobile-friendly layout, and reusable React components. The app uses the Next.js App Router with one route: the home page (/). There is no backend or API—all content comes from TypeScript data files and static assets. The project is ideal for learning modern frontend development, rapid prototyping, or as a starting point for your own business site.
src/types, no any in components.dark class on the root (theme colors in tailwind.config.js).src/data.layout.tsx.npm run lint.vercel.json rewrites for SPA-style routing on refresh.| Technology | Purpose |
|---|---|
| Next.js 16 | React framework, App Router, static generation, image optimization |
| React 19 | UI library, hooks, client components |
| TypeScript 5.6 | Type safety, interfaces for data and props |
| Tailwind CSS 3 | Utility CSS, custom theme, responsive design |
| AOS | Scroll animations (init in app/page.tsx) |
| react-slick | Testimonials carousel |
| react-icons | FaCoffee, GrSecure, IoFastFood, GiFoodTruck, FaFacebook, etc. |
| PostCSS + Autoprefixer | CSS processing (Tailwind pipeline) |
| ESLint 9 | Linting with eslint-config-next (flat config) |
coffeeshop-ui-2/
├── public/ # Static assets (favicon, images)
│ ├── favicon.ico
│ ├── coffee_logo.png
│ ├── coffee2.png
│ ├── coffee-white.png
│ ├── coffee-texture.jpg
│ ├── coffee-beans-bg.png
│ ├── coffee-footer.jpg
│ ├── app_store.png
│ └── play_store.png
├── src/
│ ├── app/
│ │ ├── layout.tsx # Root layout, metadata, global CSS
│ │ ├── page.tsx # Home page (client; composes all sections)
│ │ └── globals.css # Tailwind + custom keyframes (e.g. spin)
│ ├── components/
│ │ ├── Navbar/Navbar.tsx
│ │ ├── Hero/Hero.tsx
│ │ ├── Services/Services.tsx
│ │ ├── Banner/Banner.tsx
│ │ ├── AppStore/AppStore.tsx
│ │ ├── Testimonials/Testimonials.tsx
│ │ └── Footer/Footer.tsx
│ ├── data/
│ │ ├── menu.ts # navMenuItems
│ │ ├── services.ts # servicesData
│ │ ├── testimonials.ts # testimonialData
│ │ └── footer.ts # footerLinks
│ ├── lib/
│ │ └── constants.ts # ASSETS (image paths)
│ └── types/
│ ├── index.ts # NavMenuItem, ServiceItem, TestimonialItem, FooterLinkItem
│ └── aos.d.ts # AOS module declaration
├── eslint.config.mjs # ESLint 9 flat config (Next + TypeScript)
├── next.config.mjs # React strict mode, image remotePatterns (picsum.photos)
├── tailwind.config.js # Theme: colors, fonts, container, animation
├── postcss.config.cjs # tailwindcss, autoprefixer
├── tsconfig.json # Path alias @/* -> ./src/*
├── vercel.json # SPA rewrites: all routes -> /
└── package.json
Prerequisites: Node.js 18+ (recommended 20+ for Next.js 16).
Clone and install dependencies:
git clone <repository-url>
cd coffeeshop-ui-2
npm install
Start the development server:
npm run dev
Open http://localhost:3000 (or the URL shown in the terminal).
Build for production:
npm run build
Run production build locally:
npm run start
Lint the codebase:
npm run lint
This project does not require any environment variables to run. There is no .env file in the repository, and the app works out of the box with default configuration.
If you later add features that need configuration (e.g. analytics, feature flags), you can optionally create a .env.local file in the project root (this file is typically gitignored). Example:
# Optional – not used by the current codebase
# NEXT_PUBLIC_SITE_URL=https://coffeeshop-ui-2.vercel.app
Next.js automatically loads .env.local in development and in production on Vercel when you set variables in the project dashboard. For this educational landing page, no env vars are required.
Routes: The app has a single route: / (home). All sections (Navbar, Hero, Services, Banner, AppStore, Testimonials, Footer) are rendered on this page. vercel.json rewrites every path to / so that refreshing on any URL still serves the app (SPA-style behaviour on Vercel).
API / Backend: There is no API or backend. Data is imported from src/data/*.ts and src/lib/constants.ts. The Testimonials section uses external image URLs (e.g. https://picsum.photos/...), which are allowed via next.config.mjs images.remotePatterns.
src/components/Navbar/Navbar.tsx)Image), navigation links, and an “Order” button with icon.navMenuItems from @/data/menu and ASSETS.logo from @/lib/constants.data-aos for animation.src/components/Hero/Hero.tsx)Image with spin animation.src/components/Services/Services.tsx)servicesData from @/data/services..map() with key, hover states, staggered AOS delays per card.src/components/Banner/Banner.tsx)src/components/AppStore/AppStore.tsx)ASSETS for background and badge URLs.src/components/Testimonials/Testimonials.tsx)react-slick.testimonialData from @/data/testimonials (includes external picsum.photos images).Image with remotePatterns.src/components/Footer/Footer.tsx)footerLinks), address, and social icons (Instagram, Facebook, LinkedIn).footerLinks from @/data/footer, ASSETS.footerBg for background.rel="noreferrer", aria-labels on icon links.src/types/index.ts – Shared TypeScript interfaces: NavMenuItem, ServiceItem, TestimonialItem, FooterLinkItem. Used by data files and components for type safety.
src/data/menu.ts – Exports navMenuItems (id, name, link) for the Navbar.
src/data/services.ts – Exports servicesData (id, img, name, description, aosDelay) for the Services section.
src/data/testimonials.ts – Exports testimonialData (id, name, text, img) for the Testimonials carousel.
src/data/footer.ts – Exports footerLinks (title, link) for Footer link columns.
src/lib/constants.ts – Exports ASSETS object with paths for logo, hero image, banner, app store assets, and footer background. Centralises asset URLs so components stay DRY.
Each component is self-contained and can be copied into another Next.js or React project.
Copy the component folder (e.g. Navbar/Navbar.tsx) and ensure any imports use the same structure or adjust paths (e.g. @/data/menu → your data source).
Satisfy dependencies: Install next, react, react-dom, react-icons (and for Testimonials: react-slick, slick-carousel). For AOS animations, install aos and import aos/dist/aos.css where AOS is initialised.
Provide data: E