Sora/Sora/Views/SettingsViews/SubPages/SettingsAboutView.swift
IBH e50a73a711
Update SettingsAboutView.swift
My name is exclusively capital+I changed my github username
2024-12-24 18:10:06 +03:00

221 lines
9.6 KiB
Swift

//
// SettingsAboutView.swift
// Sora
//
// Created by Francesco on 18/12/24.
//
import SwiftUI
import Kingfisher
struct AboutView: View {
var body: some View {
Form {
Section(footer: Text("Sora is a free open source app, under the GPLv3.0 License. You can find the entire Sora code in the github repo.")) {
HStack(alignment: .center, spacing: 10) {
KFImage(URL(string: "https://raw.githubusercontent.com/cranci1/Sora/main/Sora/Assets.xcassets/AppIcon.appiconset/180.png"))
.resizable()
.frame(width: 80, height: 80)
.clipShape(Circle())
VStack(alignment: .leading) {
Text("Sora")
.font(.largeTitle)
.fontWeight(.bold)
Text("Version b1.0.0")
.font(.subheadline)
.foregroundColor(.secondary)
}
}
.padding(.vertical)
}
Section(header: Text("Developer")) {
Button(action: {
if let url = URL(string: "https://github.com/cranci1") {
UIApplication.shared.open(url)
}
}) {
HStack {
KFImage(URL(string: "https://avatars.githubusercontent.com/u/100066266?v=4"))
.resizable()
.frame(width: 40, height: 40)
.clipShape(Circle())
VStack(alignment: .leading) {
Text("cranci1")
.font(.headline)
.foregroundColor(.pink)
Text("YAY it's me")
.font(.subheadline)
.foregroundColor(.secondary)
}
Spacer()
Image(systemName: "safari")
.foregroundColor(.pink)
}
}
}
Section(header: Text("Huge thanks"), footer: Text("A huge thanks to the Miru Development team for their support and contributions to Sora. I wont ever be able to thank them enough. Thanks a lot <3")) {
HStack {
KFImage(URL(string: "https://storage.ko-fi.com/cdn/useruploads/e68c31f0-7e66-4d63-934a-0508ce443bc0_e71506-30ce-4a01-9ac3-892ffcd18b77.png"))
.resizable()
.frame(width: 40, height: 40)
.clipShape(Circle())
Text("Miru Development Team")
.font(.headline)
.foregroundColor(.green)
}
Button(action: {
if let url = URL(string: "https://github.com/bshar1865") {
UIApplication.shared.open(url)
}
}) {
HStack {
KFImage(URL(string: "https://avatars.githubusercontent.com/u/98615778?v=4"))
.resizable()
.frame(width: 40, height: 40)
.clipShape(Circle())
VStack(alignment: .leading) {
Text("MA.")
.font(.headline)
.foregroundColor(.orange)
Text("Discord Helper")
.font(.subheadline)
.foregroundColor(.secondary)
}
Spacer()
Image(systemName: "safari")
.foregroundColor(.orange)
}
}
Button(action: {
if let url = URL(string: "https://github.com/50n50") {
UIApplication.shared.open(url)
}
}) {
HStack {
KFImage(URL(string: "https://avatars.githubusercontent.com/u/80717571?v=4"))
.resizable()
.frame(width: 40, height: 40)
.clipShape(Circle())
VStack(alignment: .leading) {
Text("50/50")
.font(.headline)
.foregroundColor(.mint)
Text("Discord Helper & Designer")
.font(.subheadline)
.foregroundColor(.secondary)
}
Spacer()
Image(systemName: "safari")
.foregroundColor(.mint)
}
}
Button(action: {
if let url = URL(string: "https://github.com/IBH-RAD") {
UIApplication.shared.open(url)
}
}) {
HStack {
KFImage(URL(string: "https://avatars.githubusercontent.com/u/116025932?u=393be7ee3f476362b9e09d4f195ac035c5060236&v=4"))
.resizable()
.frame(width: 40, height: 40)
.clipShape(Circle())
VStack(alignment: .leading) {
Text("IBH")
.font(.headline)
.foregroundColor(.purple)
Text("Discord Helper & Bug Hunter")
.font(.subheadline)
.foregroundColor(.secondary)
}
Spacer()
Image(systemName: "safari")
.foregroundColor(.purple)
}
}
Button(action: {
if let url = URL(string: "https://github.com/Seeike") {
UIApplication.shared.open(url)
}
}) {
HStack {
KFImage(URL(string: "https://avatars.githubusercontent.com/u/122684677?v=4"))
.resizable()
.frame(width: 40, height: 40)
.clipShape(Circle())
VStack(alignment: .leading) {
Text("Seiike")
.font(.headline)
.foregroundColor(.yellow)
Text("Discord Helper")
.font(.subheadline)
.foregroundColor(.secondary)
}
Spacer()
Image(systemName: "safari")
.foregroundColor(.yellow)
}
}
}
Section(header: Text("Acknowledgements"), footer: Text("Thanks to the creators of this frameworks, that made Sora creation much simplier.")) {
Button(action: {
if let url = URL(string: "https://github.com/scinfu/SwiftSoup") {
UIApplication.shared.open(url)
}
}) {
HStack {
KFImage(URL(string: "https://raw.githubusercontent.com/scinfu/SwiftSoup/master/swiftsoup.png"))
.resizable()
.frame(width: 40, height: 40)
VStack(alignment: .leading) {
Text("SwiftSoup")
.font(.headline)
.foregroundColor(.red)
Text("Web scraping")
.font(.subheadline)
.foregroundColor(.secondary)
}
Spacer()
Image(systemName: "safari")
.foregroundColor(.red)
}
}
Button(action: {
if let url = URL(string: "https://github.com/onevcat/Kingfisher") {
UIApplication.shared.open(url)
}
}) {
HStack {
KFImage(URL(string: "https://products.fileformat.com/image/swift/kingfisher/header-image.png"))
.resizable()
.frame(width: 40, height: 40)
VStack(alignment: .leading) {
Text("Kingfisher")
.font(.headline)
.foregroundColor(.blue)
Text("Images caching and loading")
.font(.subheadline)
.foregroundColor(.secondary)
}
Spacer()
Image(systemName: "safari")
.foregroundColor(.blue)
}
}
}
}
.navigationTitle("About")
}
}