-
Notifications
You must be signed in to change notification settings - Fork 0
/
ContentView.swift
67 lines (45 loc) · 1.15 KB
/
ContentView.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//
// ContentView.swift
// Cabled
//
// Created by Theo Koester on 3/19/24.
//
import SwiftUI
import SwiftUI
struct ContentView: View {
var body: some View {
TabView {
LiveFeedView()
.tabItem {
Label("Live Feed", systemImage: "livephoto")
}
RiderRankingsView()
.tabItem {
Label("Riders", systemImage: "person.fill")
}
// TeamRankingsView()
// .tabItem {
// Label("Teams", systemImage: "person.3.fill")
// }
}.onAppear {
}
}
}
struct BackgroundView: View {
var topColor: Color
var bottomColor: Color
var body: some View {
LinearGradient(gradient: Gradient(colors: [topColor, bottomColor]),
startPoint: .topLeading,
endPoint: .bottomTrailing)
.edgesIgnoringSafeArea(.all)
}
}
struct TeamRankingsView: View {
var body: some View {
Text("Team Rankings")
}
}
#Preview {
ContentView()
}