How christophertendi/mpas-website works
PT MPAS’s official website is a client-rendered corporate and product site. Visitors enter through the shared navigation, explore company information, services, and a searchable product catalog, then open product details or contact MPAS. Portfolio is a separate catalog-style view. The sampled files show the route composition, product data use, browser-local visit counting, and scroll-reveal behavior; the contact excerpt indicates email-client submission feedback, but does not expose the submission handler details.
Main entry points: App.jsx App routing · useReveal.js Scroll reveal · Contact.jsx Contact form · Homepage.jsx Homepage
Components 17
Site shell
- App routing
src/App.jsx - Navigation
src/components/Navigation.jsx - Footer
src/components/Footer.jsx - Scroll reset
src/components/ScrollToTop.jsx
Company and services
- Homepage
src/pages/Homepage.jsx - Company profile
src/pages/About.jsx - Services
src/pages/Services.jsx
Product catalog
- Product catalog
src/pages/Products.jsx - Product detail
src/pages/ProductDetail.jsx - Product portfolio
src/pages/Portfolio.jsx - Product records
src/data/products.js
Visitor interaction
- Contact form
src/pages/Contact.jsx - Scroll reveal
src/hooks/useReveal.js - Browser storage
Other components
- Website visitor
- Email client
Connections 34
- Website visitor → App routing: opens site
src/App.jsx - App routing → Navigation: renders
src/App.jsx - App routing → Footer: renders
src/App.jsx - App routing → Scroll reset: renders
src/App.jsx - App routing → Homepage: routes to
src/App.jsx - App routing → Company profile: routes to
src/App.jsx - App routing → Product catalog: routes to
src/App.jsx - App routing → Product detail: routes to
src/App.jsx - App routing → Services: routes to
src/App.jsx - App routing → Product portfolio: routes to
src/App.jsx - App routing → Contact form: routes to
src/App.jsx - Website visitor → Navigation: chooses page
src/components/Navigation.jsx - Product catalog → Product records: reads records
src/pages/Products.jsx - Product catalog → Product detail: links to details
src/pages/Products.jsx - Product detail → Product records: looks up product
src/pages/ProductDetail.jsx - Product portfolio → Product records: filters records
src/pages/Portfolio.jsx - Product portfolio → Product detail: links to details
src/pages/Portfolio.jsx - Homepage → Services: links to services
src/pages/Homepage.jsx - Homepage → Product catalog: links to catalog
src/pages/Homepage.jsx - Homepage → Contact form: links to contact
src/pages/Homepage.jsx - Services → Contact form: requests quote
src/pages/Services.jsx - Services → WhatsApp: opens chat
src/pages/Services.jsx - Contact form → Email client: submits via
- Website visitor → Contact form: enters inquiry
src/pages/Contact.jsx - Navigation → Browser storage: reads language
src/components/Navigation.jsx - Footer → Browser storage: tracks visits
src/components/Footer.jsx - Company profile → Scroll reveal: uses reveal
src/pages/About.jsx - Homepage → Scroll reveal: uses reveal
src/pages/Homepage.jsx - Services → Scroll reveal: uses reveal
src/pages/Services.jsx - Contact form → Scroll reveal: uses reveal
src/pages/Contact.jsx - Product catalog → Scroll reveal: uses reveal
src/pages/Products.jsx - Product detail → Scroll reveal: uses reveal
src/pages/ProductDetail.jsx - Product portfolio → Scroll reveal: uses reveal
src/pages/Portfolio.jsx - Website visitor → Product portfolio: opens portfolio