feat(gift): 선물함 목록 컴포넌트를 추가한다
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import SwiftUI
|
||||
|
||||
struct GiftBoxEmptyView: View {
|
||||
let onFeedback: () -> Void
|
||||
|
||||
var body: some View {
|
||||
VStack(spacing: SodaSpacing.s20) {
|
||||
Text("전달 예정인 선물이 없어요")
|
||||
.appFont(.heading1)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Text("베타 기간에는 팬이 선물을 보내는 기능만 제공돼요.\n더 다양해진 선물 기능으로 곧 다시 만나요!")
|
||||
.appFont(.body3)
|
||||
.foregroundColor(.gray500)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
|
||||
Button(action: onFeedback) {
|
||||
Text("의견 남기기")
|
||||
.appFont(.body2)
|
||||
.foregroundColor(.white)
|
||||
.padding(SodaSpacing.s12)
|
||||
.background(Color.gray800)
|
||||
.clipShape(Capsule())
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
}
|
||||
.multilineTextAlignment(.center)
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(SodaSpacing.s14)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user