feat(mypage): 배너에 일본어 이미지를 적용한다

This commit is contained in:
Yu Sung
2026-08-26 18:07:33 +09:00
parent 8aaf31f1a1
commit 86f6db3e55
12 changed files with 46 additions and 32 deletions

View File

@@ -1,15 +1,7 @@
{ {
"images" : [ "images" : [
{ {
"filename" : "img_apply_creator.png", "filename" : "img_apply_creator_kr.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

View File

@@ -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

View File

@@ -14,6 +14,8 @@ import RefreshableScrollView
struct MyPageView: View { struct MyPageView: View {
@Environment(\.locale) private var locale
@StateObject var viewModel = MyPageViewModel() @StateObject var viewModel = MyPageViewModel()
@StateObject var recentContentViewModel = RecentContentViewModel() @StateObject var recentContentViewModel = RecentContentViewModel()
@@ -137,8 +139,9 @@ struct MyPageView: View {
if let url = URL(string: "https://bit.ly/4h7pVks"), if let url = URL(string: "https://bit.ly/4h7pVks"),
UIApplication.shared.canOpenURL(url) { UIApplication.shared.canOpenURL(url) {
// SodaLive Banner // SodaLive Banner
Image("img_apply_creator") Image(locale.identifier.hasPrefix("ja") ? "img_apply_creator_ja" : "img_apply_creator")
.resizable() .resizable()
.scaledToFit()
.frame(maxWidth: .infinity) .frame(maxWidth: .infinity)
.padding(.horizontal, 24) .padding(.horizontal, 24)
.onTapGesture { .onTapGesture {
@@ -149,8 +152,9 @@ struct MyPageView: View {
if let url = URL(string: "https://blog.naver.com/sodalive_official"), if let url = URL(string: "https://blog.naver.com/sodalive_official"),
UIApplication.shared.canOpenURL(url) { UIApplication.shared.canOpenURL(url) {
// SodaLive Banner // SodaLive Banner
Image("img_introduce_voiceon") Image(locale.identifier.hasPrefix("ja") ? "img_introduce_sodalive_ja" : "img_introduce_sodalive")
.resizable() .resizable()
.scaledToFit()
.frame(maxWidth: .infinity) .frame(maxWidth: .infinity)
.padding(.horizontal, 24) .padding(.horizontal, 24)
.onTapGesture { .onTapGesture {