// // ContentMainNewContentViewV2.swift // SodaLive // // Created by klaus on 2/21/25. // import SwiftUI struct ContentMainNewContentViewV2: View { let title: String let onClickMore: () -> Void let themeList: [String] let contentList: [GetAudioContentMainItem] let selectTheme: (String) -> Void @State private var selectedTheme = "전체" var body: some View { LazyVStack(spacing: 13.3) { HStack(spacing: 0) { Text(title) .font(.custom(Font.bold.rawValue, size: 18.3)) .foregroundColor(.grayee) Spacer() Image("ic_forward") .resizable() .frame(width: 20, height: 20) .onTapGesture { onClickMore() } } .padding(.horizontal, 13.3) if !themeList.isEmpty { ContentMainContentThemeView( themeList: themeList, selectTheme: selectTheme, selectedTheme: $selectedTheme ) } ScrollView(.horizontal, showsIndicators: false) { HStack(spacing: 13.3) { ForEach(0..