diff --git a/SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/Contents.json b/SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/Contents.json new file mode 100644 index 0000000..b63f125 --- /dev/null +++ b/SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "img_apply_creator.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/img_apply_creator.png b/SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/img_apply_creator.png new file mode 100644 index 0000000..fe9f2b5 Binary files /dev/null and b/SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/img_apply_creator.png differ diff --git a/SodaLive/Sources/MyPage/MyPageView.swift b/SodaLive/Sources/MyPage/MyPageView.swift index d8e83c3..462dae1 100644 --- a/SodaLive/Sources/MyPage/MyPageView.swift +++ b/SodaLive/Sources/MyPage/MyPageView.swift @@ -126,6 +126,18 @@ struct MyPageView: View { .padding(.horizontal, 24) } + if let url = URL(string: "https://bit.ly/4h7pVks"), + UIApplication.shared.canOpenURL(url) { + // Voice On Banner + Image("img_apply_creator") + .resizable() + .frame(maxWidth: .infinity) + .padding(.horizontal, 24) + .onTapGesture { + UIApplication.shared.open(url) + } + } + if let url = URL(string: "https://blog.naver.com/sodalive_official"), UIApplication.shared.canOpenURL(url) { // Voice On Banner