Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 32 additions & 54 deletions MarketPlace/UICommon/FullNoticePopUp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ struct FullNoticePopUp: View {
ZStack {
DashEffect()
.opacity(isPopupVisible ? 1 : 0)
.animation(.easeInOut, value: isPopupVisible)

VStack(spacing: 15) {
Text("공지사항")
Expand All @@ -26,72 +25,57 @@ struct FullNoticePopUp: View {
.padding(.top)
.padding(.bottom, 5)

Text("📢 환급 관련 안내 및 사과드립니다")
Text("📢 쿠러미 이용 안내")
.pretendardFont(size: 23, weight: .bold)

Text("안녕하세요, 쿠러미 팀입니다.\n먼저, 오픈 첫날부터 쿠러미를 이용해주신 점\n진심으로 감사드립니다.\n다만, 시스템 오류로 인해\n아래 일부 사용자님의 환급 계좌 정보가\n정상적으로 저장되지 않아\n환급 처리가 진행되지 못한 상황을 확인했습니다.")
.pretendardFont(size: 15, weight: .regular)
.multilineTextAlignment(.center)
.lineLimit(7)
.lineSpacing(3)
.padding(.horizontal, 10)

VStack {
Text("해당 사용자 ID")
.pretendardFont(size: 12, weight: .bold)
.padding(.top, 12)
.padding(.bottom, 7)

Text("2024***15")
.pretendardFont(size: 14, weight: .bold)
.padding(.bottom, 7)

Text("2025***62")
.pretendardFont(size: 14, weight: .bold)
.padding(.bottom, 12)
}
.frame(maxWidth: .infinity)
.background(Color(hex: "f5f5f5"))
.cornerRadius(4, corners: .allCorners)
(
Text("교내 서버실 작업으로 인해\n이번 주 ")
+ Text("금요일")
.foregroundStyle(Color(hex: "003dff"))
.fontWeight(.bold)
+ Text("부터 ")
+ Text("일요일")
.foregroundStyle(Color(hex: "003dff"))
.fontWeight(.bold)
+ Text("까지 쿠러미 앱 접속이 일시적으로 제한될 예정입니다.\n이용에 불편을 드려 죄송합니다.")
)
.pretendardFont(size: 15, weight: .regular)
.multilineTextAlignment(.center)
.lineLimit(7)
.lineSpacing(3)
.padding(.horizontal, 10)

Text("번거로우시겠지만, 아래 카카오 채널로\n먼저 연락 부탁드립니다.")
.pretendardFont(size: 14, weight: .bold)
Text("환급 관련하여 영수증·계좌 등록 후\n2일 이상 입금이 지연될 경우,\n아래 카카오 채널로 문의 부탁드립니다.")
.pretendardFont(size: 15, weight: .regular)
.multilineTextAlignment(.center)
.lineLimit(2)
.lineLimit(3)
.lineSpacing(2)

Link("👉 카카오 채널로 이동", destination: URL(string: "http://pf.kakao.com/_XkZnn")!)
.pretendardFont(size: 14, weight: .semibold)
.pretendardFont(size: 14, weight: .bold)
.foregroundColor(.white)
.padding(.horizontal, 70)
.frame(height: 50)
.background(.black)
.cornerRadius(4, corners: .allCorners)

VStack(alignment: .leading) {
Text("✅ 연락 주시는 즉시 환급처리를 우선 진행해드리며,\n🎁 스타벅스 1만원 기프티콘을 추가로 지급해드릴 예정입니다.")
.pretendardFont(size: 13, weight: .semibold)
HStack(alignment: .center) {
Spacer()

Text("항상 쿠러미를 이용해주셔서 감사드리며,\n더 안정적인 서비스로 찾아뵙겠습니다.🙏🏻")
.pretendardFont(size: 13, weight: .bold)
.lineLimit(4)
.lineSpacing(8)
.padding(.bottom, 20)
.padding(.leading)
.padding(.top,3)
.lineSpacing(4)
.padding(.bottom, 25)
.padding(.top,7)
.frame(width: .infinity)

HStack(alignment: .center) {
Spacer()

Text("앞으로는 이런 일이 재발하지 않도록\n시스템을 즉시 개선하겠습니다.")
.pretendardFont(size: 16, weight: .semibold)
.multilineTextAlignment(.center)
.lineLimit(3)
.lineSpacing(8)

Spacer()
}.padding(.bottom, 25)
Spacer()
}
.frame(width: .infinity)
.padding(.top, 10)
.background(Color(hex: "eaefff"))

}
.frame(width: 320)
.background(Color.white)
Expand All @@ -112,9 +96,3 @@ struct FullNoticePopUp: View {
}
}
}

#Preview {
@Previewable @State var popup: Bool = true

FullNoticePopUp(isPopupVisible: $popup)
}
2 changes: 1 addition & 1 deletion MarketPlace/View/Main/View/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct MainView: View {
.background(Color.white)
.edgesIgnoringSafeArea(.bottom)

if isFullNoticePopUpVisible && loginVM.isLoggedIn {
if isFullNoticePopUpVisible {
FullNoticePopUp(isPopupVisible: $isFullNoticePopUpVisible)
.transition(.scale)
}
Expand Down