콘텐츠 메인
- 시리즈 탭 UI 페이지 생성
This commit is contained in:
@@ -76,28 +76,52 @@ struct ContentMainTabHomeView: View {
|
||||
ContentMainTabCategoryView(
|
||||
imageName: "ic_category_series",
|
||||
title: "시리즈",
|
||||
onClick: {}
|
||||
onClick: {
|
||||
AppState.shared
|
||||
.setAppStep(
|
||||
step: .contentMain(
|
||||
startTab: .SERIES
|
||||
)
|
||||
)
|
||||
}
|
||||
)
|
||||
.frame(maxWidth: .infinity)
|
||||
|
||||
ContentMainTabCategoryView(
|
||||
imageName: "ic_category_content",
|
||||
title: "단편",
|
||||
onClick: {}
|
||||
onClick: {
|
||||
AppState.shared
|
||||
.setAppStep(
|
||||
step: .contentMain(
|
||||
startTab: .CONTENT
|
||||
)
|
||||
)
|
||||
}
|
||||
)
|
||||
.frame(maxWidth: .infinity)
|
||||
|
||||
ContentMainTabCategoryView(
|
||||
imageName: "ic_category_audio_book",
|
||||
title: "오디오북",
|
||||
onClick: {}
|
||||
onClick: {
|
||||
viewModel.errorMessage = "준비중입니다."
|
||||
viewModel.isShowPopup = true
|
||||
}
|
||||
)
|
||||
.frame(maxWidth: .infinity)
|
||||
|
||||
ContentMainTabCategoryView(
|
||||
imageName: "ic_category_alarm",
|
||||
title: "모닝콜",
|
||||
onClick: {}
|
||||
onClick: {
|
||||
AppState.shared
|
||||
.setAppStep(
|
||||
step: .contentMain(
|
||||
startTab: .ALARM
|
||||
)
|
||||
)
|
||||
}
|
||||
)
|
||||
.frame(maxWidth: .infinity)
|
||||
}
|
||||
@@ -106,28 +130,52 @@ struct ContentMainTabHomeView: View {
|
||||
ContentMainTabCategoryView(
|
||||
imageName: "ic_category_asmr",
|
||||
title: "ASMR",
|
||||
onClick: {}
|
||||
onClick: {
|
||||
AppState.shared
|
||||
.setAppStep(
|
||||
step: .contentMain(
|
||||
startTab: .ASMR
|
||||
)
|
||||
)
|
||||
}
|
||||
)
|
||||
.frame(maxWidth: .infinity)
|
||||
|
||||
ContentMainTabCategoryView(
|
||||
imageName: "ic_category_replay",
|
||||
title: "다시듣기",
|
||||
onClick: {}
|
||||
onClick: {
|
||||
AppState.shared
|
||||
.setAppStep(
|
||||
step: .contentMain(
|
||||
startTab: .REPLAY
|
||||
)
|
||||
)
|
||||
}
|
||||
)
|
||||
.frame(maxWidth: .infinity)
|
||||
|
||||
ContentMainTabCategoryView(
|
||||
imageName: "ic_category_audio_toon",
|
||||
title: "오디오툰",
|
||||
onClick: {}
|
||||
onClick: {
|
||||
viewModel.errorMessage = "준비중입니다."
|
||||
viewModel.isShowPopup = true
|
||||
}
|
||||
)
|
||||
.frame(maxWidth: .infinity)
|
||||
|
||||
ContentMainTabCategoryView(
|
||||
imageName: "ic_category_free",
|
||||
title: "무료",
|
||||
onClick: {}
|
||||
onClick: {
|
||||
AppState.shared
|
||||
.setAppStep(
|
||||
step: .contentMain(
|
||||
startTab: .FREE
|
||||
)
|
||||
)
|
||||
}
|
||||
)
|
||||
.frame(maxWidth: .infinity)
|
||||
}
|
||||
|
Reference in New Issue
Block a user