feat(home): 인기 커뮤니티 섹션을 연결한다

This commit is contained in:
Yu Sung
2026-06-30 01:44:20 +09:00
parent 20601f40cf
commit 339ca78793
16 changed files with 578 additions and 110 deletions

View File

@@ -79,4 +79,9 @@ struct HomePopularCommunityPostItem: Decodable, Hashable {
let likeCount: Int
let commentCount: Int
let createdAt: String
let isLiked: Bool
func relativeCreatedAtText(now: Date = Date()) -> String {
DateParser.relativeTimeText(fromUTC: createdAt, fallback: createdAt, now: now)
}
}