Production website for Cobblestone Cafe & Malt Shoppe, a local breakfast, lunch, and malt shop in downtown White Bear Lake, Minnesota.
The site is built as a static React/Vite app and is intended to deploy on Cloudflare Pages.
- Responsive homepage with cafe hours, location, history, reviews, Facebook, and DoorDash links
- Mobile-friendly menu viewer with image carousel and downloadable PDFs
- Contact page with phone, directions, ordering, and embedded map
- Google Analytics event tracking for menu, phone, directions, review, Facebook, and order clicks
- SEO basics: structured restaurant data, sitemap, robots.txt, social preview metadata, and privacy page
- React
- Vite
- React Router
- Cloudflare Pages
npm install
npm run devUse the localhost URL Vite prints, usually:
http://127.0.0.1:5173/Do not test by opening index.html directly with a file:// URL. Routing, assets, and environment variables are meant to run through Vite locally or Cloudflare Pages in production.
npm run lint
npm run buildCloudflare Pages settings:
Framework preset: Vite
Build command: npm run build
Build output directory: dist
Root directory: /
Production branch: mainProduction environment variable:
VITE_GA_MEASUREMENT_ID=G-LLJGEFCDENProduction domain:
https://thecobblestonecafe.comBusiness info, hours, and external links:
src/config/site.jsHomepage:
src/pages/HomePage/
public/images/Menu page and menu files:
src/pages/MenuPage/MenuPage.jsx
public/menu/