feat(creator): 라이브 탭 화면을 추가한다

This commit is contained in:
Yu Sung
2026-07-04 01:06:38 +09:00
parent ce923ab2d7
commit 0b32a536c9
13 changed files with 473 additions and 18 deletions

View File

@@ -0,0 +1,35 @@
import SwiftUI
struct CreatorChannelLiveStartButton: View {
let action: () -> Void
var body: some View {
Button(action: action) {
HStack(spacing: SodaSpacing.s6) {
Image("ic_new_create_live")
.resizable()
.scaledToFit()
.frame(width: 24, height: 24)
Text(I18n.CreatorChannelLive.startLive)
.appFont(size: 16, weight: .bold)
.foregroundColor(.white)
.lineLimit(1)
}
.frame(maxWidth: .infinity)
.frame(height: 56)
.background(Color.soda400)
.clipShape(Capsule())
}
.buttonStyle(.plain)
}
}
struct CreatorChannelLiveStartButton_Previews: PreviewProvider {
static var previews: some View {
CreatorChannelLiveStartButton(action: {})
.padding(SodaSpacing.s20)
.background(Color.black)
.previewLayout(.sizeThatFits)
}
}