'use client' /** * Voice Service Admin Page * * Displays: * - Voice-First Architecture Overview * - Developer Guide Content * - Live Voice Demo (embedded from studio-v2) * - Task State Machine Documentation * - DSGVO Compliance Information */ import { useState } from 'react' import AdminLayout from '@/components/admin/AdminLayout' import Link from 'next/link' import { TabType, TABS } from './_components/constants' import { TabOverview } from './_components/TabOverview' import { TabDemo, TabTasks, TabIntents, TabDsgvo, TabApi } from './_components/TabContent' export default function VoicePage() { const [activeTab, setActiveTab] = useState('overview') return ( {/* Quick Links */}
Voice Test (Studio) Health Check Developer Docs
{/* Stats Overview */}
8091
Port
22
Task Types
9
Task States
24kHz
Audio Rate
80ms
Frame Size
0
Audio Persist
{/* Tabs */}
{TABS.map((tab) => ( ))}
{activeTab === 'overview' && } {activeTab === 'demo' && } {activeTab === 'tasks' && } {activeTab === 'intents' && } {activeTab === 'dsgvo' && } {activeTab === 'api' && }
) }