feat(home): 추천 배너 섹션을 연결한다

This commit is contained in:
Yu Sung
2026-06-29 15:39:23 +09:00
parent c441fb0b02
commit 0e31c69be8
10 changed files with 454 additions and 41 deletions

View File

@@ -9,6 +9,7 @@ struct MainHomeView: View {
let onTapContent: (Int) -> Void
let onTapCharacter: (Int) -> Void
let onTapCommunity: (Int) -> Void
let onTapBanner: (RecommendationBannerResponse) -> Void
@State private var selectedTab: MainHomeTab = .recommendation
@@ -48,7 +49,8 @@ struct MainHomeView: View {
onTapCreator: onTapCreator,
onTapContent: onTapContent,
onTapCharacter: onTapCharacter,
onTapCommunity: onTapCommunity
onTapCommunity: onTapCommunity,
onTapBanner: onTapBanner
)
case .ranking:
MainHomeRankingView()
@@ -85,7 +87,8 @@ struct MainHomeView_Previews: PreviewProvider {
onTapCreator: { _ in },
onTapContent: { _ in },
onTapCharacter: { _ in },
onTapCommunity: { _ in }
onTapCommunity: { _ in },
onTapBanner: { _ in }
)
}
}