new sign in page basic

This commit is contained in:
talksik
2021-12-13 13:00:27 -08:00
parent 84e4e1d66a
commit fd5699a6f0
2 changed files with 30 additions and 1 deletions
+28 -1
View File
@@ -9,7 +9,34 @@ import SwiftUI
struct SignInView: View {
var body: some View {
Text("asdf")
OnboardingTemplateView(hdrText: "Let's get started", imgName: "undraw_enter_uhqk", bottomActArea:
AnyView(
VStack(alignment: .center) {
NavigationLink(destination: HomeView()) {
Text("Sign Up")
.bold()
.foregroundColor(NirvanaColor.white)
.frame(maxWidth: .infinity)
.padding(.vertical, 20)
.background(NirvanaColor.teal)
.clipShape(Capsule())
.shadow(radius:10)
}
Button(
action: {
print("link to website learn more clicked")
},
label: {
Text("Learn More")
.bold()
})
//learn more button to usenirvana.com
}
.padding(.top, 20)
)
)
}
}
@@ -47,6 +47,8 @@ struct OnboardingTemplateView: View {
self.onboardingActionTextView
Spacer()
self.bottomActionArea
}
.padding(screenWidth * 0.1)