feat: 콘텐츠 메인 - 새로운 콘텐츠, 큐레이션, 채널별 인기 콘텐츠, 시리즈 상세, 크리에이터 채널 콘텐츠 리스트

- 포인트 사용 가능 여부 표시
This commit is contained in:
Yu Sung
2025-06-10 19:43:29 +09:00
parent 842da82faf
commit 86cf466838
13 changed files with 122 additions and 46 deletions

View File

@@ -51,6 +51,15 @@ struct ContentListItemView: View {
.background(Color(hex: "222222"))
.cornerRadius(2.6)
if item.isPointAvailable {
Text("포인트")
.font(.custom(Font.medium.rawValue, size: 8))
.foregroundColor(.white)
.padding(2.6)
.background(Color(hex: "7849bc"))
.cornerRadius(2.6)
}
if item.isPin {
Image("ic_pin")
.resizable()
@@ -162,7 +171,8 @@ struct ContentListItemView_Previews: PreviewProvider {
isScheduledToOpen: true,
isRented: false,
isOwned: false,
isSoldOut: true
isSoldOut: true,
isPointAvailable: true
)
)
}