From c990af41e195648d02e0c5e78fff230dc511400d Mon Sep 17 00:00:00 2001 From: caadiq Date: Sun, 5 Apr 2026 13:51:09 +0900 Subject: [PATCH] =?UTF-8?q?style:=20=EC=98=88=EB=8A=A5=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EB=94=94=EC=9E=90?= =?UTF-8?q?=EC=9D=B8=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 썸네일 hover 효과 제거, 너비 w-44로 축소 - 다시보기 버튼: 멤버 칩과 같은 줄에 compact하게 배치 (회색 pill) - 불필요한 border-t 구분선 제거 - 전체적으로 compact한 레이아웃 Co-Authored-By: Claude Opus 4.6 (1M context) --- .../schedule/sections/VarietySection.jsx | 134 ++++++++---------- 1 file changed, 61 insertions(+), 73 deletions(-) diff --git a/frontend/src/pages/pc/public/schedule/sections/VarietySection.jsx b/frontend/src/pages/pc/public/schedule/sections/VarietySection.jsx index 4997567..df14ee6 100644 --- a/frontend/src/pages/pc/public/schedule/sections/VarietySection.jsx +++ b/frontend/src/pages/pc/public/schedule/sections/VarietySection.jsx @@ -9,92 +9,80 @@ function VarietySection({ schedule }) { const isFullGroup = members.length === 5; const hasThumbnail = !!schedule.thumbnailUrl; const hasReplayUrl = !!schedule.replayUrl; - - // 다시보기 링크가 유튜브인지 확인 const isYoutubeReplay = hasReplayUrl && /youtu\.?be/i.test(schedule.replayUrl); return (
- {/* 왼쪽: 썸네일 (세로 포스터) */} + {/* 왼쪽: 썸네일 */} {hasThumbnail && ( -
- {hasReplayUrl ? ( - - {schedule.title} -
-
- -
-
-
- ) : ( - {schedule.title} - )} +
+ {schedule.title}
)} {/* 오른쪽: 콘텐츠 */} -
- {/* 방송사 + 날짜 */} -
- {schedule.broadcaster && ( - - - {schedule.broadcaster} - - )} - - {formatFullDate(schedule.date)} - {schedule.time && ` · ${formatTime(schedule.time)}`} - -
- - {/* 제목 */} -

- {decodeHtmlEntities(schedule.title)} -

- - {/* 멤버 */} - {members.length > 0 && ( -
- {isFullGroup ? ( - - 프로미스나인 +
+ {/* 방송사 + 날짜 */} +
+ {schedule.broadcaster && ( + + + {schedule.broadcaster} - ) : ( - members.map((member) => ( - - {member.name} - - )) + )} + + {formatFullDate(schedule.date)} + {schedule.time && ` · ${formatTime(schedule.time)}`} + +
+ + {/* 제목 */} +

+ {decodeHtmlEntities(schedule.title)} +

+ + {/* 멤버 + 다시보기 */} +
+ {members.length > 0 && ( +
+ {isFullGroup ? ( + + 프로미스나인 + + ) : ( + members.map((member) => ( + + {member.name} + + )) + )} +
+ )} + + {hasReplayUrl && ( + + {isYoutubeReplay ? : } + 다시보기 + )}
- )} - - {/* 다시보기 버튼 */} - {hasReplayUrl && ( - - )} -
+
);