diff --git a/frontend/src/pages/pc/public/schedule/sections/VarietySection.jsx b/frontend/src/pages/pc/public/schedule/sections/VarietySection.jsx index 2cdd3c5..88015ac 100644 --- a/frontend/src/pages/pc/public/schedule/sections/VarietySection.jsx +++ b/frontend/src/pages/pc/public/schedule/sections/VarietySection.jsx @@ -1,4 +1,4 @@ -import { Calendar, Clock, Tv, ExternalLink } from 'lucide-react'; +import { Calendar, Clock, Tv, ExternalLink, Play } from 'lucide-react'; import { decodeHtmlEntities, formatFullDate, formatTime } from './utils'; /** @@ -7,80 +7,93 @@ import { decodeHtmlEntities, formatFullDate, formatTime } from './utils'; function VarietySection({ schedule }) { const members = schedule.members || []; const isFullGroup = members.length === 5; + const hasThumbnail = !!schedule.thumbnailUrl; + const hasReplayUrl = !!schedule.replayUrl; + + // 다시보기 링크가 유튜브인지 확인 + const isYoutubeReplay = hasReplayUrl && /youtu\.?be/i.test(schedule.replayUrl); return ( -
출연 멤버
-