feat(creator): 후원 탭 UI 조각을 추가한다

This commit is contained in:
Yu Sung
2026-07-04 22:44:48 +09:00
parent e75d836b99
commit 02b56ac6da
4 changed files with 226 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
import SwiftUI
struct CreatorChannelDonationFloatingButton: View {
let action: () -> Void
var body: some View {
VStack {
Spacer()
HStack {
Spacer()
Button(action: action) {
Image("ic_new_donation")
.resizable()
.renderingMode(.template)
.foregroundColor(.white)
.scaledToFit()
.frame(width: 32, height: 32)
.frame(width: 66, height: 66)
.background(Color.soda400)
.clipShape(Capsule())
}
.buttonStyle(.plain)
.padding(.trailing, SodaSpacing.s14)
}
}
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .bottomTrailing)
}
}
struct CreatorChannelDonationFloatingButton_Previews: PreviewProvider {
static var previews: some View {
ZStack {
Color.black.ignoresSafeArea()
CreatorChannelDonationFloatingButton(action: {})
}
}
}