changing some colors around and getting started with phone auth

This commit is contained in:
talksik
2021-12-17 14:37:50 -08:00
parent 7b345a8e98
commit 3639819d04
10 changed files with 144 additions and 87 deletions
+24 -23
View File
@@ -11,30 +11,31 @@ struct WelcomeView: View {
@State var showLearnMore = false
var body: some View {
NavigationView {
OnboardingTemplateView(imgName: "undraw_friendship_mni7", mainLeadingActText: "Your", mainHighlightedActText: "minimalist", mainTrailingActText: "social media.", subActText: "Tired of the rat race on insta, snap, tik-tok, \"meta\"?", bottomActArea: AnyView(
VStack(alignment: .center) {
NavigationLink(destination: OnboardingTrioView()) {
Text("Start Your Detox")
.bold()
.foregroundColor(NirvanaColor.white)
.frame(maxWidth: .infinity)
.padding(.vertical, 20)
.background(NirvanaColor.teal)
.clipShape(Capsule())
.shadow(radius:10)
}
Link("Learn More", destination: URL(string: NirvanaConstants.landingPageUrl)!)
.font(.caption)
.foregroundColor(NirvanaColor.teal)
//learn more button to usenirvana.com
OnboardingTemplateView(imgName: "undraw_friendship_mni7", mainLeadingActText: "Your", mainHighlightedActText: "minimalist", mainTrailingActText: "social media.", subActText: "Tired of the rat race on insta, snap, tik-tok, \"meta\"?", bottomActArea: AnyView(
VStack(alignment: .center) {
Button {
print("going to the sign in page")
} label: {
Text("Start Your Detox")
.bold()
.foregroundColor(NirvanaColor.white)
.frame(maxWidth: .infinity)
.padding(.vertical, 20)
.background(NirvanaColor.teal)
.clipShape(Capsule())
.shadow(radius:10)
}
.padding(.top, 20)
)
).navigationBarHidden(true)
}.navigationBarHidden(true) // navigation view
Link("Learn More", destination: URL(string: NirvanaConstants.landingPageUrl)!)
.font(.caption)
.foregroundColor(NirvanaColor.white)
//learn more button to usenirvana.com
}
.padding(.top, 20)
)
)
} // View body
} // View