Support funtion

This commit is contained in:
MustangYM
2023-03-11 16:17:07 +08:00
parent b4e88c7f9c
commit 136aad5f29
2 changed files with 26 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ struct EnterAPIView: View {
.padding(.vertical, 8)
.padding(.horizontal, 20)
}
.frame(width: 100, height: 40) //
.frame(width: 100, height: 30) //
.background(Color.gray)
.cornerRadius(10)
.buttonStyle(BorderlessButtonStyle())
@@ -63,7 +63,7 @@ struct EnterAPIView: View {
.padding(.vertical, 8)
.padding(.horizontal, 20)
}
.frame(width: 100, height: 40) //
.frame(width: 100, height: 30) //
.background(Color.blue)
.cornerRadius(10)
.buttonStyle(BorderlessButtonStyle())

View File

@@ -37,6 +37,26 @@ struct UserInitializeView: View {
.foregroundColor(.white)
)
}
VStack(alignment: .leading, spacing: 10){
HStack {
Text("✅ Faster response ✅ Chat History Search")
.fixedSize(horizontal: true, vertical: false)
}
HStack {
Text("✅ Prompt Library ✅ Run locally on browser")
.fixedSize(horizontal: true, vertical: false)
}
HStack {
Text("✅ No login required ✅ Use your own API key")
.fixedSize(horizontal: true, vertical: false)
}
HStack {
Text("✅ No monthly fee ✅ and more soon")
.fixedSize(horizontal: true, vertical: false)
}
}
Text("A Better macOS application For ChatGPT")
.font(.system(.body, design: .rounded))
@@ -61,10 +81,10 @@ struct UserInitializeView: View {
}
}
.padding(.top,100)
.padding(.bottom,300)
.padding(.leading,200)
.padding(.trailing,200)
// .padding(.top,100)
.padding(.bottom,200)
// .padding(.leading,200)
// .padding(.trailing,200)
VStack {