feat(explorer): 크리에이터 상세정보 다이얼로그와 SNS 링크를 추가한다

This commit is contained in:
Yu Sung
2026-02-25 16:28:48 +09:00
parent 7ff9360b1e
commit e9bd1e7396
18 changed files with 449 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ struct UserProfileView: View {
@State private var isShowFollowNotifyDialog: Bool = false
@State private var isShowRouletteSettings: Bool = false
@State private var isShowMenuSettings: Bool = false
@State private var isShowCreatorDetailDialog: Bool = false
@State private var maxCommunityPostHeight: CGFloat? = nil
@@ -79,11 +80,13 @@ struct UserProfileView: View {
AppState.shared.setAppStep(step: .followerList(userId: creatorProfile.creator.creatorId))
}
} else {
VStack(alignment: .leading, spacing: 9.3) {
Text(I18n.MemberChannel.followerCount(creatorProfile.creator.notificationRecipientCount.comma()))
.appFont(size: 16, weight: .medium)
.foregroundColor(Color.white)
}
Text(I18n.MemberChannel.followerCountWithDetail(creatorProfile.creator.notificationRecipientCount.comma()))
.appFont(size: 16, weight: .medium)
.foregroundColor(Color.white)
.onTapGesture {
isShowCreatorDetailDialog = true
viewModel.getCreatorDetail(userId: creatorProfile.creator.creatorId)
}
}
}
.padding(24)
@@ -517,6 +520,14 @@ struct UserProfileView: View {
if isShowMemberProfilePopup {
MemberProfileDialog(isShowing: $isShowMemberProfilePopup, memberId: memberId)
}
if isShowCreatorDetailDialog {
CreatorDetailDialogView(
isShowing: $isShowCreatorDetailDialog,
creatorDetail: viewModel.creatorDetail,
isLoading: viewModel.isCreatorDetailLoading
)
}
}
ZStack {