diff --git a/SodaLive/Sources/App/AppStep.swift b/SodaLive/Sources/App/AppStep.swift index 568de4a..c355d28 100644 --- a/SodaLive/Sources/App/AppStep.swift +++ b/SodaLive/Sources/App/AppStep.swift @@ -149,4 +149,6 @@ enum AppStep { case newAlarmContentAll case newAsmrContentAll + + case newReplayContentAll } diff --git a/SodaLive/Sources/Content/Main/V2/Asmr/All/ContentMainAsmrAllView.swift b/SodaLive/Sources/Content/Main/V2/Asmr/All/ContentMainAsmrAllView.swift index 1c0f612..6f34371 100644 --- a/SodaLive/Sources/Content/Main/V2/Asmr/All/ContentMainAsmrAllView.swift +++ b/SodaLive/Sources/Content/Main/V2/Asmr/All/ContentMainAsmrAllView.swift @@ -66,6 +66,7 @@ struct ContentMainAsmrAllView: View { viewModel.selectedTheme = "ASMR" } } + .navigationBarHidden(true) } } } diff --git a/SodaLive/Sources/Content/Main/V2/Replay/All/ContentMainReplayAllView.swift b/SodaLive/Sources/Content/Main/V2/Replay/All/ContentMainReplayAllView.swift new file mode 100644 index 0000000..6b0460e --- /dev/null +++ b/SodaLive/Sources/Content/Main/V2/Replay/All/ContentMainReplayAllView.swift @@ -0,0 +1,76 @@ +// +// ContentMainReplayAllView.swift +// SodaLive +// +// Created by klaus on 2/22/25. +// + +import SwiftUI + +struct ContentMainReplayAllView: View { + + @StateObject var viewModel = ContentNewAllViewModel() + + let columns = [ + GridItem(.flexible(), alignment: .top), + GridItem(.flexible(), alignment: .top), + GridItem(.flexible(), alignment: .top) + ] + + var body: some View { + NavigationView { + BaseView(isLoading: $viewModel.isLoading) { + VStack(alignment: .leading, spacing: 13.3) { + DetailNavigationBar(title: "새로운 라이브 다시듣기") + + Text("※ 최근 2주간 등록된 새로운 라이브 다시듣기 입니다.") + .font(.custom(Font.medium.rawValue, size: 14.7)) + .foregroundColor(.graybb) + .padding(.horizontal, 13.3) + .padding(.vertical, 8) + .frame(width: screenSize().width, alignment: .leading) + .background(Color.gray22) + + HStack(spacing: 0) { + Text("전체") + .font(.custom(Font.medium.rawValue, size: 13.3)) + .foregroundColor(Color(hex: "e2e2e2")) + + Text("\(viewModel.totalCount)") + .font(.custom(Font.medium.rawValue, size: 13.3)) + .foregroundColor(Color(hex: "ff5c49")) + .padding(.leading, 8) + + Text("개") + .font(.custom(Font.medium.rawValue, size: 13.3)) + .foregroundColor(Color(hex: "e2e2e2")) + .padding(.leading, 2) + } + .padding(.horizontal, 13.3) + + ScrollView(.vertical, showsIndicators: false) { + LazyVGrid(columns: columns, spacing: 32) { + ForEach(0..