콘텐츠 메인

- 채널 검색 추가
This commit is contained in:
Yu Sung
2025-01-09 05:07:44 +09:00
parent 6d5257e1c0
commit 3a0ca5b945
7 changed files with 220 additions and 0 deletions

View File

@@ -37,6 +37,33 @@ struct ContentMainView: View {
.padding(.bottom, 26.7)
.padding(.horizontal, 13.3)
HStack(spacing: 0) {
Image("ic_title_search_black")
Text("채널명을 입력해 보세요")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color.gray55)
.keyboardType(.default)
.padding(.horizontal, 13.3)
Spacer()
}
.padding(.horizontal, 21.3)
.frame(height: 50)
.frame(maxWidth: .infinity)
.background(Color.gray22)
.overlay(
RoundedRectangle(cornerRadius: 6.7)
.strokeBorder(lineWidth: 1)
.foregroundColor(Color.graybb)
)
.padding(.bottom, 26.7)
.padding(.horizontal, 13.3)
.onTapGesture {
UserDefaults.set("", forKey: .searchChannel)
AppState.shared.setAppStep(step: .searchChannel)
}
ContentMainCreatorRankingView()
.padding(.bottom, 26.7)
.padding(.horizontal, 13.3)