'use client' import React from 'react' import { useRouter } from 'next/navigation' import { useTOMGenerator } from '@/lib/sdk/tom-generator' import { TOM_GENERATOR_STEPS } from '@/lib/sdk/tom-generator/types' /** * TOM Generator Landing Page * * Shows overview of the wizard and allows starting or resuming. */ export default function TOMGeneratorPage() { const router = useRouter() const { state, resetState } = useTOMGenerator() // Calculate progress const completedSteps = state.steps.filter((s) => s.completed).length const totalSteps = state.steps.length const progressPercent = totalSteps > 0 ? Math.round((completedSteps / totalSteps) * 100) : 0 // Determine the current step URL const currentStepConfig = TOM_GENERATOR_STEPS.find((s) => s.id === state.currentStep) const currentStepUrl = currentStepConfig?.url || '/sdk/tom-generator/scope' const handleStartNew = () => { resetState() router.push('/sdk/tom-generator/scope') } const handleResume = () => { router.push(currentStepUrl) } const hasProgress = completedSteps > 0 return (
{/* Header */}

TOM Generator

Leiten Sie Ihre Technischen und Organisatorischen Massnahmen (TOMs) nach Art. 32 DSGVO systematisch ab und dokumentieren Sie diese.

{/* Progress Card */} {hasProgress && (

Ihr Fortschritt

{completedSteps} von {totalSteps} Schritten abgeschlossen
{/* Progress Bar */}
{/* Steps Overview */}
{TOM_GENERATOR_STEPS.map((step, index) => { const stepState = state.steps.find((s) => s.id === step.id) const isCompleted = stepState?.completed const isCurrent = state.currentStep === step.id return ( ) })}
{/* Actions */}
)} {/* Introduction Card */}

Was ist der TOM Generator?

Der TOM Generator fuehrt Sie in 6 Schritten durch die Erstellung Ihrer DSGVO-konformen Technischen und Organisatorischen Massnahmen:

{TOM_GENERATOR_STEPS.map((step, index) => (
{index + 1}
{step.name}
{step.description.de}
))}
{!hasProgress && ( )}
{/* Features */}

60+ Kontrollen

Vordefinierte Kontrollen mit Mapping zu DSGVO, ISO 27001 und BSI-Grundschutz

Lueckenanalyse

Automatische Identifikation fehlender Massnahmen mit Handlungsempfehlungen

Export

Generieren Sie Ihre TOM-Dokumentation als Word, PDF oder strukturiertes JSON

{/* Legal Note */}
Hinweis zur Rechtsgrundlage

Die generierten TOMs basieren auf Art. 32 DSGVO. Die Auswahl der konkreten Massnahmen sollte immer unter Beruecksichtigung des Stands der Technik, der Implementierungskosten und der Art, des Umfangs und der Zwecke der Verarbeitung erfolgen.

) }