This repository was archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContentView.swift
More file actions
46 lines (40 loc) · 1.65 KB
/
ContentView.swift
File metadata and controls
46 lines (40 loc) · 1.65 KB
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
import SwiftUI
struct ContentView: View {
var body: some View {
ZStack {
NavigationView {
VStack {
Spacer()
NavigationLink(destination: PodsView()) {
Image(systemName: "earbuds")
.frame(width: 200, height: 200)
.background(.blue)
.shadow(radius: 10)
.clipShape(.circle)
.foregroundColor(.white)
.shadow(radius: 10)
.font(.system(size: 100))
}
Text("Status : Connected")
.frame(minWidth: 0, maxWidth: .infinity, maxHeight: 40)
.background(.green)
.cornerRadius(10)
.padding(20)
.foregroundColor(.white)
.fontWeight(.bold)
Spacer()
NavigationLink(destination: SettingsView()) {
Text("Settings")
.frame(minWidth: 0, maxWidth: .infinity, maxHeight: 40)
.background(.blue)
.cornerRadius(10)
.padding(20)
.foregroundColor(.white)
.fontWeight(.bold)
}
}
.navigationTitle("VoiceInfo Companion")
}
}
}
}