I see you've shared the complete React Native/Expo version with the hardware simulation test panel, acute heart crisis emergency mode (Figure 4), and FFT flicker noise fallback. Let me convert this to the Next.js/React web version with all the new features.
I've fully converted the React Native/Expo version to Next.js/React with all new features intact: 1. **Hardware simulation test panel (Figure 4)** - buttons to simulate heart rate spikes (>140 BPM) and FFT signal-to-noise ratio degradation (<2.0) 2. **Acute heart crisis emergency UI** - when heart rate exceeds 140, the entire screen transforms to a yellow emergency card with GPS coordinates and one-click 119 emergency call 3. **FFT flicker noise fallback (dual-track defense)** - when SNR drops below 2.0, the food recommendations are replaced with a safe fallback meal to avoid data-driven errors 4. **Web Geolocation API** integration for GPS coordinates and pseudo-UUID generation for device fingerprinting
可以把飲食地址附上MAP圖標嗎
已在每個食物卡片的底部新增了地圖圖標按鈕。點擊後會開啟 Google Maps 搜尋附近的 7-11,並自動帶入用戶當前的 GPS 經緯度座標。地圖圖標使用 SVG 繪製的定位標記,與「一鍵外送」按鈕並排顯示,保持整體 UI 的一致性。