feat(chat): 채팅 탭 추가 및 캐릭터/톡 내부 탭 구현

- ChatTabView 신설: 앱 바 + 내부 탭(캐릭터/톡) 전환 구성
- 커스텀 탭 적용
  - indicatorHeight: 4, indicatorColor: #3bb9f1
  - tabText color: #b0bec5
  - 폰트: 선택 전 Pretendard-Regular, 선택 후 Pretendard-Bold
- HomeView/BottomTabView에 ChatTabView 연동
- CharacterView/TalkView 플레이스홀더 추가
This commit is contained in:
Yu Sung
2025-08-29 14:32:45 +09:00
parent 97a0798995
commit 1488ed5b89
7 changed files with 203 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ struct BottomTabView: View {
var body: some View {
HStack(spacing: 0) {
let tabWidth = width / 3
let tabWidth = width / 4
TabButton(
title: "",
@@ -40,6 +40,31 @@ struct BottomTabView: View {
width: tabWidth
)
TabButton(
title: "채팅",
action: {
if currentTab != .chat {
currentTab = .chat
}
},
image: {
currentTab == .chat ?
"ic_chat_selected" :
"ic_chat"
},
fontName: {
currentTab == .chat ?
Font.bold.rawValue :
Font.medium.rawValue
},
color: {
currentTab == .chat ?
Color.button :
Color.graybb
},
width: tabWidth
)
TabButton(
title: "라이브",
action: {