senior developer er (Copy
# PRESENZ 3D Map - Simple Build Guide ## 🎯 What to Build A single mobile home page showing a 3D map with POI markers, matching the screenshot's dark pu...
Employer: tech comp
Location: Remote
# PRESENZ 3D Map - Simple Build Guide ## 🎯 What to Build A single mobile home page showing a 3D map with POI markers, matching the screenshot's dark purple/blue aesthetic. --- ## 🛠️ Tech Stack - **React + TypeScript** - **react-map-gl** (for Mapbox integration) - **shadcn/ui** (for buttons and cards) - **Framer Motion** (for animations) - **Tailwind CSS** (for styling) --- ## 🎨 Design Requirements ### Colors ``` Background: #1a1d2e (dark blue) Accent: #00d4ff (cyan glow) Glass effect: rgba(255, 255, 255, 0.08) with backdrop blur Text: White with shadow for readability ``` ### Mobile Layout (375px width) ``` ┌─────────────────────────┐ │ ← Back [Status] │ ` from react-map-gl - Dark style with 3D buildings enabled - Initial camera position set to show city view ### 2. CustomMarker (for each POI) ``` - Position: longitude/latitude coordinates - Content: Brand logo in circular container - Style: White background, small shadow - Size: ~40px diameter ``` ### 3. CalloutLabel ``` - White rounded rectangle background - Dark text inside - Small arrow pointing to map feature - Positioned absolutely over map - Examples: "Time + weather depending lighting", "3D lane models" ``` ### 4. Top Navigation Bar ``` - Fixed at top - Back button on left - Status icons on right (signal, wifi, battery) - Semi-transparent background ``` --- ## 🎬 Animations (Keep Simple) ### On Page Load 1. Map fades in (0.5s) 2. Markers pop in one by one (0.3s each, staggered) 3. Callout labels fade in after markers ### Interactions - Marker hover: Slight scale up (1.1x) - Map: Standard Mapbox controls (pinch zoom, rotate, tilt) --- ## 📦 Sample POI Data ```javascript [ { id: 'cvs-1', name: 'CVS', coordinates: { lng: -73.9857, lat: 40.7580 }, logo: '/logos/cvs.png' }, { id: '7eleven-1', name: '7-Eleven', coordinates: { lng: -73.9867, lat: 40.7590 }, logo: '/logos/7eleven.png' }, { id: 'starbucks-1', name: 'Starbucks', coordinates: { lng: -73.9847, lat: 40.7570 }, logo: '/logos/starbucks.png' }, { id: 'pizzahut-1', name: 'Pizza Hut', coordinates: { lng: -73.9837, lat: 40.7585 }, logo: '/logos/pizzahut.png' } ] ``` --- ## 📋 File Structure (Keep It Simple) ``` src/ ├── components/ │ ├── Map.tsx # Main map component │ ├── POIMarker.tsx # Brand logo markers │ └── CalloutLabel.tsx # White info bubbles ├── App.tsx # Main app └── data/ └── locations.ts # POI data ``` --- ## ✅ MVP Checklist **Must Have:** - ✅ 3D map view (Mapbox dark style) - ✅ 3D buildings visible - ✅ 4 POI markers with brand logos - ✅ 3-5 callout labels pointing to features - ✅ Mobile responsive (375px) - ✅ Top navigation bar **Nice to Have (if time permits):** - Time-based lighting changes - Marker animations - Click on marker to show info --- ## 🎯 Success Criteria **Your page should show:** 1. A 3D city view from an angle (like the screenshot) 2. Tall buildings with blue/purple tones 3. Brand logos (CVS, 7-Eleven, etc.) floating at their locations 4. White rounded labels describing features 5. Dark theme with good contrast 6. Works on mobile size (375px) **Quality benchmark:** If it looks 70% like the screenshot, you're ready to show the client. --- ## 🚀 Quick Start Commands ```bash npm create vite@latest presenz-map -- --template react-ts cd presenz-map npm install react-map-gl mapbox-gl framer-motion npx shadcn@latest init npm run dev ``` **That's it!** Keep it simple, focus on getting the 3D map view with markers working first, then add polish.