feat(home): 장르 크리에이터 섹션을 연결한다

This commit is contained in:
Yu Sung
2026-06-29 20:47:46 +09:00
parent 561e991050
commit 2727cdc7cb
8 changed files with 225 additions and 12 deletions

View File

@@ -10,6 +10,7 @@ struct MainHomeView: View {
let onTapCharacter: (Int) -> Void
let onTapCommunity: (Int) -> Void
let onTapBanner: (RecommendationBannerResponse) -> Void
let onTapFollowAll: (@escaping () -> Void) -> Void
@State private var selectedTab: MainHomeTab = .recommendation
@@ -50,7 +51,8 @@ struct MainHomeView: View {
onTapContent: onTapContent,
onTapCharacter: onTapCharacter,
onTapCommunity: onTapCommunity,
onTapBanner: onTapBanner
onTapBanner: onTapBanner,
onTapFollowAll: onTapFollowAll
)
case .ranking:
MainHomeRankingView()
@@ -88,7 +90,8 @@ struct MainHomeView_Previews: PreviewProvider {
onTapContent: { _ in },
onTapCharacter: { _ in },
onTapCommunity: { _ in },
onTapBanner: { _ in }
onTapBanner: { _ in },
onTapFollowAll: { action in action() }
)
}
}