-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathWelcomePageView.swift
46 lines (37 loc) · 1.05 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
//
// WelcomePageView.swift
// MobileAcebook
//
// Created by Josué Estévez Fernández on 30/09/2023.
//
import SwiftUI
struct WelcomePageView: View {
var body: some View {
ZStack {
VStack {
Spacer()
Text("Welcome to Pawbook!")
.font(.largeTitle)
.padding(.bottom, 20)
.accessibilityIdentifier("welcomeText")
Spacer()
Image("makers-logo")
.resizable()
.scaledToFit()
.frame(width: 200, height: 200)
.accessibilityIdentifier("makers-logo")
Spacer()
Button("Sign Up") {
// TODO: sign up logic
}
.accessibilityIdentifier("signUpButton")
Spacer()
}
}
}
}
struct WelcomePageView_Previews: PreviewProvider {
static var previews: some View {
WelcomePageView()
}
}