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

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