import SwiftUI enum AppInfo { static let version = "0.7.0" static let repoURL = URL(string: "https://git.sysdaemon.xyz/x3/remmina-mac")! } /// About sheet: contributor, repository link, license, credits. struct AboutView: View { var body: some View { VStack(spacing: 14) { Image(systemName: "terminal.fill") .font(.system(size: 56)) .foregroundStyle(Dracula.green) .padding(.top, 8) Text("RemminaMac") .font(.largeTitle).bold() Text("Version \(AppInfo.version)") .font(.subheadline).foregroundStyle(.secondary) Text("Remmina-style connection manager for macOS — SSH, SFTP, RDP and VNC profiles with an integrated Dracula terminal.") .font(.callout).foregroundStyle(.secondary) .multilineTextAlignment(.center) Divider() VStack(spacing: 6) { Text("Contributor") .font(.caption).foregroundStyle(.secondary) Text("x3") .font(.headline) Link(destination: AppInfo.repoURL) { Label("git.sysdaemon.xyz/x3/remmina-mac", systemImage: "link") } } Divider() Text("MIT License · Built with SwiftUI, SwiftTerm and a custom PTY layer.") .font(.caption).foregroundStyle(.secondary) .multilineTextAlignment(.center) } .padding(28) .frame(width: 420) } }