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 {
NavigationStackView {
PhoneVerificationView()
// TODO: remove this commenting to enable natural user flow
switch self.authSessionStore.sessionState {
case SessionState.isAuthenticated:
InnerCircleView()
case SessionState.isLoggedOut:
WelcomeView()
}
// switch self.authSessionStore.sessionState {
// case SessionState.isAuthenticated:
// InnerCircleView()
// case SessionState.isLoggedOut:
// WelcomeView()
// }
}
}
}
@@ -96,15 +96,18 @@ struct OnboardingTemplateView: View {
Text(self.mainLeadingActionText! + " ")
.font(.title)
.foregroundColor(NirvanaColor.black)
.fontWeight(.medium)
+ Text(self.mainHighlightedActionText! + " ")
.font(.title)
.foregroundColor(NirvanaColor.teal)
.fontWeight(.medium)
+ Text(self.mainTrailingActionText!)
.font(.title)
.foregroundColor(NirvanaColor.black)
.fontWeight(.medium)
Text(self.subActionText!)
.foregroundColor(Color.gray)
.foregroundColor(Color.black.opacity(0.7))
.padding(.top, 5)
Spacer()
@@ -13,11 +13,11 @@ struct OnboardingTrioView: View {
var body: some View {
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 {
Button {
self.navigationStack.push(ContactsView())
@@ -30,8 +30,8 @@ struct OnboardingTrioView: View {
.background(NirvanaColor.teal)
.clipShape(Capsule())
.shadow(radius:10)
}
}.padding(.bottom, 20)
}
}.padding(.bottom, 30)
)
)
}