"use client"; import * as React from "react"; import { FormState } from "../types"; import { Users, Shield, Monitor, Smartphone, Globe, Lock } from "lucide-react"; interface WebAppStepProps { state: FormState; updateState: (_updates: Partial) => void; } export function WebAppStep({ state, updateState }: WebAppStepProps) { const toggleUserRole = (role: string) => { const current = state.userRoles || []; const next = current.includes(role) ? current.filter((r) => r !== role) : [...current, role]; updateState({ userRoles: next }); }; return (
{/* Target Audience */}

Zielgruppe

Fokus
{[ { id: "internal", label: "Internes Tool", desc: "Für Mitarbeiter & Prozesse.", }, { id: "external", label: "Kunden-Portal", desc: "Für Ihre Endnutzer (B2B/B2C).", }, ].map((opt) => ( ))}
{/* User Roles */}

Benutzerrollen

Wer wird das System nutzen?

{[ "Administratoren", "Manager", "Standard-Nutzer", "Gäste", "Read-Only", ].map((role) => ( ))}
{/* Platform Type */}

Plattform-Fokus

{[ { id: "desktop", label: "Desktop First", icon: , }, { id: "mobile", label: "Mobile First", icon: , }, { id: "pwa", label: "PWA (Installierbar)", icon: , }, ].map((opt) => ( ))}
{/* Data Sensitivity */}

Datensicherheit

{[ { id: "standard", label: "Standard", desc: "Normale Nutzerdaten & Profile.", }, { id: "high", label: "Sensibel", desc: "Finanzdaten, Gesundheitsdaten oder DSGVO-kritisch.", }, ].map((opt) => ( ))}
{/* Authentication */}

Authentifizierung

Wie sollen sich Nutzer anmelden?

{[ "E-Mail / Passwort", "Social Login", "SSO / SAML", "2FA / MFA", "Magic Links", ].map((method) => (
{method}
))}

Details zur Authentifizierung besprechen wir im Erstgespräch.

); }