feat: 메인 라이브

- 새로운 UI의 기본 골격 적용
This commit is contained in:
Yu Sung
2025-07-22 01:18:21 +09:00
parent 967c83a122
commit 7518ac7957
2 changed files with 47 additions and 70 deletions

View File

@@ -16,27 +16,7 @@ struct SectionRecommendLiveView: View {
@AppStorage("token") private var token: String = UserDefaults.string(forKey: UserDefaultsKey.token)
var body: some View {
VStack(spacing: 0) {
HStack(spacing: 0) {
Text("추천 ")
.font(.custom(Font.bold.rawValue, size: 18.3))
.foregroundColor(Color(hex: "ff5c49"))
Text("라이브")
.font(.custom(Font.bold.rawValue, size: 18.3))
.foregroundColor(.grayee)
Spacer()
if !token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
Image("ic_message")
.onTapGesture {
AppState.shared.setAppStep(step: .message)
}
}
}
.frame(width: screenSize().width - 26.7, alignment: .leading)
VStack(spacing: 0) {
TabView(selection: $currentIndex) {
ForEach(0..<items.count, id: \.self) { index in
let item = items[index]