diff --git a/SodaLive/Resources/Assets.xcassets/splash/splash_christmas_bg.imageset/Contents.json b/SodaLive/Resources/Assets.xcassets/splash/splash_christmas_bg.imageset/Contents.json new file mode 100644 index 0000000..9c09e42 --- /dev/null +++ b/SodaLive/Resources/Assets.xcassets/splash/splash_christmas_bg.imageset/Contents.json @@ -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 + } +} diff --git a/SodaLive/Resources/Assets.xcassets/splash/splash_christmas_bg.imageset/splash_christmas_bg.png b/SodaLive/Resources/Assets.xcassets/splash/splash_christmas_bg.imageset/splash_christmas_bg.png new file mode 100644 index 0000000..95bd04e Binary files /dev/null and b/SodaLive/Resources/Assets.xcassets/splash/splash_christmas_bg.imageset/splash_christmas_bg.png differ diff --git a/SodaLive/Resources/Assets.xcassets/splash/splash_logo_christmas.imageset/Contents.json b/SodaLive/Resources/Assets.xcassets/splash/splash_logo_christmas.imageset/Contents.json new file mode 100644 index 0000000..9d4bfab --- /dev/null +++ b/SodaLive/Resources/Assets.xcassets/splash/splash_logo_christmas.imageset/Contents.json @@ -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 + } +} diff --git a/SodaLive/Resources/Assets.xcassets/splash/splash_logo_christmas.imageset/splash_logo_christmas.png b/SodaLive/Resources/Assets.xcassets/splash/splash_logo_christmas.imageset/splash_logo_christmas.png new file mode 100644 index 0000000..7844625 Binary files /dev/null and b/SodaLive/Resources/Assets.xcassets/splash/splash_logo_christmas.imageset/splash_logo_christmas.png differ diff --git a/SodaLive/Sources/Splash/SplashView.swift b/SodaLive/Sources/Splash/SplashView.swift index 3b51d4a..89743f0 100644 --- a/SodaLive/Sources/Splash/SplashView.swift +++ b/SodaLive/Sources/Splash/SplashView.swift @@ -17,27 +17,14 @@ struct SplashView: View { var body: some View { ZStack(alignment: .top) { - LinearGradient( - gradient: Gradient(colors: [Color(hex: "a0e2ff"), Color(hex: "ecfaff")]), - startPoint: .bottom, - endPoint: .top - ).ignoresSafeArea() + Image("splash_christmas_bg") + .resizable() + .aspectRatio(contentMode: .fill) + .edgesIgnoringSafeArea(.all) - Image("splash_bubble") - .padding(.top, 11) + Image("splash_logo_christmas") + .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 { fetchLastestVersion()