feat(chat-character): 신규 캐릭터 전체보기 화면 및 API 연동 추가
This commit is contained in:
		@@ -40,10 +40,11 @@ struct CharacterView: View {
 | 
			
		||||
                        CharacterSectionView(
 | 
			
		||||
                            title: "인기 캐릭터",
 | 
			
		||||
                            items: viewModel.popularCharacters,
 | 
			
		||||
                            isShowRank: true
 | 
			
		||||
                        ) { ch in
 | 
			
		||||
                            onSelectCharacter(ch.characterId)
 | 
			
		||||
                        }
 | 
			
		||||
                            isShowRank: true,
 | 
			
		||||
                            onTap: { ch in
 | 
			
		||||
                                onSelectCharacter(ch.characterId)
 | 
			
		||||
                            }
 | 
			
		||||
                        )
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                    // 신규 캐릭터 섹션
 | 
			
		||||
@@ -51,10 +52,16 @@ struct CharacterView: View {
 | 
			
		||||
                        CharacterSectionView(
 | 
			
		||||
                            title: "신규 캐릭터",
 | 
			
		||||
                            items: viewModel.newCharacters,
 | 
			
		||||
                            isShowRank: false
 | 
			
		||||
                        ) { ch in
 | 
			
		||||
                            onSelectCharacter(ch.characterId)
 | 
			
		||||
                        }
 | 
			
		||||
                            isShowRank: false,
 | 
			
		||||
                            trailingTitle: "전체보기",
 | 
			
		||||
                            onTapTrailing: {
 | 
			
		||||
                                AppState.shared
 | 
			
		||||
                                    .setAppStep(step: .newCharacterAll)
 | 
			
		||||
                            },
 | 
			
		||||
                            onTap: { ch in
 | 
			
		||||
                                onSelectCharacter(ch.characterId)
 | 
			
		||||
                            }
 | 
			
		||||
                        )
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                    // 큐레이션 섹션 (여러 섹션)
 | 
			
		||||
@@ -65,10 +72,11 @@ struct CharacterView: View {
 | 
			
		||||
                                CharacterSectionView(
 | 
			
		||||
                                    title: section.title,
 | 
			
		||||
                                    items: section.characters,
 | 
			
		||||
                                    isShowRank: false
 | 
			
		||||
                                ) { ch in
 | 
			
		||||
                                    onSelectCharacter(ch.characterId)
 | 
			
		||||
                                }
 | 
			
		||||
                                    isShowRank: false,
 | 
			
		||||
                                    onTap: { ch in
 | 
			
		||||
                                        onSelectCharacter(ch.characterId)
 | 
			
		||||
                                    }
 | 
			
		||||
                                )
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user