feat(creator): 대화하기 액션을 연결한다

This commit is contained in:
Yu Sung
2026-07-03 18:13:04 +09:00
parent 3f24788c29
commit 37c34ae91e
13 changed files with 242 additions and 24 deletions

View File

@@ -0,0 +1,37 @@
import SwiftUI
struct CreatorChannelTalkActionSection: View {
let isAiChatAvailable: Bool
let onTapTalk: () -> Void
var body: some View {
HStack {
Spacer()
if isAiChatAvailable {
Button(action: onTapTalk) {
HStack(spacing: SodaSpacing.s6) {
Image("ic_new_talk")
.resizable()
.frame(width: 20, height: 20)
Text(I18n.CreatorChannelHome.talk)
.appFont(size: 16, weight: .medium)
.foregroundColor(.white)
}
.padding(SodaSpacing.s12)
.overlay(
Capsule()
.stroke(Color.white.opacity(0.3), lineWidth: 1)
)
}
.buttonStyle(.plain)
}
Spacer()
}
.frame(height: 44)
.frame(maxWidth: .infinity)
.padding(.bottom, 14)
}
}