fix: 각 포스트·밤 화면·히어로 아이콘·동네 글 묶음 손봄

- 각 포스트: 각마다 같던 근거 표·요약 줄을 빼고 오늘·내일·주말 점수 칸(각 상세와 같은 값), 작은 화면에서 점수·그림 줄임
- 밤 화면에서도 포스트 본문은 낮 색 그대로, 어두운 각 배경(캠핑·별보기·산책)과 행사 밤하늘 배경 뺌
- 히어로 좋아요·댓글·보내기 간격·높이 맞춤
- 동네 사람들 묶음을 글 1개부터 보이게 (3개 미만이면 자기 글도 안 보이던 문제)
- QA 체크리스트에 쇼츠·각 포스트 결과, TODO 에 쇼츠 공유 링크 빈 화면
This commit is contained in:
minaChoi committed 2026-10-27 15:20:35 +09:00
1 parent 019b018bfa
commit 1557ba42c4
11 files changed
+109 -98

No files matched your search

+5 -5
View File
@@ -157,8 +157,8 @@ const WEATHER_ICON: Record<Weather, string> = {
sleet: 'snow',
}
// 구름 수: 구름 많음 둘, 흐림·비·눈 셋
// 히어로 오른쪽 위 좋아요·댓글·보내기: 셋 다 같은 32px 칸에 아이콘 가운데, 수는 아이콘 옆
const HERO_ACT = 'relative flex h-8 min-w-8 cursor-pointer items-center justify-center gap-1 text-[13px] font-extrabold'
// 히어로 오른쪽 위 좋아요·댓글·보내기: 수는 아이콘 옆. 그림 칸 안 여백(약 3px)만큼 숫자 뒤에도 띄워, 아이콘·숫자가 섞여도 보이는 간격이 같게
const HERO_ACT = 'relative flex h-8 cursor-pointer items-center gap-1 text-[13px] font-extrabold'
const CLOUDS = [
{ cls: 'top-9 left-[5%] h-8 w-[84px]', d: '.1s', f: '6s' },
{ cls: 'top-[96px] left-[63%] h-9 w-[96px]', d: '.25s', f: '6.4s' },
@@ -335,7 +335,7 @@ function Hero({ hero, post, today, ranked, all, feedLoad, todayLoad }: HeroProps
{t.mo}월 {t.d}일 {WEEKDAYS[t.wd]}요일
</span>
</span>
<span className="flex items-center gap-1 [&_svg]:size-[22px] [&_svg]:stroke-[2]">
<span className="flex items-center gap-3 [&_svg]:size-[22px] [&_svg]:stroke-[2]">
{post && (
<>
<button
@@ -346,7 +346,7 @@ function Hero({ hero, post, today, ranked, all, feedLoad, todayLoad }: HeroProps
className={cx(HERO_ACT, TAP44, !like.liked && 'opacity-80')}
>
<HeartIcon className={like.liked ? 'fill-(--heart) stroke-(--heart)' : 'fill-none stroke-current'} />
{like.count > 0 && like.count.toLocaleString()}
{like.count > 0 && <span className="pr-[3px]">{like.count.toLocaleString()}</span>}
</button>
<button
type="button"
@@ -355,7 +355,7 @@ function Hero({ hero, post, today, ranked, all, feedLoad, todayLoad }: HeroProps
className={cx(HERO_ACT, 'opacity-80', TAP44)}
>
<CommentIcon className="fill-none stroke-current [stroke-linejoin:round]" />
{post.comment_count > 0 && post.comment_count.toLocaleString()}
{post.comment_count > 0 && <span className="pr-[3px]">{post.comment_count.toLocaleString()}</span>}
</button>
</>
)}