// // SeriesDetailHomeView.swift // SodaLive // // Created by klaus on 4/29/24. // import SwiftUI struct SeriesDetailHomeView: View { let title: String let seriesId: Int let contentCount: Int let contentList: [GetSeriesContentListItem] var body: some View { VStack(spacing: 0) { HStack(spacing: 0) { Text("전체회차 듣기") .font(.custom(Font.bold.rawValue, size: 16)) .foregroundColor(Color.button) Text(" (\(contentCount))") .font(.custom(Font.light.rawValue, size: 16)) .foregroundColor(Color.button) } .frame(maxWidth: .infinity) .padding(.vertical, 13.3) .background(Color.bg) .cornerRadius(5.3) .overlay( RoundedRectangle(cornerRadius: 5.3) .stroke() .foregroundColor(Color.button) ) .padding(.top, 16) .onTapGesture { AppState.shared .setAppStep(step: .seriesContentAll(seriesId: seriesId, seriesTitle: title)) } VStack(spacing: 8) { ForEach(0..