Skip to content

Commit

Permalink
feat: Splash 화면 구현 시작
Browse files Browse the repository at this point in the history
  • Loading branch information
kimbsu00 committed Oct 30, 2023
1 parent acf3bc1 commit 3f482c7
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions MZTI/MZTI/Splash/SplashView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//
// SplashView.swift
// MZTI
//
// Created by 김병수 on 10/30/23.
//

import Foundation
import SwiftUI

struct SplashView: View {
var body: some View {
VStack(spacing: 4){
HStack(spacing: 4){
if let logoM = UIImage(named: "icon_mzti_logo_m"){
Image(uiImage: logoM)
} else {
Text("M")
}
if let logoZ = UIImage(named: "icon_mzti_logo_z") {
Image(uiImage: logoZ)
} else {
Text("Z")
}
}
HStack(spacing: 4){
if let logoT = UIImage(named: "icon_mzti_logo_t") {
Image(uiImage: logoT)
} else {
Text("T")
}
if let logoI = UIImage(named: "icon_mzti_logo_i") {
Image(uiImage: logoI)
} else {
Text("I")
}
}
}.padding()

Text("MZC")
}
}

#Preview {
SplashView()
}

0 comments on commit 3f482c7

Please sign in to comment.