Skip to content

fredseteA/cheese-bread-store-website

Repository files navigation

πŸ§€ PΓ£o de Queijo Mineiro β€” Artisan Cheese Bread Store

An e-commerce landing page for a homemade Minas Gerais cheese bread brand, built with React + Vite + TypeScript.

Deploy React TypeScript Vite Tailwind


✨ About the Project

PΓ£o de Queijo Mineiro is an artisan food brand born in Iguatama, Minas Gerais. This website serves as a digital storefront and brand presentation, combining a warm visual identity with functional e-commerce features.

The site tells the story behind the brand β€” a family recipe passed down through generations β€” while allowing customers to browse products, manage a cart, and place orders directly via WhatsApp.

Live: paodequeijomineiro.vercel.app


πŸ—‚οΈ Project Structure

cheese-bread-store-website/
β”œβ”€β”€ public/
└── src/
    β”œβ”€β”€ app/
    β”‚   └── App.tsx                  # Root component & routing
    β”œβ”€β”€ assets/                      # Images (hero, product photos, cheese photos)
    β”œβ”€β”€ components/
    β”‚   β”œβ”€β”€ layout/
    β”‚   β”‚   β”œβ”€β”€ Header.tsx
    β”‚   β”‚   └── Footer.tsx
    β”‚   └── ui/                      # Shared UI components (shadcn/ui)
    β”œβ”€β”€ features/
    β”‚   β”œβ”€β”€ carts/
    β”‚   β”‚   └── context/
    β”‚   β”‚       └── CartContext.tsx   # Global cart + admin mode state
    β”‚   β”œβ”€β”€ products/
    β”‚   β”‚   └── components/
    β”‚   β”‚       └── ProductCard.tsx   # Product card with stock management
    β”‚   └── whatsapp/                 # WhatsApp order integration
    β”œβ”€β”€ layouts/
    β”‚   β”œβ”€β”€ App.css
    β”‚   └── index.css                 # Global styles + Tailwind directives
    β”œβ”€β”€ pages/
    β”‚   β”œβ”€β”€ About/
    β”‚   β”‚   β”œβ”€β”€ components/           # About page sections
    β”‚   β”‚   └── index.tsx
    β”‚   β”œβ”€β”€ Contact/
    β”‚   β”‚   β”œβ”€β”€ components/
    β”‚   β”‚   β”‚   └── HeroSection.tsx
    β”‚   β”‚   └── index.tsx
    β”‚   β”œβ”€β”€ Home/
    β”‚   β”‚   β”œβ”€β”€ components/
    β”‚   β”‚   β”‚   β”œβ”€β”€ CheeseSection.tsx # Queijo Canastra highlight
    β”‚   β”‚   β”‚   └── ProductList.tsx   # Product grid + banner
    β”‚   β”‚   └── index.tsx
    β”‚   └── NotFound/
    β”œβ”€β”€ shared/
    β”‚   β”œβ”€β”€ hooks/                    # Custom React hooks
    β”‚   └── utils/                    # Utility functions
    └── main.tsx

πŸ› οΈ Tech Stack

Technology Purpose
React 18 Component-based UI
TypeScript Type safety throughout
Vite Fast dev server & build tool
Tailwind CSS Utility-first styling
shadcn/ui Accessible UI primitives
Lucide React Icon library
React Router Client-side routing

πŸ“„ Pages

🏠 Home (/)

The main landing page. Contains:

  • Hero section β€” full-bleed image with brand headline
  • CheeseSection β€” Queijo Canastra DOP feature with photo grid and stats (400+ years of tradition, DOP certification, 100% raw milk)
  • ProductList β€” 2-column (mobile) / 3-column (desktop) product grid
  • Banner β€” "ManhΓ£s mais felizes" call-to-action

πŸ“– About (/sobre)

Brand story and heritage page. Contains:

  • Hero β€” Serra da Canastra landscape with brand origin tagline
  • Founder story β€” Personal narrative about growing up in Iguatama, MG
  • VΓ³ Geni tribute β€” Emotional section honoring the grandmother whose recipe inspired the brand
  • Differentials β€” 6-card grid highlighting what makes the product unique (Canastra DOP, handmade recipe, family tradition, etc.)
  • Final CTA β€” Link to products

πŸ“ž Contact (/contato)

  • Hero β€” Contact page header
  • WhatsApp-first contact approach

πŸ›’ Features

Product Catalog

  • Dynamic product grid loaded from context
  • Each card displays: name, description, price, stock availability
  • "Recheado" (stuffed) badge for special variants
  • Sold-out state with grayscale treatment and disabled button

Shopping Cart

  • Global cart state managed via React Context (CartContext)
  • Add/remove items
  • Order sent directly via WhatsApp with full product summary

Admin Mode

  • Hidden admin mode toggled via a secret interaction
  • Allows stock editing directly on each product card (increment/decrement/input)
  • Visual indicator badge when admin mode is active

🎨 Design System

The visual identity is built around a warm, artisan aesthetic inspired by the Minas Gerais region.

Color Palette:

Token Hex Usage
Dark Brown (primary bg) #2a1200 Section backgrounds, card backgrounds
Deep Background #1a0f05 Page base background
Amber (accent) #c47820 Labels, badges, highlights, CTAs
Cream (text) #f5e8d0 Headings on dark backgrounds
Muted Cream rgba(245,232,208,0.65) Body text on dark backgrounds
Warm Tan #a37c53 Secondary section backgrounds

Typography:

  • Playfair Display β€” headings, prices, display text (editorial, serif)
  • Inter β€” body text, labels, UI elements (clean, sans-serif)

Design Principles:

  • Mobile-first, fully responsive with clamp() fluid sizing
  • Consistent letterSpacing: "0.22em" uppercase labels across sections
  • Image overlays use directional gradients for seamless text legibility
  • Hover states: card lift (hover:-translate-y-1), image zoom (group-hover:scale-105)

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

# Clone the repository
git clone https://github.com/your-username/cheese-bread-store-website.git
cd cheese-bread-store-website

# Install dependencies
npm install

# Start development server
npm run dev

The app will be available at http://localhost:5173.

Build for Production

npm run build

Preview Production Build

npm run preview

🌐 Deployment

The project is deployed on Vercel with zero configuration. Any push to main triggers an automatic deployment.

To deploy your own instance:

  1. Fork the repository
  2. Import it on vercel.com
  3. Deploy β€” Vercel auto-detects Vite

πŸ“¦ Environment Variables

Create a .env file in the root if needed:

# Currently no required environment variables
# WhatsApp number is configured directly in the whatsapp feature

πŸ™ Acknowledgements

This project was built with love to honor a family tradition. Special thanks to vΓ³ Geni and MarΓ­lia, whose handmade recipes are the soul of every batch.

"Ao escaldar o polvilho, uma oraΓ§Γ£o Γ© sempre feita pela alma da vΓ³ Geni."


πŸ“ License

This project is private and proprietary. All rights reserved.

About

πŸ§€A modern website for a Brazilian PΓ£o de Queijo brand, featuring a premium interface, engaging product presentation, and a scalable structure designed to evolve into a full food brand platform. Built with React, TypeScript & Vite.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages