Replace Mobile SDK hero demo with the Guardian explorer widget
Ports the 9-tab Guardian Mobile SDK phone-demo mockup (mobile-sdk.html) into a React component and swaps it into #mobile-sdk-demo-mount in place of ThreatDemosSlider, keeping the site's real header/nav/footer around it. - Adds voiceover per module, spoken via speechSynthesis and paced to the actual speech (each step waits for its utterance to finish before advancing, instead of a fixed guess at timing), plus a per-module mute toggle and a spoken announcement on tab click. - Never autoplays — playback only starts on an explicit tap, matching the rest of the embedded demos on the site. - Enhances the Location safety zones module with a full create-a- boundary -> leave-the-zone -> notified-of-the-alert flow (banner, breach-colored geofence, updated activity feed). - Layout polish: floating/glow phone, centred max-width content, fading tab-strip edges; fixes a CSS grid min-width bug that blew the hero out to ~1450px on narrow viewports. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Vendored
+5
@@ -4,3 +4,8 @@ declare module '*.txt?raw' {
|
||||
const content: string
|
||||
export default content
|
||||
}
|
||||
|
||||
declare module '*.html?raw' {
|
||||
const content: string
|
||||
export default content
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user