How furankujosepho/munthings works
Munthings is a storefront for Barth’s Studio button pins, stickers, and packs. Customers browse the home page or searchable, filterable shop, inspect a product, add items to a cart or wishlist, then prepare an order in an email app; they can also send a studio contact message. App owns navigation and cart/wishlist state, including browser-local persistence. The excerpts establish the main component wiring, but not all modal callbacks or the contact form’s delivery mechanism, so uncertain connections are omitted.
Main entry points: App.jsx App Coordinator · HomePage.jsx Home Page · CheckoutModal.jsx Email Order Checkout · products.js Product Catalog Data
Components 17
Storefront
- Home Page
src/components/HomePage.jsx - Shop Browser
src/components/ShopPage.jsx - Navigation Bar
src/components/Navbar.jsx - Footer
src/components/Footer.jsx - Brand Logo
src/components/MunthingsLogo.jsx
Product Catalog
- Product Catalog Data
src/data/products.js - Product Card
src/components/ProductCard.jsx - Product Details
src/components/ProductModal.jsx
Shopping State
- App Coordinator
src/App.jsx - Cart and Wishlist State
src/App.jsx - Browser Local Storage
- Cart Drawer
src/components/CartDrawer.jsx - Email Order Checkout
src/components/CheckoutModal.jsx
Customer Communication
- Contact Page
src/components/ContactPage.jsx - Customer Email App
- Studio Contact Form
src/components/ContactPage.jsx
Other components
- Shopper
Connections 20
- Shopper → App Coordinator: opens
- App Coordinator → Navigation Bar: renders
src/App.jsx - App Coordinator → Home Page: renders
src/App.jsx - App Coordinator → Shop Browser: renders
src/App.jsx - App Coordinator → Contact Page: renders
src/App.jsx - App Coordinator → Footer: renders
src/App.jsx - App Coordinator → Cart Drawer: renders
src/App.jsx - App Coordinator → Email Order Checkout: renders
src/App.jsx - App Coordinator → Product Details: renders
src/App.jsx - App Coordinator → Product Catalog Data: imports
src/App.jsx - Home Page → Product Card: renders
src/components/HomePage.jsx - Home Page → Product Catalog Data: reads
src/components/HomePage.jsx - Shop Browser → Product Card: renders
src/components/ShopPage.jsx - Product Details → Product Catalog Data: prices from
src/components/ProductModal.jsx - App Coordinator → Cart and Wishlist State: manages
src/App.jsx - Cart and Wishlist State → Browser Local Storage: persists
src/App.jsx - Cart Drawer → Email Order Checkout: opens
- Email Order Checkout → Customer Email App: opens prefilled
src/components/CheckoutModal.jsx - Contact Page → Brand Logo: renders
src/components/ContactPage.jsx - Shopper → Studio Contact Form: submits