How gabdorado123/pasigspot works
PasigSpot is a React web app for discovering Pasig destinations, planning visits, and sharing reviews. Visitors enter through the routed app, browse destinations, open details, and can plan a commute or contribute reviews; signed-in users can save places, while administrators manage listings and ferry advisories. Its data layer uses browser storage and seeded local data. The supplied excerpts and source index support the main routes and several data/component links; unsampled page internals and integrations are not inferred.
Main entry points: App.jsx Route App · pasigSpotsStore.js Spot Store · SpotDetailsPage.jsx Spot Details · ExplorePage.jsx Explore Places
Components 25
Application Shell
- Route App
src/App.jsx
Destination Discovery
- Landing
src/pages/LandingPage.jsx - Explore Places
src/pages/ExplorePage.jsx - Spot Details
src/pages/SpotDetailsPage.jsx - Ferry Guide
src/pages/FerryGuidePage.jsx - Commute Planner
src/components/CommutePlannerCard.jsx - Place Cards
src/components/SpotCard.jsx
Visitor Engagement
- Saved Places
src/pages/SavedSpotsPage.jsx - Profile
src/pages/ProfilePage.jsx - Account Settings
src/pages/AccountSettingsPage.jsx - Admin Dashboard
src/pages/AdminDashboardPage.jsx - Tourist Reviews
src/components/TouristReviewsSection.jsx
Local Data
- Spot Store
src/data/pasigSpotsStore.js - Seed Destinations
src/data/pasigSpots.js - Review Data
src/data/pasigReviewsData.js - Transit Data
src/data/pasigTransitData.js
Shared UI
- Navigation Bar
src/components/NavBar.jsx - Toast Provider
src/context/ToastContext.jsx - Toast Hook
src/context/useToast.js - Spot Image
src/components/SpotImage.jsx - Confirm Modal
src/components/ConfirmModal.jsx - Loading UI
src/components/LoadingPrimitives.jsx - Cityscape Banner
src/components/PasigCityscapeBanner.jsx
Other components
- Visitor
- Browser Storage
Connections 38
- Visitor → Route App: opens
- Route App → Landing: routes to
src/App.jsx - Route App → Explore Places: routes to
src/App.jsx - Route App → Spot Details: routes to
src/App.jsx - Route App → Ferry Guide: routes to
src/App.jsx - Route App → Saved Places: routes to
src/App.jsx - Route App → Profile: routes to
src/App.jsx - Route App → Account Settings: routes to
src/App.jsx - Route App → Admin Dashboard: routes to
src/App.jsx - Route App → Navigation Bar: renders
src/App.jsx - Route App → Toast Provider: provides
src/App.jsx - Route App → Spot Store: reads spots
src/App.jsx - Landing → Spot Store: reads places
src/pages/LandingPage.jsx - Explore Places → Spot Store: reads places
src/pages/ExplorePage.jsx - Spot Details → Commute Planner: renders
src/pages/SpotDetailsPage.jsx - Spot Details → Tourist Reviews: renders
src/pages/SpotDetailsPage.jsx - Spot Details → Spot Store: reads place
src/pages/SpotDetailsPage.jsx - Ferry Guide → Spot Store: reads advisory
src/pages/FerryGuidePage.jsx - Commute Planner → Transit Data: reads routes
src/components/CommutePlannerCard.jsx - Commute Planner → Spot Store: reads places
src/components/CommutePlannerCard.jsx - Explore Places → Place Cards: renders
src/pages/ExplorePage.jsx - Tourist Reviews → Review Data: updates reviews
src/components/TouristReviewsSection.jsx - Admin Dashboard → Spot Store: saves places
src/pages/AdminDashboardPage.jsx - Spot Store → Seed Destinations: loads defaults
src/data/pasigSpotsStore.js - Spot Store → Browser Storage: reads and writes
src/data/pasigSpotsStore.js - Review Data → Browser Storage: persists reviews
src/data/pasigReviewsData.js - Navigation Bar → Spot Store: reads places
src/components/NavBar.jsx - Tourist Reviews → Toast Hook: uses
src/components/TouristReviewsSection.jsx - Toast Hook → Toast Provider: reads context
src/context/useToast.js - Toast Provider → Toast Hook: exposes context
src/context/useToast.js - Place Cards → Spot Image: renders
src/components/SpotCard.jsx - Spot Details → Spot Image: renders
src/pages/SpotDetailsPage.jsx - Admin Dashboard → Spot Image: renders
src/pages/AdminDashboardPage.jsx - Profile → Confirm Modal: uses
src/pages/ProfilePage.jsx - Account Settings → Confirm Modal: uses
src/pages/AccountSettingsPage.jsx - Landing → Cityscape Banner: renders
src/pages/LandingPage.jsx - Explore Places → Cityscape Banner: renders
src/pages/ExplorePage.jsx - Route App → Loading UI: renders
src/App.jsx