-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathWelcomePageView.swift
87 lines (79 loc) · 3.27 KB
/
WelcomePageView.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
//
// WelcomePageView.swift
// MobileAcebook
//
// Created by Josué Estévez Fernández on 30/09/2023.
//
import SwiftUI
struct WelcomePageView: View {
var body: some View {
<<<<<<< HEAD
NavigationView{
=======
NavigationView {
>>>>>>> bddf4de293ba456171c3682d257fba2a9996240b
ZStack {
VStack {
Spacer()
Text("Welcome to\n Pawbook!")
.font(.largeTitle)
.padding(.bottom, 25)
.accessibilityIdentifier("welcomeText")
.multilineTextAlignment(.center)
.foregroundColor(Color(red: 0.50, green: 0.71, blue: 0.71))
.bold()
Spacer()
Image("paw-logo")
.resizable()
.scaledToFit()
.frame(width: 130, height: 130)
.accessibilityIdentifier("paw-logo")
Spacer()
<<<<<<< HEAD
NavigationLink(destination: LoginPageView()) {
Button("Login") {
// TODO: login logic
}
.frame(width: 250, height: 40)
.background(Color(red: 0x50/255, green: 0xB7/255, blue: 0xB7/255))
.foregroundColor(.white)
.cornerRadius(10)
.accessibilityIdentifier("loginButton")}
NavigationLink(destination: SignUpPageView()) {
Button(action: {
}) {
Text("Sign Up")
.frame(width: 250, height: 40)
.background(Color(red: 0x50/255, green: 0xB7/255, blue: 0xB7/255))
.foregroundColor(.white)
.cornerRadius(10)
.accessibilityIdentifier("signUpButton")
}
=======
NavigationLink(destination: LoginPageView()){
Text("Login")
.frame(width: 250, height: 40)
.background(Color(red: 0x50/255, green: 0xB7/255, blue: 0xB7/255))
.foregroundColor(.white)
.cornerRadius(10)
.accessibilityIdentifier("loginButton")
}
NavigationLink(destination: SignUpPageView()){
Text("Sign Up")
.frame(width: 250, height: 40)
.background(Color(red: 0x50/255, green: 0xB7/255, blue: 0xB7/255))
.foregroundColor(.white)
.cornerRadius(10)
.accessibilityIdentifier("signUpButton")
>>>>>>> bddf4de293ba456171c3682d257fba2a9996240b
}
Spacer()
}
}
}}
}
struct WelcomePageView_Previews: PreviewProvider {
static var previews: some View {
WelcomePageView()
}
}