[🎨] 로고 및 이미지 변경

모던 디자인 로고로 변경 및 웹 로고와 같은 아이콘으로 변경
This commit is contained in:
김선규 2025-05-16 10:09:41 +09:00
parent 77ee3083b3
commit 891fa0f016
17 changed files with 29 additions and 15 deletions

View File

@ -22,7 +22,7 @@ struct IntroView: View {
VStack(spacing: 0) {
Spacer()
.frame(height: 100)
Image(.Logo.appIcon)
Image(.Logo.crystalIcon)
.resizable()
.frame(width: 200, height: 200)
Spacer()

View File

@ -21,7 +21,7 @@ struct LoginView: View {
var body: some View {
VStack(spacing: 0) {
Spacer().frame(height: 100)
Image(.Logo.appIcon)
Image(.Logo.crystalIcon)
.resizable()
.frame(width: 200, height: 200)
// .padding(.top, 80)

View File

@ -10,9 +10,9 @@ class ChatViewModel: ObservableObject {
private let appVM: AppViewModel
@Published var messages: [ChatMesage] = []
init(_ appVM: AppViewModel) {
self.appVM = appVM
}
}

View File

@ -13,8 +13,8 @@ class LoginViewModel: ObservableObject {
private var cancellables = Set<AnyCancellable>()
// @Published var toggleLoading: Bool = false
// @Published var pathName: PathName = .NONE
// @Published var toggleLoading: Bool = false
// @Published var pathName: PathName = .NONE
@UserDefault(key: "token", defaultValue: "accToken") var accToken
@UserDefault(key: "refresh", defaultValue: "refreshToken") var refresh
@ -34,13 +34,14 @@ class LoginViewModel: ObservableObject {
let acctype: String = type == .Apple ? "ST00": (type == .Kakao ? "ST01" : "ST02")
LoginController().login(type, devId)
.flatMap{ snsId in
self.appVM.apiManager.loadAPIData(APIRequest(path: "/api/v1/in/user/login",
headers: [API_HEADER : self.headerValue],
parameters: [
"acctype": acctype,
"snsId": "\(snsId.snsId)"
],
decoding: APIResponse<User_Token>.self))
self.appVM.apiManager.loadAPIData(
APIRequest(path: "/api/v1/in/user/login",
headers: [API_HEADER : self.headerValue],
parameters: [
"acctype": acctype,
"snsId": "\(snsId.snsId)"
],
decoding: APIResponse<User_Token>.self))
.map { response in
return (snsId: snsId.snsId, response: response)
}
@ -63,7 +64,7 @@ class LoginViewModel: ObservableObject {
if code == "000" {
if let data = response.response.data,
let accToken = data.token,
let refresh = data.refresh {
let refresh = data.refresh {
printLog(accToken)
printLog(refresh)

View File

@ -40,4 +40,5 @@ class TopViewModel: ObservableObject {
}
btnVM.setAction(for: rightBtnID, newAction: action)
}
//
}

View File

@ -54,7 +54,7 @@
</label>
</subviews>
</stackView>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Logo/App_Icon" translatesAutoresizingMaskIntoConstraints="NO" id="yVp-20-rR1">
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Crystal_Icon.png" translatesAutoresizingMaskIntoConstraints="NO" id="yVp-20-rR1">
<rect key="frame" x="96.666666666666686" y="159" width="200" height="200"/>
<constraints>
<constraint firstAttribute="height" constant="200" id="USS-fT-KDG"/>
@ -83,7 +83,7 @@
</scene>
</scenes>
<resources>
<image name="Logo/App_Icon" width="1024" height="1024"/>
<image name="Crystal_Icon.png" width="1024" height="1024"/>
<image name="Logo/Team_Icon" width="144" height="144"/>
<namedColor name="Normal/Normal">
<color red="0.92199999094009399" green="0.875" blue="0.82400000095367432" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 811 KiB

After

Width:  |  Height:  |  Size: 830 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 811 KiB

After

Width:  |  Height:  |  Size: 830 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 811 KiB

After

Width:  |  Height:  |  Size: 830 KiB

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "LogoImage.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 811 KiB

After

Width:  |  Height:  |  Size: 830 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 811 KiB

After

Width:  |  Height:  |  Size: 830 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 KiB