// shared-bits.jsx — atoms used by both directions // Map placeholder — Leaflet-style with route line function MapPlaceholder({ width = '100%', height = 320, theme = 'light' }) { const isDark = theme === 'dark'; return (
{/* Grid */} {/* Roads */} {/* Route */} {/* Origin pin */}
{/* Destination pin */}
{/* ETA chip */}
ETA 9:23 · 12 min
); } // Stat counter used by both directions function StatNumber({ value, label, color = 'var(--w-brand)', size = 56 }) { return (
{value}
{label}
); } // Tiny "as seen on" placeholder logo strip function LogoStrip({ theme = 'light' }) { const color = theme === 'dark' ? 'rgba(255,255,255,0.55)' : 'rgba(10,10,11,0.55)'; const logos = ['BUILDER WEEKLY', 'TRADESCRIPT', 'HVAC TODAY', 'PLUMBER REPORT', 'SPARK MAGAZINE']; return (
{logos.map((l, i) => (
{l}
))}
); } // Customer portal "card" — fake browser-frame screen used in both directions function PortalScreen({ width = 520, theme = 'light' }) { const isDark = theme === 'dark'; return (
{/* Browser chrome */}
werkd.app/j/aria-russell-2847
{/* Header */}
Connors Mechanical
Quote #Q-1042 for Aria Russell
{/* Body */}
SMART THERMOSTAT INSTALL · LABOR + PARTS
$420.00
Includes Honeywell T9, zone-wire verification, app pairing.
Expires Friday 5pm Secure payment via Stripe
); } // Chat / Photo Diagnosis result card function ChatResultCard({ theme = 'dark', width = 380 }) { const isDark = theme === 'dark'; return (
Photo Diagnosis
Draft · review before sending
Likely issue
Looks like a failed capacitor on the outdoor condenser — the bulged top + brown residue are consistent with that. Suggested next step: 45/5 MFD dual-run replacement.
DRAFT QUOTE LINES
45/5 MFD dual-run capacitor $38
Labor · 1 hr $140
); } Object.assign(window, { MapPlaceholder, StatNumber, LogoStrip, PortalScreen, ChatResultCard });