# Protect.NG CrossAI - Voice-First Emergency Platform
> Nigeria's first AI-powered voice-led emergency response system with hands-free operation and offline support.
## Key Features
### Floating Voice Assistant
- Hands-free operation on every page
- Auto re-arming microphone after responses
- Nigerian English speech recognition (`en-NG`)
- Fallback TTS via browser Speech Synthesis API
- Fixed floating widget in bottom-right corner
### Complete Navigation (Zero Dead Links)
- `/` - Hero landing with emergency features
- `/solutions` - Emergency response solutions
- `/pricing` - Transparent pricing in NGN/USD
- `/stories` - Success stories and case studies
- `/resources` - Documentation and guides
- `/get-started` - Agency onboarding
- `/login` - Dashboard access
- `/report` - Full-screen voice assistant
- `/dashboard` - Live incident monitoring
- `/status` - Real-time system health
- `/offline` - Emergency numbers for offline use
### Voice Processing Flow
1. Speak → Web Speech API captures audio
2. Process → Send to `/api/voice` endpoint
3. Respond → TTS plays confirmation
4. Re-arm → Microphone automatically restarts
### Brand Integration
- Dark theme with lime accents (#182d31 + #eaf6c3)
- SVG logo with Nigerian emergency branding
- Consistent tokens across all components
## Quick Start
```bash
# Clone the repository
git clone
github.com
cd odiadev-tts-naija-ai
# Install dependencies
npm install
# Start development server
npm run dev
# Open
localhost
```
## Tech Stack
- Framework: Next.js 14.2.5 (App Router)
- Language: TypeScript 5.4.5
- Voice: Web Speech API + Speech Synthesis
- Database: Supabase (configured)
- Styling: CSS Variables + Custom Components
- PWA: Service Worker + Manifest
## Voice Features
### Speech Recognition
```typescript
// Nigerian English optimized
recognition.lang = "en-NG"
recognition.continuous = true
recognition.interimResults = true
```
### TTS Integration
` …