How araxis07/website-japan works
Japan Travel is a multilingual, browser-based guide for discovering destinations and planning a personal Japan itinerary. Visitors move from introductory and first-visit guidance into prefecture or destination detail pages, where maps, practical facts and suggested journeys support exploration; the trip planner then organizes selected places by day and offers local backup and export options. The README documents mapping, offline/print exports, themes and 3D scenery. Several UI modules were not excerpted, so their documented capabilities are included without speculative implementation links.
Main entry points: [slug]/page.tsx Prefecture detail · [slug]/page.tsx Destination detail · places.ts Place catalogue · [lang]/page.tsx Travel home
Components 30
Discovery and guides
- Travel home
src/app/[lang]/page.tsx - First-visit guide
src/app/[lang]/first-visit/page.tsx - Explore prefectures
src/app/[lang]/explore/page.tsx - Destination detail
src/app/[lang]/destinations/[slug]/page.tsx - Prefecture detail
src/app/[lang]/prefectures/[slug]/page.tsx - 3D Japan scenery
src/components/JapanDiorama.tsx
Places and maps
- Map browsing
src/components/PrefectureExplorer.tsx - Place maps
src/components/PlacesMap.tsx - Street map
src/components/StreetMap.tsx - OpenStreetMap tiles
- Google Maps directions
Trip planning
- My trip page
src/app/[lang]/my-trip/page.tsx - Trip planner
src/components/TripPlanner.tsx - Trip state provider
src/components/TripProvider.tsx - Trip validation and model
src/lib/trip.ts - Browser-local storage
src/lib/storage-lock.ts - Backup and exports
src/components/TripTools.tsx - Import and calendar tools
src/components/TripExtras.tsx
Guide content
- Place catalogue
src/data/places.ts - Prefecture places
src/data/prefecture-places.ts - Prefecture profiles
src/data/prefectures.ts - Destination guides
src/data/guides.ts - Suggested journeys
src/data/journeys.ts - Travel information
src/data/travel.ts - Visit details
src/data/visit-details.ts - Travel notices
src/components/TravelNotices.tsx
Shared services
- Locale configuration
src/i18n/config.ts - Translation dictionaries
src/i18n/dictionaries.ts - Scene rendering logic
src/lib/japan-scene.ts
Other components
- Traveler
Connections 38
- Traveler → Travel home: opens
README.md - Travel home → Suggested journeys: shows
src/app/[lang]/page.tsx - Travel home → 3D Japan scenery: renders
src/app/[lang]/page.tsx - 3D Japan scenery → Scene rendering logic: uses
- Traveler → First-visit guide: opens
README.md - First-visit guide → Travel notices: renders
src/app/[lang]/first-visit/page.tsx - Traveler → Explore prefectures: opens
README.md - Explore prefectures → Map browsing: renders
src/app/[lang]/explore/page.tsx - Traveler → Destination detail: selects destination
README.md - Traveler → Prefecture detail: selects prefecture
README.md - Destination detail → Place catalogue: reads
src/app/[lang]/destinations/[slug]/page.tsx - Destination detail → Destination guides: reads
src/app/[lang]/destinations/[slug]/page.tsx - Destination detail → Suggested journeys: reads
src/app/[lang]/destinations/[slug]/page.tsx - Destination detail → Place maps: renders
src/app/[lang]/destinations/[slug]/page.tsx - Prefecture detail → Prefecture profiles: reads
src/app/[lang]/prefectures/[slug]/page.tsx - Prefecture detail → Prefecture places: reads
src/app/[lang]/prefectures/[slug]/page.tsx - Prefecture detail → Travel information: reads
src/app/[lang]/prefectures/[slug]/page.tsx - Prefecture detail → Visit details: reads
src/app/[lang]/prefectures/[slug]/page.tsx - Map browsing → Place catalogue: searches
src/components/PrefectureExplorer.tsx - Map browsing → Street map: renders
src/components/PrefectureExplorer.tsx - Place maps → Place catalogue: reads
src/components/PlacesMap.tsx - Place maps → Street map: renders
src/components/PlacesMap.tsx - Street map → OpenStreetMap tiles: loads tiles
README.md - Place catalogue → Google Maps directions: builds direction links
src/data/places.ts - Traveler → My trip page: opens
README.md - My trip page → Trip planner: renders
src/app/[lang]/my-trip/page.tsx - Trip planner → Trip state provider: uses state
src/components/TripPlanner.tsx - Trip state provider → Trip validation and model: validates plans
src/components/TripProvider.tsx - Trip state provider → Browser-local storage: writes safely
src/components/TripProvider.tsx - Trip planner → Place catalogue: uses places
src/components/TripPlanner.tsx - Trip planner → Backup and exports: renders tools
src/components/TripPlanner.tsx - Backup and exports → Import and calendar tools: renders extras
src/components/TripTools.tsx - Backup and exports → Trip validation and model: exports trip data
src/components/TripTools.tsx - Traveler → Google Maps directions: opens directions
README.md - Travel home → Translation dictionaries: loads copy
src/app/[lang]/page.tsx - Translation dictionaries → Locale configuration: uses locale types
src/i18n/dictionaries.ts - First-visit guide → Translation dictionaries: loads copy
src/app/[lang]/first-visit/page.tsx - Prefecture detail → Translation dictionaries: loads copy
src/app/[lang]/prefectures/[slug]/page.tsx