AboutSheet.swift (948B)
1 // 2 // AboutSheet.swift 3 // txtodo (iOS) 4 // 5 // Created by FIGBERT on 8/6/20. 6 // 7 8 import SwiftUI 9 10 struct AboutSheet: View { 11 var body: some View { 12 VStack() { 13 Text("about") 14 .underline() 15 .padding(.vertical) 16 Text("aboutOne") 17 .multilineTextAlignment(.center) 18 Text("aboutTwo") 19 .multilineTextAlignment(.center) 20 .padding(.vertical) 21 Text("aboutThree") 22 .multilineTextAlignment(.center) 23 Link(destination: URL(string: "https://txtodo.app/")!) { Text("view site") } 24 .padding(.vertical) 25 Link(destination: URL(string: "https://jeffhuang.com/productivity_text_file/")!) { Text("view inspo") } 26 Spacer() 27 } 28 .padding() 29 } 30 } 31 32 struct AboutSheet_Previews: PreviewProvider { 33 static var previews: some View { 34 AboutSheet() 35 } 36 }