콘텐츠 메인

- ASMR 탭 UI 페이지 생성
This commit is contained in:
Yu Sung
2025-02-22 05:05:07 +09:00
parent 53266dc91b
commit 021fbd5294
6 changed files with 188 additions and 12 deletions

View File

@@ -22,23 +22,24 @@ struct ContentMainNewContentViewV2: View {
HStack(spacing: 0) {
Text(title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.foregroundColor(Color(hex: "eeeeee"))
.foregroundColor(.grayee)
Spacer()
Image("ic_forward")
.resizable()
.frame(width: 20, height: 20)
.onTapGesture {
}
.onTapGesture { onClickMore() }
}
.padding(.horizontal, 13.3)
ContentMainContentThemeView(
themeList: themeList,
selectTheme: selectTheme,
selectedTheme: $selectedTheme
)
if !themeList.isEmpty {
ContentMainContentThemeView(
themeList: themeList,
selectTheme: selectTheme,
selectedTheme: $selectedTheme
)
}
ScrollView(.horizontal, showsIndicators: false) {
HStack(spacing: 13.3) {
@@ -50,7 +51,9 @@ struct ContentMainNewContentViewV2: View {
}
}
.onAppear {
selectedTheme = themeList[0]
if !themeList.isEmpty {
selectedTheme = themeList[0]
}
}
}
}