스플래시 - 크리스마스 버전으로 변경

This commit is contained in:
Yu Sung 2023-12-07 09:50:13 +09:00
parent d52f0d1176
commit 13c212a56e
5 changed files with 48 additions and 19 deletions

View File

@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "splash_christmas_bg.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "splash_logo_christmas.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

@ -17,27 +17,14 @@ struct SplashView: View {
var body: some View { var body: some View {
ZStack(alignment: .top) { ZStack(alignment: .top) {
LinearGradient( Image("splash_christmas_bg")
gradient: Gradient(colors: [Color(hex: "a0e2ff"), Color(hex: "ecfaff")]), .resizable()
startPoint: .bottom, .aspectRatio(contentMode: .fill)
endPoint: .top .edgesIgnoringSafeArea(.all)
).ignoresSafeArea()
Image("splash_bubble") Image("splash_logo_christmas")
.padding(.top, 11) .padding(.top, 188)
VStack(spacing: 0) {
Image("splash_text")
.padding(.top, 111)
Image("splash_logo")
.padding(.top, 77.3)
Spacer()
Image("vividnext_logo")
.padding(.bottom, 36)
}
} }
.onAppear { .onAppear {
fetchLastestVersion() fetchLastestVersion()