fix: 메인 홈 - 지금 라이브 중
- 아이템 배경색 변경 - 라이브 제목과 크리에이터 닉네임 순서 변경
This commit is contained in:
@@ -34,11 +34,11 @@ struct HomeLiveItemView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
VStack(alignment: .leading, spacing: 4) {
|
VStack(alignment: .leading, spacing: 4) {
|
||||||
Text(item.title)
|
Text(item.creatorNickname)
|
||||||
.font(.custom(Font.preRegular.rawValue, size: 18))
|
.font(.custom(Font.preRegular.rawValue, size: 18))
|
||||||
.foregroundColor(.white)
|
.foregroundColor(.white)
|
||||||
|
|
||||||
Text(item.creatorNickname)
|
Text(item.title)
|
||||||
.font(.custom(Font.preRegular.rawValue, size: 16))
|
.font(.custom(Font.preRegular.rawValue, size: 16))
|
||||||
.foregroundColor(Color(hex: "B0BEC5"))
|
.foregroundColor(Color(hex: "B0BEC5"))
|
||||||
}
|
}
|
||||||
@@ -46,23 +46,12 @@ struct HomeLiveItemView: View {
|
|||||||
.padding(.horizontal, 14)
|
.padding(.horizontal, 14)
|
||||||
.padding(.vertical, 10)
|
.padding(.vertical, 10)
|
||||||
.frame(width: 282, alignment: .leading)
|
.frame(width: 282, alignment: .leading)
|
||||||
.background(
|
.background(Color(hex: "2A339D"))
|
||||||
RadialGradient(
|
|
||||||
gradient: Gradient(colors: [Color(hex: "5ACDE1"), Color(hex: "2A339D")]),
|
|
||||||
center: .center,
|
|
||||||
startRadius: 0,
|
|
||||||
endRadius: 200
|
|
||||||
)
|
|
||||||
)
|
|
||||||
.cornerRadius(999)
|
.cornerRadius(999)
|
||||||
.overlay(
|
.overlay(
|
||||||
RoundedRectangle(cornerRadius: 999)
|
RoundedRectangle(cornerRadius: 999)
|
||||||
.strokeBorder(
|
.strokeBorder(
|
||||||
LinearGradient(
|
Color(hex: "FFFFFF"),
|
||||||
colors: [Color(hex: "9AE2F6"), Color(hex: "FFFFFF")],
|
|
||||||
startPoint: .topLeading,
|
|
||||||
endPoint: .bottomTrailing
|
|
||||||
),
|
|
||||||
lineWidth: 1
|
lineWidth: 1
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user