feat: 메인 라이브
- 커뮤니티 신규 UI 사이즈 적용
This commit is contained in:
		@@ -12,17 +12,30 @@ struct SectionCommunityPostView: View {
 | 
			
		||||
    let items: [GetCommunityPostListResponse]
 | 
			
		||||
    
 | 
			
		||||
    var body: some View {
 | 
			
		||||
        ScrollView(.horizontal, showsIndicators: false) {
 | 
			
		||||
            HStack(spacing: 13.3) {
 | 
			
		||||
                ForEach(0..<items.count, id: \.self) { index in
 | 
			
		||||
                    let item = items[index]
 | 
			
		||||
                    CreatorCommunityItemView(item: item)
 | 
			
		||||
                        .frame(width: 320)
 | 
			
		||||
                        .onTapGesture {
 | 
			
		||||
                            AppState.shared
 | 
			
		||||
                                .setAppStep(step: .creatorCommunityAll(creatorId: item.creatorId))
 | 
			
		||||
                        }
 | 
			
		||||
        VStack(spacing: 16) {
 | 
			
		||||
            HStack(spacing: 0) {
 | 
			
		||||
                Text("커뮤니티")
 | 
			
		||||
                    .font(.custom(Font.preBold.rawValue, size: 24))
 | 
			
		||||
                    .foregroundColor(.button)
 | 
			
		||||
                
 | 
			
		||||
                Spacer()
 | 
			
		||||
            }
 | 
			
		||||
            .frame(maxWidth: .infinity, alignment: .leading)
 | 
			
		||||
            .padding(.horizontal, 24)
 | 
			
		||||
            
 | 
			
		||||
            ScrollView(.horizontal, showsIndicators: false) {
 | 
			
		||||
                HStack(spacing: 16) {
 | 
			
		||||
                    ForEach(0..<items.count, id: \.self) { index in
 | 
			
		||||
                        let item = items[index]
 | 
			
		||||
                        CreatorCommunityItemView(item: item)
 | 
			
		||||
                            .frame(width: screenSize().width - 48)
 | 
			
		||||
                            .onTapGesture {
 | 
			
		||||
                                AppState.shared
 | 
			
		||||
                                    .setAppStep(step: .creatorCommunityAll(creatorId: item.creatorId))
 | 
			
		||||
                            }
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                .padding(.horizontal, 24)
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user