크리에이터 채널 - 콘텐츠

- 간격, 컬러 표시방식 변경
This commit is contained in:
Yu Sung 2024-10-03 01:21:22 +09:00
parent 2f734c22ec
commit bb85658cb0
1 changed files with 5 additions and 7 deletions

View File

@ -13,17 +13,17 @@ struct UserProfileContentView: View {
let items: [GetAudioContentListItem]
var body: some View {
VStack(spacing: 0) {
VStack(spacing: 21) {
HStack(spacing: 0) {
Text(userId == UserDefaults.int(forKey: .userId) ? "내 콘텐츠" : "콘텐츠")
.font(.custom(Font.bold.rawValue, size: 18.3))
.foregroundColor(Color(hex: "eeeeee"))
.foregroundColor(Color.grayee)
Spacer()
Text("전체보기")
.font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color(hex: "bbbbbb"))
.foregroundColor(Color.graybb)
.onTapGesture {
AppState.shared.setAppStep(step: .contentListAll(userId: userId))
}
@ -32,12 +32,11 @@ struct UserProfileContentView: View {
if userId == UserDefaults.int(forKey: .userId) {
Text("새로운 콘텐츠 등록하기")
.font(.custom(Font.bold.rawValue, size: 15))
.foregroundColor(Color(hex: "eeeeee"))
.foregroundColor(Color.grayee)
.padding(.vertical, 17)
.frame(maxWidth: .infinity)
.background(Color(hex: "3bb9f1"))
.background(Color.button)
.cornerRadius(5.3)
.padding(.top, 21)
.onTapGesture { AppState.shared.setAppStep(step: .createContent) }
}
@ -55,7 +54,6 @@ struct UserProfileContentView: View {
}
}
}
.padding(.top, 21)
}
}
}