splits/Splits/SecretView.swift

109 lines
2.4 KiB
Swift

//
// 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 {
ScrollView {
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)
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)
}
.navigationTitle("Contacts")
}
.frame(minWidth: .infinity)
}
}