'use client'
import { useTheme } from '@/lib/ThemeContext'
import { B2BTemplate, Package, getPackageIcon, getPackageLabel } from '@/lib/AlertsB2BContext'
import { InfoBox, TipBox, StepBox } from './InfoBox'
// =============================================================================
// Step 1: Company Name
// =============================================================================
interface Step1Props {
companyName: string
setCompanyName: (v: string) => void
}
export function WizardStep1({ companyName, setCompanyName }: Step1Props) {
const { isDark } = useTheme()
return (
Willkommen im B2B-Bereich
Wie heisst Ihr Unternehmen?
)
}
// =============================================================================
// Step 2: Template Selection
// =============================================================================
interface Step2Props {
availableTemplates: B2BTemplate[]
selectedTemplateId: string | null
setSelectedTemplateId: (v: string | null) => void
}
export function WizardStep2({ availableTemplates, selectedTemplateId, setSelectedTemplateId }: Step2Props) {
const { isDark } = useTheme()
return (
Branchenvorlage waehlen
Waehlen Sie eine Vorlage fuer Ihre Branche oder starten Sie leer
{availableTemplates.map((template) => (
))}
{/* Custom option */}
)
}
// =============================================================================
// Step 3: Migration Method
// =============================================================================
export type MigrationMethod = 'email' | 'rss' | 'reconstruct' | null
interface Step3Props {
migrationMethod: MigrationMethod
setMigrationMethod: (v: MigrationMethod) => void
}
export function WizardStep3({ migrationMethod, setMigrationMethod }: Step3Props) {
const { isDark } = useTheme()
return (
Nutzen Sie bereits Google Alerts?
Waehlen Sie, wie Sie Ihre bestehenden Alerts uebernehmen moechten
{/* Email Forwarding (Recommended) */}
{/* RSS Import */}
{/* Reconstruction */}
Ihre bestehenden Google Alerts bleiben bestehen. Wir sind eine zusaetzliche
Intelligenzschicht, die filtert, priorisiert und zusammenfasst.
)
}