import ChannelYoutubeIcon from "@/assets/icons/channel-youtube.svg?react"; import ExternalLinkIcon from "@/assets/icons/external-link.svg?react"; import type { YouTubeAudit } from "@/features/report/types/youtubeAudit"; import { safeUrl } from "@/utils/safeUrl"; export type YouTubeChannelInfoCardProps = { data: YouTubeAudit; }; export function YouTubeChannelInfoCard({ data }: YouTubeChannelInfoCardProps) { return (

{data.channelName}

{data.handle}

{data.channelDescription}

개설일: {data.channelCreatedDate} 평균 영상 길이: {data.avgVideoLength} 업로드 빈도: {data.uploadFrequency}
{data.linkedUrls.length > 0 ? (
{data.linkedUrls.map((link) => ( {link.label} ))}
) : null}
); }