콘텐츠 메인
- 추천 시리즈 UI 추가
This commit is contained in:
		@@ -6,7 +6,6 @@
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
import SwiftUI
 | 
			
		||||
import RefreshableScrollView
 | 
			
		||||
 | 
			
		||||
struct ContentMainView: View {
 | 
			
		||||
    
 | 
			
		||||
@@ -16,12 +15,7 @@ struct ContentMainView: View {
 | 
			
		||||
        ZStack(alignment: .bottomTrailing) {
 | 
			
		||||
            Color.black.ignoresSafeArea()
 | 
			
		||||
            
 | 
			
		||||
            RefreshableScrollView(
 | 
			
		||||
                refreshing: $viewModel.isLoading,
 | 
			
		||||
                action: {
 | 
			
		||||
                    viewModel.refresh()
 | 
			
		||||
                }
 | 
			
		||||
            ) {
 | 
			
		||||
            ScrollView(.vertical, showsIndicators: false) {
 | 
			
		||||
                VStack(alignment: .leading, spacing: 0) {
 | 
			
		||||
                    Text("콘텐츠 마켓")
 | 
			
		||||
                        .font(.custom(Font.bold.rawValue, size: 21.3))
 | 
			
		||||
@@ -30,9 +24,7 @@ struct ContentMainView: View {
 | 
			
		||||
                        .padding(.horizontal, 13.3)
 | 
			
		||||
                    
 | 
			
		||||
                    if !viewModel.isLoading {
 | 
			
		||||
                        ContentMainNewContentCreatorView()
 | 
			
		||||
                            .padding(.bottom, 26.7)
 | 
			
		||||
                            .padding(.horizontal, 13.3)
 | 
			
		||||
                        ContentMainRecommendSeriesView()
 | 
			
		||||
                        
 | 
			
		||||
                        ContentMainBannerView()
 | 
			
		||||
                            .padding(.bottom, 26.7)
 | 
			
		||||
@@ -124,10 +116,10 @@ struct ContentMainView: View {
 | 
			
		||||
                    AppState.shared.setAppStep(step: .createContent)
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
            if viewModel.isLoading {
 | 
			
		||||
                LoadingView()
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        if viewModel.isLoading {
 | 
			
		||||
            LoadingView()
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user