Fixed pace showing, added conversions between distance and pace. Added a new SecretView with some semi-private info. App is now in Version 1.0.0

This commit is contained in:
Isaac Greene 2022-06-10 18:24:42 -04:00
parent 7b421a0a73
commit b77ef882e8
62 changed files with 2021 additions and 82 deletions

109
Splits/SecretView.swift Normal file
View file

@ -0,0 +1,109 @@
//
// SecretView.swift
// Splits
//
// Created by Isaac Greene on 6/9/22
//
import SwiftUI
// this file will not have comments.
// this code is considered simple enough to be
// human-readable without aid, as long as
// the reader has a basic understanding of
// Swift and/or SwiftUI.
struct SecretView: View {
var body: some View {
VStack {
HStack {
VStack {
Image("jake.zimmerman.group")
.resizable()
.interpolation(.high)
.frame(width: 75, height: 75)
.clipShape(Circle())
Text("Zim")
.font(.title2)
VStack (alignment: .leading) {
Text("""
Name: Jake Zimmerman
Email: jzimmerman@lakeviewspartans.org
""")
HStack {
Text("Phone:")
Link("(269) 753-5620", destination: URL(string: "tel:2697535620")!)
}
}
}
.frame(minWidth: 350, minHeight: 175)
.border(.primary)
VStack {
Image("caleb.bost.duo")
.resizable()
.interpolation(.high)
.frame(width: 75, height: 75)
.clipShape(Circle())
Text("Caleb")
.font(.title2)
VStack (alignment: .leading) {
Text("""
Name: Caleb Bost
Email: bostc@students.lakeviewspartans.org
""")
HStack {
Text("Phone:")
Link("(269) 578-6148", destination: URL(string: "tel:2695786148")!)
}
}
}
.frame(minWidth: 350, minHeight: 175)
.border(.primary)
}
HStack {
VStack {
Image("aiden.moore.states")
.resizable()
.interpolation(.high)
.frame(width: 75, height: 75)
.clipShape(Circle())
Text("Aiden")
.font(.title2)
VStack (alignment: .leading) {
Text("""
Name: Aiden Moore
Email: moorea8@students.lakeviewspartans.org
""")
HStack {
Text("Phone:")
Link("(269) 579-3882", destination: URL(string: "tel:2695793882")!)
}
}
}
.frame(minWidth: 350, minHeight: 175)
.border(.primary)
VStack {
Image("isaac.greene.clouds")
.resizable()
.interpolation(.high)
.frame(width: 75, height: 75)
.clipShape(Circle())
Text("Isaac")
.font(.title2)
VStack (alignment: .leading) {
Text("""
Name: Isaac Greene
Email: greenei@students.lakeviewspartans.org
""")
HStack {
Text("Phone:")
Link("(269) 282-2280", destination: URL(string: "tel:2692822280")!)
}
}
}
.frame(minWidth: 350, minHeight: 175)
.border(.primary)
}
}
}
}