theprimeseo.com

import React from ‘react’; import { CompetitorAnalysis } from ‘../types’; import { CompetitorCard } from ‘./CompetitorCard’; import { SuggestionCard } from ‘./SuggestionCard’; import { CopyableTag } from ‘./CopyableTag’; import { SparklesIcon, TagIcon } from ‘./Icons’; interface CompetitorResultsDisplayProps { analysis: CompetitorAnalysis; } export const CompetitorResultsDisplay: React.FC = ({ analysis }) => { if (!analysis.competitors || analysis.competitors.length === 0) { return (

No Competitors Found

The AI couldn’t find specific competitors for this topic. Try broadening your search terms.

); } return (

Analysis Results

{analysis.channelStrategySummary && ( }>

{analysis.channelStrategySummary}

)} {analysis.commonKeywords && analysis.commonKeywords.length > 0 && ( }>
{analysis.commonKeywords.map((tag, index) => ( ))}
)} {(analysis.channelStrategySummary || (analysis.commonKeywords && analysis.commonKeywords.length > 0)) && (

Top Video Breakdown

)} {analysis.competitors.map((competitor, index) => ( ))}
); };