How jeon1219/nowpop_web works
Nowpop is a React popup-event discovery UI: visitors browse a landing page, search and filter popup listings, open event details, and save bookmarks for later. Routes and bookmark state are coordinated in App; listing and detail screens use mock data, while bookmarks persist in browser localStorage. The map area is only a placeholder, and the README describes a Vite template rather than additional product capabilities. Relationships below are limited to calls and data use visible in the supplied excerpts or source index.
Main entry points: App.jsx Routes and bookmarks · Popups.jsx Popup search · PopupDetail.jsx Popup detail · MyPage.jsx Bookmark page
Components 14
App navigation
- React entry
src/main.jsx - Routes and bookmarks
src/App.jsx - Site header
src/components/Header.jsx
Popup discovery
- Home landing
src/pages/Home.jsx - Popup search
src/pages/Popups.jsx - Search filters
src/components/FilterBar.jsx - Popup detail
src/pages/PopupDetail.jsx
Saved popups
- Bookmark page
src/pages/MyPage.jsx - Browser bookmarks
src/App.jsx
Shared UI and data
- Mock popup catalog
src/data/mockPopups.js - Popup card
src/components/PopupCard.jsx - Status and category badge
src/components/Badge.jsx - Popup display helpers
src/utils/popupUtils.js
Other components
- Visitor
Connections 21
- Visitor → React entry: opens app
src/main.jsx - React entry → Routes and bookmarks: renders
src/main.jsx - Routes and bookmarks → Site header: renders
src/App.jsx - Routes and bookmarks → Home landing: routes to
src/App.jsx - Routes and bookmarks → Popup search: routes to
src/App.jsx - Routes and bookmarks → Popup detail: routes to
src/App.jsx - Routes and bookmarks → Bookmark page: routes to
src/App.jsx - Routes and bookmarks → Browser bookmarks: reads and writes
src/App.jsx - Routes and bookmarks → Popup search: passes bookmark state
src/App.jsx - Routes and bookmarks → Popup detail: passes bookmark state
src/App.jsx - Routes and bookmarks → Bookmark page: passes bookmark state
src/App.jsx - Popup search → Mock popup catalog: filters data
src/pages/Popups.jsx - Popup search → Search filters: renders controls
src/pages/Popups.jsx - Popup search → Popup card: renders results
src/pages/Popups.jsx - Popup detail → Mock popup catalog: finds popup
src/pages/PopupDetail.jsx - Bookmark page → Mock popup catalog: selects bookmarks
src/pages/MyPage.jsx - Bookmark page → Popup card: renders saved items
src/pages/MyPage.jsx - Popup card → Status and category badge: renders status
src/components/PopupCard.jsx - Popup card → Popup display helpers: formats display
src/components/PopupCard.jsx - Popup detail → Status and category badge: renders labels
src/pages/PopupDetail.jsx - Popup detail → Popup display helpers: formats status and dates
src/pages/PopupDetail.jsx