Mercurial > public > simoleon
view Simoleon/AboutView.swift @ 191:d7878ac18e3f
Change info files
author | Dennis <dennis@denniscm.com> |
---|---|
date | Fri, 11 Aug 2023 18:33:32 +0000 |
parents | 13d5a8deb6c2 |
children |
line wrap: on
line source
// // AboutView.swift // Simoleon // // Created by Dennis Concepción Martín on 23/12/21. // import SwiftUI struct AboutView: View { var body: some View { Form { let footerString = "This open source app was made by Dennis" Section(footer: Text(footerString)) { Link(destination: URL(string: "https://dennistech.io")!) { Label { Text("Web") .foregroundColor(.primary) } icon: { Image(systemName: "safari") .imageScale(.large) } } Link(destination: URL(string: "https://twitter.com/dennisconcep")!) { Label { Text("Twitter") .foregroundColor(.primary) } icon: { Image(systemName: "link") .imageScale(.large) } } Link(destination: URL(string: "https://github.com/denniscm190/simoleon")!) { Label { Text("Github") .foregroundColor(.primary) } icon: { Image(systemName: "externaldrive.connected.to.line.below") .imageScale(.large) } } } } .navigationTitle("About") .if(UIDevice.current.userInterfaceIdiom == .phone) { content in NavigationView { content } } } } struct AboutView_Previews: PreviewProvider { static var previews: some View { AboutView() } }