feat(mypage): 배너에 일본어 이미지를 적용한다
This commit is contained in:
@@ -1,15 +1,7 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "img_apply_creator.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "img_apply_creator_kr.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 42 KiB |
BIN
SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/img_apply_creator_kr.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/img_apply_creator_kr.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 286 KiB |
13
SodaLive/Resources/Assets.xcassets/img_apply_creator_ja.imageset/Contents.json
vendored
Normal file
13
SodaLive/Resources/Assets.xcassets/img_apply_creator_ja.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "img_apply_creator_ja.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
SodaLive/Resources/Assets.xcassets/img_apply_creator_ja.imageset/img_apply_creator_ja.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/img_apply_creator_ja.imageset/img_apply_creator_ja.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 288 KiB |
13
SodaLive/Resources/Assets.xcassets/img_introduce_sodalive.imageset/Contents.json
vendored
Normal file
13
SodaLive/Resources/Assets.xcassets/img_introduce_sodalive.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "img_introduce_sodalive_kr.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
SodaLive/Resources/Assets.xcassets/img_introduce_sodalive.imageset/img_introduce_sodalive_kr.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/img_introduce_sodalive.imageset/img_introduce_sodalive_kr.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 185 KiB |
13
SodaLive/Resources/Assets.xcassets/img_introduce_sodalive_ja.imageset/Contents.json
vendored
Normal file
13
SodaLive/Resources/Assets.xcassets/img_introduce_sodalive_ja.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "img_introduce_sodalive_ja.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
SodaLive/Resources/Assets.xcassets/img_introduce_sodalive_ja.imageset/img_introduce_sodalive_ja.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/img_introduce_sodalive_ja.imageset/img_introduce_sodalive_ja.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 188 KiB |
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "img_introduce_voiceon.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 50 KiB |
@@ -13,6 +13,8 @@ import Kingfisher
|
||||
import RefreshableScrollView
|
||||
|
||||
struct MyPageView: View {
|
||||
|
||||
@Environment(\.locale) private var locale
|
||||
|
||||
@StateObject var viewModel = MyPageViewModel()
|
||||
@StateObject var recentContentViewModel = RecentContentViewModel()
|
||||
@@ -137,8 +139,9 @@ struct MyPageView: View {
|
||||
if let url = URL(string: "https://bit.ly/4h7pVks"),
|
||||
UIApplication.shared.canOpenURL(url) {
|
||||
// SodaLive Banner
|
||||
Image("img_apply_creator")
|
||||
Image(locale.identifier.hasPrefix("ja") ? "img_apply_creator_ja" : "img_apply_creator")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.horizontal, 24)
|
||||
.onTapGesture {
|
||||
@@ -149,8 +152,9 @@ struct MyPageView: View {
|
||||
if let url = URL(string: "https://blog.naver.com/sodalive_official"),
|
||||
UIApplication.shared.canOpenURL(url) {
|
||||
// SodaLive Banner
|
||||
Image("img_introduce_voiceon")
|
||||
Image(locale.identifier.hasPrefix("ja") ? "img_introduce_sodalive_ja" : "img_introduce_sodalive")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(maxWidth: .infinity)
|
||||
.padding(.horizontal, 24)
|
||||
.onTapGesture {
|
||||
|
||||
Reference in New Issue
Block a user