Files
sodalive-ios/SodaLive/Sources/Explorer/Profile/CreatorCommunity/CreatorCommunityNoPostsItemView.swift
Yu Sung 280e424385 커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
2026-01-23 03:09:20 +09:00

44 lines
1.2 KiB
Swift

//
// CreatorCommunityNoPostsItemView.swift
// SodaLive
//
// Created by klaus on 2023/12/14.
//
import SwiftUI
struct CreatorCommunityNoPostsItemView: View {
let onSuccess: () -> Void
var body: some View {
VStack(spacing: 10.3) {
CreatorCommunityWriteItemView()
Text("게시물 등록")
.appFont(size: 14.7, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
Text("게시 후에 게시물이 여기에 표시되고\n커뮤니티에 공개됩니다.")
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "777777"))
.fixedSize(horizontal: false, vertical: true)
.multilineTextAlignment(.center)
}
.padding(.vertical, 16.7)
.frame(maxWidth: .infinity)
.background(Color(hex: "222222"))
.cornerRadius(10.3)
.contentShape(Rectangle())
.onTapGesture {
AppState.shared.setAppStep(step: .creatorCommunityWrite(onSuccess: onSuccess))
}
}
}
struct CreatorCommunityNoPostsItemView_Previews: PreviewProvider {
static var previews: some View {
CreatorCommunityNoPostsItemView {}
}
}