made the connect button save the host first

make the thanks to pills look better
add link to swiftterm
This commit is contained in:
neon443
2025-08-04 19:15:04 +01:00
parent 7ebdf20924
commit 1f9867caa4
2 changed files with 14 additions and 9 deletions

View File

@@ -11,6 +11,7 @@ struct AboutView: View {
@ObservedObject var hostsManager: HostsManager
var body: some View {
ZStack {
hostsManager.selectedTheme.background.suiColor.opacity(0.7)
.ignoresSafeArea(.all)
@@ -36,12 +37,22 @@ struct AboutView: View {
Link(destination: URL(string: "https://libssh.org")!) {
Text("LibSSH")
.padding(10)
.background(hostsManager.selectedTheme.background.suiColor)
.clipShape(RoundedRectangle(cornerRadius: 5))
.background(.gray.opacity(0.7))
.foregroundStyle(.black)
.clipShape(RoundedRectangle(cornerRadius: 7.5))
.shadow(radius: 2)
}
Link(destination: URL(string: "https://github.com/migueldeicaza/SwiftTerm")!) {
Text("SwiftTerm")
.padding(10)
.background(.gray.opacity(0.7))
.foregroundStyle(.black)
.clipShape(RoundedRectangle(cornerRadius: 7.5))
.shadow(radius: 2)
}
}
}
.transition(.scale)
.frame(maxWidth: .infinity)
.padding()
// }