캐릭터 탭 - 섹션 사이 간격 48
채팅 캐릭터 이미지 비율 2:3으로 변경 채팅 배경 사진 -> 채팅 배경 이미지로 단어 변경
This commit is contained in:
@@ -13,7 +13,7 @@ struct CharacterSectionView: View {
|
||||
var onTap: (Character) -> Void = { _ in }
|
||||
|
||||
var body: some View {
|
||||
VStack(alignment: .leading, spacing: 12) {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
Text(title)
|
||||
.font(.custom(Font.preBold.rawValue, size: 20))
|
||||
.foregroundColor(.white)
|
||||
|
||||
@@ -15,7 +15,7 @@ struct CharacterView: View {
|
||||
var body: some View {
|
||||
BaseView(isLoading: $viewModel.isLoading) {
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
VStack(alignment: .leading, spacing: 24) {
|
||||
VStack(alignment: .leading, spacing: 48) {
|
||||
// 배너
|
||||
if !viewModel.banners.isEmpty {
|
||||
AutoSlideCharacterBannerView(items: viewModel.banners) { banner in
|
||||
@@ -45,7 +45,7 @@ struct CharacterView: View {
|
||||
|
||||
// 큐레이션 섹션 (여러 섹션)
|
||||
if !viewModel.curations.isEmpty {
|
||||
VStack(alignment: .leading, spacing: 24) {
|
||||
VStack(alignment: .leading, spacing: 48) {
|
||||
ForEach(viewModel.curations.indices, id: \.self) { idx in
|
||||
let section = viewModel.curations[idx]
|
||||
CharacterSectionView(
|
||||
@@ -58,7 +58,7 @@ struct CharacterView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding(.vertical, 24)
|
||||
.padding(.bottom, 24)
|
||||
}
|
||||
.background(Color.black.ignoresSafeArea())
|
||||
.onAppear {
|
||||
|
||||
@@ -13,14 +13,16 @@ struct RecentCharacterSectionView: View {
|
||||
var onTap: (RecentCharacter) -> Void = { _ in }
|
||||
|
||||
var body: some View {
|
||||
VStack(alignment: .leading, spacing: 12) {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
HStack(spacing: 0) {
|
||||
Text("최근 대화한 캐릭터 ")
|
||||
.font(.custom(Font.preBold.rawValue, size: 20))
|
||||
.foregroundColor(.white)
|
||||
|
||||
Text("\(titleCount)")
|
||||
.font(.custom(Font.preBold.rawValue, size: 20))
|
||||
.foregroundColor(Color(hex: "FDCA2F"))
|
||||
|
||||
Spacer()
|
||||
}
|
||||
.padding(.horizontal, 24)
|
||||
|
||||
Reference in New Issue
Block a user