feat(home): 랭킹 순위 UI를 추가한다
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import SwiftUI
|
||||
|
||||
struct MainHomeRankingEmptyStateView: View {
|
||||
var body: some View {
|
||||
VStack {
|
||||
Spacer()
|
||||
|
||||
Text(I18n.HomeRanking.emptyStateMessage)
|
||||
.appFont(.body5)
|
||||
.foregroundColor(Color.gray500)
|
||||
.multilineTextAlignment(.center)
|
||||
|
||||
Spacer()
|
||||
}
|
||||
.frame(maxWidth: .infinity)
|
||||
.background(Color.black)
|
||||
}
|
||||
}
|
||||
|
||||
struct MainHomeRankingEmptyStateView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
MainHomeRankingEmptyStateView()
|
||||
.frame(width: 390, height: 320)
|
||||
.previewLayout(.sizeThatFits)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user