콘텐츠 메인 - 숏플, 라이브 다시 듣기 추가
This commit is contained in:
@@ -35,11 +35,60 @@ struct ContentMainView: View {
|
||||
.padding(.horizontal, 13.3)
|
||||
|
||||
ContentMainBannerView()
|
||||
.padding(.bottom, 40)
|
||||
.padding(.bottom, 26.7)
|
||||
.padding(.horizontal, 13.3)
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
VStack(spacing: 2.7) {
|
||||
HStack(spacing: 2.7) {
|
||||
Image("ic_short_play")
|
||||
|
||||
Text("숏플")
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.foregroundColor(Color(hex: "dd158d"))
|
||||
}
|
||||
|
||||
Text("짧지만 꼴릿한 이야기")
|
||||
.font(.custom(Font.light.rawValue, size: 10))
|
||||
.foregroundColor(Color(hex: "dd158d"))
|
||||
}
|
||||
.padding(.vertical, 10)
|
||||
.frame(maxWidth: .infinity)
|
||||
.background(Color(hex: "ffecf7"))
|
||||
.cornerRadius(2.6)
|
||||
.onTapGesture {
|
||||
AppState.shared.setAppStep(
|
||||
step: .contentAllByTheme(themeId: 11)
|
||||
)
|
||||
}
|
||||
|
||||
VStack(spacing: 2.7) {
|
||||
HStack(spacing: 2.7) {
|
||||
Image("ic_thumb_play_blue")
|
||||
|
||||
Text("라이브 다시듣기")
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.foregroundColor(Color(hex: "0057ff"))
|
||||
}
|
||||
|
||||
Text("놓쳤던 라이브 다시듣기")
|
||||
.font(.custom(Font.light.rawValue, size: 10))
|
||||
.foregroundColor(Color(hex: "0057ff"))
|
||||
}
|
||||
.padding(.vertical, 10)
|
||||
.frame(maxWidth: .infinity)
|
||||
.background(Color(hex: "ecf9ff"))
|
||||
.cornerRadius(2.6)
|
||||
.onTapGesture {
|
||||
AppState.shared.setAppStep(
|
||||
step: .contentAllByTheme(themeId: 7)
|
||||
)
|
||||
}
|
||||
}
|
||||
.padding(.bottom, 40)
|
||||
.padding(.horizontal, 13.3)
|
||||
|
||||
ContentMainMyStashView()
|
||||
.padding(.bottom, 40)
|
||||
.padding(.horizontal, 13.3)
|
||||
|
||||
ContentMainNewContentView()
|
||||
|
@@ -39,6 +39,7 @@ struct ContentMainMyStashView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(.bottom, 40)
|
||||
}
|
||||
|
||||
if viewModel.isLoading {
|
||||
|
Reference in New Issue
Block a user