2023-02-08 21:09:51 +01:00
//
// h t t p s : / / m c z a c h u r s k i . d e v
// C o p y r i g h t © 2 0 2 3 M a r c i n C z a c h u r s k i a n d t h e r e p o s i t o r y c o n t r i b u t o r s .
2023-03-28 10:35:38 +02:00
// L i c e n s e d u n d e r t h e A p a c h e L i c e n s e 2 . 0 .
2023-02-08 21:09:51 +01:00
//
import SwiftUI
2023-02-21 07:05:06 +01:00
struct OtherSectionView : View {
2023-02-08 21:09:51 +01:00
var body : some View {
2023-03-13 13:53:36 +01:00
Section ( " settings.title.other " ) {
2023-02-08 21:09:51 +01:00
NavigationLink ( value : RouteurDestinations . thirdParty ) {
2023-03-13 13:53:36 +01:00
Text ( " settings.title.thirdParty " , comment : " Third party " )
2023-02-08 21:09:51 +01:00
}
2023-03-19 08:09:44 +01:00
HStack {
Text ( " settings.title.privacyPolicy " , comment : " Privacy policy " )
Spacer ( )
Link ( NSLocalizedString ( " settings.title.openPage " , comment : " Open " ) , destination : URL ( string : " https://mczachurski.dev/vernissage/privacy-policy.html " ) ! )
. font ( . footnote )
}
HStack {
Text ( " settings.title.terms " , comment : " Terms & Conditions " )
Spacer ( )
Link ( NSLocalizedString ( " settings.title.openPage " , comment : " Open " ) , destination : URL ( string : " https://mczachurski.dev/vernissage/terms.html " ) ! )
. font ( . footnote )
}
2023-02-08 21:09:51 +01:00
HStack {
2023-03-13 13:53:36 +01:00
Text ( " settings.title.reportBug " , comment : " Report a bug " )
2023-02-08 21:09:51 +01:00
Spacer ( )
2023-03-13 13:53:36 +01:00
Link ( NSLocalizedString ( " settings.title.githubIssues " , comment : " Issues on GitHub " ) , destination : URL ( string : " https://github.com/VernissageApp/Home/issues " ) ! )
2023-02-08 21:09:51 +01:00
. font ( . footnote )
}
2023-03-19 08:09:44 +01:00
HStack {
VStack ( alignment : . leading ) {
Text ( " settings.title.followVernissage " , comment : " Follow Vernissage " )
Text ( " Mastodon account " )
. font ( . footnote )
. foregroundColor ( . lightGrayColor )
}
Spacer ( )
Link ( " @vernissage " , destination : URL ( string : " https://mastodon.social/@vernissage " ) ! )
. font ( . footnote )
}
2023-02-08 21:09:51 +01:00
HStack {
2023-03-19 08:09:44 +01:00
VStack ( alignment : . leading ) {
Text ( " settings.title.follow " , comment : " Follow me " )
Text ( " settings.title.mastodonAccount " , comment : " Mastodon account " )
. font ( . footnote )
. foregroundColor ( . lightGrayColor )
}
2023-02-08 21:09:51 +01:00
Spacer ( )
Link ( " @mczachurski " , destination : URL ( string : " https://mastodon.social/@mczachurski " ) ! )
. font ( . footnote )
}
2023-03-19 08:09:44 +01:00
HStack {
VStack ( alignment : . leading ) {
Text ( " settings.title.follow " , comment : " Follow me " )
Text ( " settings.title.pixelfedAccount " , comment : " Pixelfed account " )
. font ( . footnote )
. foregroundColor ( . lightGrayColor )
}
Spacer ( )
Link ( " @mczachurski " , destination : URL ( string : " https://pixelfed.social/@mczachurski " ) ! )
. font ( . footnote )
}
2023-02-08 21:09:51 +01:00
}
}
}