Skip to content

Commit

Permalink
[fix] 문의하기, 개인정보처리방침 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
mycodeworks1 committed Dec 23, 2023
1 parent 872d9cb commit da404ff
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 8 deletions.
Binary file not shown.
63 changes: 55 additions & 8 deletions Cuckoo_swiftUI/Cuckoo/Cuckoo/Views/SettingViews/SettingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,17 @@ struct SettingView: View {
VStack(spacing: 0) {
SettingListView(title: "태그 관리") { SettingTagView() }
SettingListView(title: "알람 주기/프리셋 설정") { SettingAlarmPresetView() }
// SettingListView(title: "기타 설정") { KitSettingsView() }
// SettingListView(title: "기타 설정") { KitSettingsView() }
}

VStack(spacing: 0) {

SettingListView(title: "개인정보 처리 방침") { LicenseInformationView() }
SettingListView(title: "문의 하기") { LicenseInformationView() }
SettingListView(title: "개인정보 처리 방침") {
LicenseInformationView()
}
SettingListView(title: "문의 하기") {
RequestView()
}
}

Spacer()
Expand Down Expand Up @@ -106,17 +110,60 @@ struct SettingListView<T: View>: View {
}
}

struct LicenseInformationView: View {
var body: some View {
VStack(alignment: .leading, spacing: 10) {
HeaderView(title: "개인정보 처리 방침")
.frame(height: 60)

Spacer() // 상단에 공간 추가

HStack{
Spacer()
Link(destination: URL(string: "https://quark-hydrant-899.notion.site/82c449c89c7341b683bcedd37b9abab6")!) {
HStack {
Text("개인정보 처리 방침 이동 link")
}
.foregroundColor(.blue)
}
Spacer()
}


Spacer() // 중간에 공간 추가
}
.navigationBarHidden(true)
}
}


struct KitSettingsView: View {
struct RequestView: View {
var body: some View {
Text("Kit Settings")
VStack(alignment: .leading, spacing: 10) {
HeaderView(title: "문의하기")
.frame(height: 60)

Spacer() // 상단에 공간 추가

HStack{
Spacer()
Link(destination: URL(string: "https://quark-hydrant-899.notion.site/82c449c89c7341b683bcedd37b9abab6")!) {
HStack {
Text("문의하기 link")
}
.foregroundColor(.blue)
}
Spacer()
}

Spacer() // 중간에 공간 추가
}
.navigationBarHidden(true)
}
}

struct LicenseInformationView: View {
struct KitSettingsView: View {
var body: some View {
Text("License Information")
Text("Kit Settings")
}
}

Expand Down

0 comments on commit da404ff

Please sign in to comment.