fix: 메인 홈
- 콘텐츠 폰트 pretendard로 변경 - 시리즈 이미지 하단에 블랙 제거
This commit is contained in:
@@ -36,7 +36,7 @@ struct ContentItemView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text(item.title)
|
Text(item.title)
|
||||||
.font(.custom(Font.medium.rawValue, size: 18))
|
.font(.custom(Font.preRegular.rawValue, size: 18))
|
||||||
.foregroundColor(.white)
|
.foregroundColor(.white)
|
||||||
.multilineTextAlignment(.leading)
|
.multilineTextAlignment(.leading)
|
||||||
.fixedSize(horizontal: false, vertical: true)
|
.fixedSize(horizontal: false, vertical: true)
|
||||||
@@ -46,7 +46,7 @@ struct ContentItemView: View {
|
|||||||
|
|
||||||
|
|
||||||
Text(item.creatorNickname)
|
Text(item.creatorNickname)
|
||||||
.font(.custom(Font.medium.rawValue, size: 14))
|
.font(.custom(Font.preRegular.rawValue, size: 14))
|
||||||
.foregroundColor(Color(hex: "78909C"))
|
.foregroundColor(Color(hex: "78909C"))
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
.padding(.horizontal, 6)
|
.padding(.horizontal, 6)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ struct SeriesItemView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(alignment: .leading, spacing: 4) {
|
VStack(alignment: .leading, spacing: 4) {
|
||||||
ZStack(alignment: .bottom) {
|
ZStack {
|
||||||
KFImage(URL(string: item.coverImage))
|
KFImage(URL(string: item.coverImage))
|
||||||
.cancelOnDisappear(true)
|
.cancelOnDisappear(true)
|
||||||
.resizable()
|
.resizable()
|
||||||
@@ -25,10 +25,6 @@ struct SeriesItemView: View {
|
|||||||
.cornerRadius(16)
|
.cornerRadius(16)
|
||||||
.clipped()
|
.clipped()
|
||||||
|
|
||||||
Color.black.opacity(0.5)
|
|
||||||
.frame(width: 160, height: 35)
|
|
||||||
.cornerRadius(16, corners: [.bottomLeft, .bottomRight])
|
|
||||||
|
|
||||||
VStack(alignment: .leading, spacing: 0) {
|
VStack(alignment: .leading, spacing: 0) {
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
if item.isPopular {
|
if item.isPopular {
|
||||||
|
|||||||
Reference in New Issue
Block a user