feat(content): 전체 탭을 추가한다

This commit is contained in:
Yu Sung
2026-07-06 16:28:33 +09:00
parent b42ca61ce4
commit bae92eba4b
14 changed files with 1233 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ struct MainContentView: View {
let onTapSeries: (Int) -> Void
@State private var selectedTab: MainContentTab = .recommendation
@StateObject private var allViewModel = MainContentAllViewModel()
var body: some View {
VStack(spacing: 0) {
@@ -46,6 +47,14 @@ struct MainContentView: View {
onTapBanner: onTapBanner,
onTapSeries: onTapSeries
)
case .ranking:
MainPlaceholderTabView(title: MainContentTab.ranking.title)
case .all:
MainContentAllView(
viewModel: allViewModel,
onTapContent: onTapContent,
onTapSeries: onTapSeries
)
}
}
}