import React from 'react'; import { NetworkAnimation } from './animations/NetworkAnimation'; import { MemeAnimation } from './animations/MemeAnimation'; import { NewsAnimation } from './animations/NewsAnimation'; import { CommunityAnimation } from './animations/CommunityAnimation'; import { ExpertAnimation } from './animations/ExpertAnimation'; import { PodcastAnimation } from './animations/PodcastAnimation'; import { StrategyAnimation as StrategyAnimationType } from './types'; interface StrategyAnimationProps { animation: StrategyAnimationType; className?: string; } export const StrategyAnimation: React.FC = ({ animation, className = '' }) => { const { type } = animation; // Helper function to render default animation with custom text const renderDefaultAnimation = (text: string) => (
{text}
); switch (type) { case 'network': return ; case 'meme': return ; case 'news': return ; case 'community': return ; case 'expert': return ; case 'podcast': return ; case 'influencer': return renderDefaultAnimation('Influencer Strategy'); case 'silence': return renderDefaultAnimation('Strategic Silence'); case 'counter': return renderDefaultAnimation('Counter Campaign'); case 'academic': return renderDefaultAnimation('Academic Strategy'); case 'whitepaper': return renderDefaultAnimation('Whitepaper Publication'); case 'celebrity': return renderDefaultAnimation('Celebrity Influence'); case 'bias': return renderDefaultAnimation('Media Bias Strategy'); case 'research': return renderDefaultAnimation('Research Strategy'); case 'event': return renderDefaultAnimation('Event Strategy'); case 'platform': return renderDefaultAnimation('Platform Strategy'); case 'freedom': return renderDefaultAnimation('Freedom Strategy'); default: return renderDefaultAnimation('Strategy Visualization'); } };