forked from ahussain33/App-Accelerator-2023-Fall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContentView.swift
56 lines (47 loc) · 1.55 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
//
// ContentView.swift
// KalComPatientview
//
// Created by admin on 10/25/23.
//
import SwiftUI
struct ContentView: View {
var body: some View {
VStack{
ZStack{
Color.white
.frame(height: 100)
HStack{
Image("KalCom.logo")
.resizable()
.scaledToFit()
.frame(width: 150)
Text ("")
.font(/*@START_MENU_TOKEN@*/.title/*@END_MENU_TOKEN@*/)
.accentColor(/*@START_MENU_TOKEN@*/.blue/*@END_MENU_TOKEN@*/)
}
}
VStack{
Text("Patient Name")
.font(.title)
TextField("Type Your Name", text: /*@START_MENU_TOKEN@*//*@PLACEHOLDER=Value@*/.constant("")/*@END_MENU_TOKEN@*/)
Text("Room Number")
.font(.title)
TextField("Enter Your Room NUmber", text: /*@START_MENU_TOKEN@*//*@PLACEHOLDER=Value@*/.constant("")/*@END_MENU_TOKEN@*/)
Button("Submit"){
}
.font(/*@START_MENU_TOKEN@*/.title/*@END_MENU_TOKEN@*/)
.scaledToFit()
.frame(width:100, height:100)
Color.white
.scaledToFit()
.frame(height: 150)
}
.padding(90)
.ignoresSafeArea()
}
}
}
#Preview {
ContentView()
}