parent
2f734c22ec
commit
bb85658cb0
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue