import React from 'react'; import { WizardState, Tone, Goal } from '../types'; import { Laugh, Brain, Zap, MessageCircle, Share2, ShoppingBag } from 'lucide-react'; interface StepToneGoalProps { data: WizardState; updateData: (updates: Partial) => void; nextStep: () => void; } const StepToneGoal: React.FC = ({ data, updateData, nextStep }) => { const handleToneSelect = (tone: Tone) => { updateData({ tone }); }; const handleGoalSelect = (goal: Goal) => { updateData({ goal }); }; const isComplete = data.tone && data.goal; const tones: { id: Tone; label: string; desc: string; icon: React.ReactNode }[] = [ { id: 'funny', label: 'Luzak', desc: 'Humor, dystans, memy', icon: }, { id: 'serious', label: 'Ekspert', desc: 'Konkrety, wiedza, liczby', icon: }, { id: 'inspirational', label: 'Mentor', desc: 'Emocje, głębia, lekcja', icon: }, ]; const goals: { id: Goal; label: string; desc: string; icon: React.ReactNode }[] = [ { id: 'engagement', label: 'Społeczność', desc: 'Komentarze i dyskusja', icon: }, { id: 'viral', label: 'Zasięg', desc: 'Udostępnienia (Share)', icon: }, { id: 'sales', label: 'Sprzedaż', desc: 'Kliknięcie w link / Zakup', icon: }, ]; return (
{/* Sekcja 1: TON */}

Wybierz Ton (Vibe)

Jak chcesz brzmieć?

{tones.map((t) => ( ))}
{/* Sekcja 2: CEL */}

Wybierz Cel

Co chcesz osiągnąć tym postem?

{goals.map((g) => ( ))}
{/* Next Button */}
); }; export default StepToneGoal;