'use client' import React from 'react' import { useRouter } from 'next/navigation' import { useTOMGenerator } from '@/lib/sdk/tom-generator' import { ArchitectureStep } from '@/components/sdk/tom-generator/steps/ArchitectureStep' import { TOM_GENERATOR_STEPS } from '@/lib/sdk/tom-generator/types' /** * Step 3: Architecture & Hosting * * Collects infrastructure information including: * - Hosting model (On-Premise/Cloud/Hybrid) * - Location (DE/EU/Third country) * - Cloud providers with certifications * - Multi-tenancy * - Encryption (at rest / in transit) */ export default function ArchitecturePage() { const router = useRouter() const { state, goToNextStep, goToPreviousStep } = useTOMGenerator() const currentStepIndex = TOM_GENERATOR_STEPS.findIndex((s) => s.id === 'architecture-hosting') const prevStep = TOM_GENERATOR_STEPS[currentStepIndex - 1] const nextStep = TOM_GENERATOR_STEPS[currentStepIndex + 1] const handleNext = () => { goToNextStep() if (nextStep) { router.push(nextStep.url) } } const handleBack = () => { goToPreviousStep() if (prevStep) { router.push(prevStep.url) } } return (
{/* Step Header */}
Schritt 3 von 6 | Architektur & Hosting

IT-Architektur & Hosting

Beschreiben Sie Ihre technische Infrastruktur. Die Hosting-Umgebung beeinflusst wesentlich die erforderlichen Sicherheitsmassnahmen.

{/* Progress Indicator */}
{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 ( {index < TOM_GENERATOR_STEPS.length - 1 && (
)} ) })}
{/* Step Content */}
{/* Navigation */}
) }