feat(home): 장르 크리에이터 섹션을 연결한다

This commit is contained in:
Yu Sung
2026-06-29 20:47:46 +09:00
parent 561e991050
commit 2727cdc7cb
8 changed files with 225 additions and 12 deletions

View File

@@ -24,19 +24,31 @@ struct FollowAllButton: View {
HStack(spacing: SodaSpacing.s6) {
if isCompleted {
Image("ic_new_following")
.resizable()
.renderingMode(.template)
.foregroundColor(.black)
.frame(width: 20, height: 20)
} else {
Image("ic_new_follow")
.resizable()
.renderingMode(.template)
.foregroundColor(.white)
.frame(width: 16, height: 16)
.frame(width: 20, height: 20)
}
Text(isCompleted ? I18n.HomeRecommendation.followAllCompleted : I18n.HomeRecommendation.followAll)
.appFont(.body5)
.foregroundColor(.white)
.foregroundColor(isCompleted ? .black : .white)
}
.padding(SodaSpacing.s12)
.frame(maxWidth: .infinity)
.background(isCompleted ? Color.white : Color.clear)
.overlay {
if !isCompleted {
Capsule()
.stroke(Color.white.opacity(0.3), lineWidth: 1)
}
}
.padding(.horizontal, SodaSpacing.s16)
.frame(height: 36)
.background(isCompleted ? Color.gray700 : Color.button)
.clipShape(Capsule())
.opacity(isLoading ? 0.6 : 1)
}