making changes to the trio

This commit is contained in:
talksik
2021-12-18 03:03:28 -08:00
parent 332be96743
commit 550f1ddf87
5 changed files with 38 additions and 12 deletions
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "undraw_good_team_re_j1kc.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.2 KiB

+7 -6
View File
@@ -13,13 +13,14 @@ struct ContentView: View {
var body: some View { var body: some View {
NavigationStackView { NavigationStackView {
PhoneVerificationView()
// TODO: remove this commenting to enable natural user flow // TODO: remove this commenting to enable natural user flow
switch self.authSessionStore.sessionState { // switch self.authSessionStore.sessionState {
case SessionState.isAuthenticated: // case SessionState.isAuthenticated:
InnerCircleView() // InnerCircleView()
case SessionState.isLoggedOut: // case SessionState.isLoggedOut:
WelcomeView() // WelcomeView()
} // }
} }
} }
} }
@@ -96,15 +96,18 @@ struct OnboardingTemplateView: View {
Text(self.mainLeadingActionText! + " ") Text(self.mainLeadingActionText! + " ")
.font(.title) .font(.title)
.foregroundColor(NirvanaColor.black) .foregroundColor(NirvanaColor.black)
.fontWeight(.medium)
+ Text(self.mainHighlightedActionText! + " ") + Text(self.mainHighlightedActionText! + " ")
.font(.title) .font(.title)
.foregroundColor(NirvanaColor.teal) .foregroundColor(NirvanaColor.teal)
.fontWeight(.medium)
+ Text(self.mainTrailingActionText!) + Text(self.mainTrailingActionText!)
.font(.title) .font(.title)
.foregroundColor(NirvanaColor.black) .foregroundColor(NirvanaColor.black)
.fontWeight(.medium)
Text(self.subActionText!) Text(self.subActionText!)
.foregroundColor(Color.gray) .foregroundColor(Color.black.opacity(0.7))
.padding(.top, 5) .padding(.top, 5)
Spacer() Spacer()
@@ -13,11 +13,11 @@ struct OnboardingTrioView: View {
var body: some View { var body: some View {
TabView { TabView {
OnboardingTemplateView(imgName: "undraw_through_the_park_lxnl", mainLeadingActText: "The path to living in the ", mainHighlightedActText: "present moment.", mainTrailingActText: "", subActText: "No more dopamine inducing news feeds. No profiles so no anxiety about the past or what others think.") OnboardingTemplateView(imgName: "undraw_through_the_park_lxnl", mainLeadingActText: "Stay present, stay ", mainHighlightedActText: "authentic.", mainTrailingActText: "", subActText: "No more consuming endless feeds and media, fomo, and anxiety.")
OnboardingTemplateView(imgName: "undraw_voice_assistant_nrv7", mainLeadingActText: "Talk with your authentic ", mainHighlightedActText: "voice.", mainTrailingActText: "", subActText: "Less screen time, no more endless text chats with meaningless junk. Start mindfully listening.") OnboardingTemplateView(imgName: "undraw_connection_b-38-q", mainLeadingActText: "Be picky about your ", mainHighlightedActText: "inner circle.", mainTrailingActText: "", subActText: "You are who you hang out with. We limit your \"circle\" to 12 people.")
OnboardingTemplateView(imgName: "undraw_connection_b-38-q", mainLeadingActText: "Be picky about your ", mainHighlightedActText: "inner circle.", mainTrailingActText: "", subActText: "You are who you hang out with. Maximum 8 people in your inner circle.", bottomActArea: AnyView( OnboardingTemplateView(imgName: "undraw_voice_assistant_nrv7", mainLeadingActText: "A seamless way of communicating ", mainHighlightedActText: "voice.", mainTrailingActText: "", subActText: "Less screen time, no more endless text chats with meaningless junk. Start mindfully listening.", bottomActArea: AnyView(
VStack { VStack {
Button { Button {
self.navigationStack.push(ContactsView()) self.navigationStack.push(ContactsView())
@@ -31,7 +31,7 @@ struct OnboardingTrioView: View {
.clipShape(Capsule()) .clipShape(Capsule())
.shadow(radius:10) .shadow(radius:10)
} }
}.padding(.bottom, 20) }.padding(.bottom, 30)
) )
) )
} }