import React, { useState } from 'react'; import PhaseNavigation from './PhaseNavigation'; import { Phase } from './PhaseNavigation'; // Test component to verify phase navigation functionality export const PhaseNavigationTest: React.FC = () => { const [currentPhase, setCurrentPhase] = useState('research'); const testPhases: Phase[] = [ { id: 'research', name: 'Research', icon: '🔍', description: 'Research your topic and gather data', completed: true, current: currentPhase === 'research', disabled: false }, { id: 'outline', name: 'Outline', icon: '📝', description: 'Create and refine your blog outline', completed: true, current: currentPhase === 'outline', disabled: false }, { id: 'content', name: 'Content', icon: '✍️', description: 'Generate and edit your blog content', completed: false, current: currentPhase === 'content', disabled: false }, { id: 'seo', name: 'SEO', icon: '📈', description: 'Optimize for search engines', completed: false, current: currentPhase === 'seo', disabled: true }, { id: 'publish', name: 'Publish', icon: '🚀', description: 'Publish your blog post', completed: false, current: currentPhase === 'publish', disabled: true } ]; const handlePhaseClick = (phaseId: string) => { setCurrentPhase(phaseId); }; return (

Phase Navigation Test

Current Phase: {currentPhase}

Phase Status:

    {testPhases.map(phase => (
  • {phase.name}: {phase.completed ? ' ✅ Completed' : ' ⏳ Pending'} | {phase.current ? ' 🎯 Current' : ''} | {phase.disabled ? ' 🚫 Disabled' : ' ✅ Enabled'}
  • ))}
); }; export default PhaseNavigationTest;