Add family safe-zone location demo, wire into Mobile SDK demo slider

Cinematic 30s player showing safe-zone creation and leave-zone alerts,
matching the existing threat-demo pattern. Added as a 6th rotating
slide in ThreatDemosSlider (live on /mobile-sdk and /threat-demos),
plus a standalone /location-demo route for recording.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-02 19:06:53 +05:00
co-authored by Claude Sonnet 5
parent 84605dcf1a
commit 7024269bf6
3 changed files with 599 additions and 10 deletions
+3
View File
@@ -11,6 +11,7 @@ const DemoScreen = React.lazy(() => import('./demo/DemoScreen'))
const DemoVideoPage = React.lazy(() => import('./demo/DemoVideoPage'))
const ThreatDemosSlider = React.lazy(() => import('./demo/threats/ThreatDemosSlider'))
const ThreatDemoPlayerPage = React.lazy(() => import('./demo/threats/ThreatDemoPlayerPage'))
const LocationDemo = React.lazy(() => import('./demo/location/LocationDemo'))
const AdminApp = React.lazy(() => import('./cms/admin/AdminApp'))
function ArticleRoute() {
@@ -26,6 +27,8 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
{/* Threat-detection demo slider + per-scenario players */}
<Route path="/threat-demos" element={<ThreatDemosSlider />} />
<Route path="/threat-demo/:id" element={<ThreatDemoPlayerPage />} />
{/* Location / geofencing demo — safe-zone creation + leave-zone alert */}
<Route path="/location-demo" element={<LocationDemo />} />
{/* Cinematic product video — its own page */}
<Route path="/demo-video" element={<DemoVideoPage />} />
{/* Full interactive demo player (Flows A–D, ?mode=video) */}