feat(series-all): 시리즈 전체보기 페이지 파일 생성
- 홈 뷰의 요일별 시리즈에 전체보기 텍스트 추가 - 전체보기 터치시 시리즈 전체보기 페이지로 이동 액션 추가
This commit is contained in:
@@ -171,4 +171,6 @@ enum AppStep {
|
|||||||
case originalWorkDetail(originalId: Int)
|
case originalWorkDetail(originalId: Int)
|
||||||
|
|
||||||
case contentAll(isFree: Bool = false, isPointOnly: Bool = false)
|
case contentAll(isFree: Bool = false, isPointOnly: Bool = false)
|
||||||
|
|
||||||
|
case seriesMain
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,6 +52,16 @@ struct DayOfWeekSeriesView: View {
|
|||||||
Text(" 시리즈")
|
Text(" 시리즈")
|
||||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||||
.foregroundColor(.white)
|
.foregroundColor(.white)
|
||||||
|
|
||||||
|
Spacer()
|
||||||
|
|
||||||
|
Text("전체보기")
|
||||||
|
.font(.custom(Font.preRegular.rawValue, size: 14))
|
||||||
|
.foregroundColor(.init(hex: "78909C"))
|
||||||
|
.onTapGesture {
|
||||||
|
AppState.shared
|
||||||
|
.setAppStep(step: .seriesMain)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.padding(.horizontal, 24)
|
.padding(.horizontal, 24)
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
//
|
||||||
|
// SeriesMainByGenreView.swift
|
||||||
|
// SodaLive
|
||||||
|
//
|
||||||
|
// Created by klaus on 11/14/25.
|
||||||
|
//
|
||||||
|
|
||||||
|
import SwiftUI
|
||||||
|
|
||||||
|
struct SeriesMainByGenreView: View {
|
||||||
|
var body: some View {
|
||||||
|
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#Preview {
|
||||||
|
SeriesMainByGenreView()
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
//
|
||||||
|
// SeriesMainByGenreViewModel.swift
|
||||||
|
// SodaLive
|
||||||
|
//
|
||||||
|
// Created by klaus on 11/14/25.
|
||||||
|
//
|
||||||
|
|
||||||
|
import Foundation
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
//
|
||||||
|
// SeriesMainDayOfWeekView.swift
|
||||||
|
// SodaLive
|
||||||
|
//
|
||||||
|
// Created by klaus on 11/14/25.
|
||||||
|
//
|
||||||
|
|
||||||
|
import SwiftUI
|
||||||
|
|
||||||
|
struct SeriesMainDayOfWeekView: View {
|
||||||
|
var body: some View {
|
||||||
|
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#Preview {
|
||||||
|
SeriesMainDayOfWeekView()
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
//
|
||||||
|
// SeriesMainDayOfWeekViewModel.swift
|
||||||
|
// SodaLive
|
||||||
|
//
|
||||||
|
// Created by klaus on 11/14/25.
|
||||||
|
//
|
||||||
|
|
||||||
|
import Foundation
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
//
|
||||||
|
// SeriesMainHomeView.swift
|
||||||
|
// SodaLive
|
||||||
|
//
|
||||||
|
// Created by klaus on 11/14/25.
|
||||||
|
//
|
||||||
|
|
||||||
|
import SwiftUI
|
||||||
|
|
||||||
|
struct SeriesMainHomeView: View {
|
||||||
|
var body: some View {
|
||||||
|
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#Preview {
|
||||||
|
SeriesMainHomeView()
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
//
|
||||||
|
// SeriesMainHomeViewModel.swift
|
||||||
|
// SodaLive
|
||||||
|
//
|
||||||
|
// Created by klaus on 11/14/25.
|
||||||
|
//
|
||||||
|
|
||||||
|
import Foundation
|
||||||
8
SodaLive/Sources/Content/Series/Main/SeriesMainApi.swift
Normal file
8
SodaLive/Sources/Content/Series/Main/SeriesMainApi.swift
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
//
|
||||||
|
// SeriesMainApi.swift
|
||||||
|
// SodaLive
|
||||||
|
//
|
||||||
|
// Created by klaus on 11/14/25.
|
||||||
|
//
|
||||||
|
|
||||||
|
import Foundation
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
//
|
||||||
|
// SeriesMainRepository.swift
|
||||||
|
// SodaLive
|
||||||
|
//
|
||||||
|
// Created by klaus on 11/14/25.
|
||||||
|
//
|
||||||
|
|
||||||
|
import Foundation
|
||||||
20
SodaLive/Sources/Content/Series/Main/SeriesMainView.swift
Normal file
20
SodaLive/Sources/Content/Series/Main/SeriesMainView.swift
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
//
|
||||||
|
// SeriesMainView.swift
|
||||||
|
// SodaLive
|
||||||
|
//
|
||||||
|
// Created by klaus on 11/14/25.
|
||||||
|
//
|
||||||
|
|
||||||
|
import SwiftUI
|
||||||
|
|
||||||
|
struct SeriesMainView: View {
|
||||||
|
var body: some View {
|
||||||
|
BaseView {
|
||||||
|
Text("시리즈 전체보기")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#Preview {
|
||||||
|
SeriesMainView()
|
||||||
|
}
|
||||||
@@ -265,6 +265,9 @@ struct ContentView: View {
|
|||||||
case .contentAll(let isFree, let isPointOnly):
|
case .contentAll(let isFree, let isPointOnly):
|
||||||
ContentAllView(isFree: isFree, isPointAvailableOnly: isPointOnly)
|
ContentAllView(isFree: isFree, isPointAvailableOnly: isPointOnly)
|
||||||
|
|
||||||
|
case .seriesMain:
|
||||||
|
SeriesMainView()
|
||||||
|
|
||||||
default:
|
default:
|
||||||
EmptyView()
|
EmptyView()
|
||||||
.frame(width: 0, height: 0, alignment: .topLeading)
|
.frame(width: 0, height: 0, alignment: .topLeading)
|
||||||
|
|||||||
Reference in New Issue
Block a user