[] 더보기 페이지 밑에 프로그램에 대한 정보 추가 중

This commit is contained in:
Seonkyu_Kim 2025-02-13 17:52:41 +09:00
parent cb9e906d7c
commit f75751670c
7 changed files with 90 additions and 3 deletions

View File

@ -0,0 +1,63 @@
//
// DevInfoView.swift
// AcaMate
//
// Created by TAnine on 2/13/25.
//
import SwiftUI
struct DevInfoView: View {
var body: some View {
VStack(alignment: .leading, spacing: 24) {
Text("""
> > 1:1 .
""")
.font(.nps(size: 8))
.foregroundStyle(Color(.Text.detail))
.lineLimit(2)
.multilineTextAlignment(.center)
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .center)
// .padding([.leading,.trailing],24)
Image(.Logo.appIcon).resizable()
.frame(width: 40, height: 40,alignment: .leading)
.background(
RoundedRectangle(cornerRadius: 8)
.frame(width: 40, height: 40,alignment: .leading)
.foregroundStyle(Color(.Normal.light))
)
VStack(alignment: .leading, spacing: 12){
Text("AcaMate")
.font(.nps(font: .bold, size: 16))
.foregroundStyle(Color(.Text.detail))
VStack(spacing: 4) {
Text("문의: sean.kk@daum.net")
.font(.nps(size: 12))
.foregroundStyle(Color(.Text.detail))
Text("문의: sean.kk@daum.net")
.font(.nps(size: 12))
.foregroundStyle(Color(.Text.detail))
}
}
Text("Copyright © Team.Stein. All Rights Reserved")
.font(.nps(size: 14))
.foregroundStyle(Color(.Text.detail))
// .padding([.leading,.trailing],24)
}
.padding(24)
// .padding([.top,.bottom],24)
.background {
Color(.Disable.normal)
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
}
}

View File

@ -26,8 +26,9 @@ struct EtcView: View {
TsCsView()
AppInfoView()
}
.frame(maxWidth: .infinity, alignment: .leading)
// .frame(maxWidth: .infinity, alignment: .leading)
.padding(24)
DevInfoView()
}
}

View File

@ -36,7 +36,7 @@ struct UserInfoView: View {
.foregroundStyle(Color(.Text.detail))
Spacer(minLength: 1)
Text("\(userData.userID)")
.font(.nps(font: .bold, size: 16))
.font(.nps(size: 16))
.foregroundStyle(Color(.Text.detail))
}
HStack(spacing: 0) {
@ -45,7 +45,7 @@ struct UserInfoView: View {
.foregroundStyle(Color(.Text.detail))
Spacer(minLength: 1)
Text("\(userData.email)")
.font(.nps(font: .bold, size: 16))
.font(.nps(size: 16))
.lineLimit(1)
.minimumScaleFactor(0.5)
.truncationMode(.tail)
@ -62,6 +62,11 @@ struct UserInfoView: View {
.onAppear {
btnVM.setImage(for: notifyBtnID, newImage: Image(.Icon.notificationSET))
btnVM.setSize(for: notifyBtnID, newWidth: 24, newHeight: 24)
btnVM.setAction(for: notifyBtnID) {
// MARK: TO-DO
//
printLog("알림 설정 페이지")
}
}
}
}

View File

@ -16,5 +16,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"localizable" : true
}
}

View File

@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "LOGO.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 KiB