Update OnboardingTrioView.swift
This commit is contained in:
@@ -12,6 +12,7 @@ struct OnboardingTrioView: View {
|
|||||||
@EnvironmentObject var navigationStack: NavigationStack
|
@EnvironmentObject var navigationStack: NavigationStack
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
ZStack(alignment: .topLeading) {
|
||||||
TabView {
|
TabView {
|
||||||
OnboardingTemplateView(imgName: "undraw_through_the_park_lxnl", mainLeadingActText: "Be", mainHighlightedActText: "yourself", mainTrailingActText: "again.", subActText: "No more endless feeds, media, fomo, anxiety...focus on you and be more present.")
|
OnboardingTemplateView(imgName: "undraw_through_the_park_lxnl", mainLeadingActText: "Be", mainHighlightedActText: "yourself", mainTrailingActText: "again.", subActText: "No more endless feeds, media, fomo, anxiety...focus on you and be more present.")
|
||||||
|
|
||||||
@@ -39,6 +40,28 @@ struct OnboardingTrioView: View {
|
|||||||
.tabViewStyle(.page(indexDisplayMode: .automatic))
|
.tabViewStyle(.page(indexDisplayMode: .automatic))
|
||||||
.ignoresSafeArea(.all)
|
.ignoresSafeArea(.all)
|
||||||
|
|
||||||
|
|
||||||
|
HStack(alignment: .center) {
|
||||||
|
Button {
|
||||||
|
self.navigationStack.pop()
|
||||||
|
} label: {
|
||||||
|
Label("back", systemImage:"chevron.left")
|
||||||
|
.labelStyle(.iconOnly)
|
||||||
|
.font(.title2)
|
||||||
|
}
|
||||||
|
|
||||||
|
Spacer()
|
||||||
|
|
||||||
|
Button {
|
||||||
|
|
||||||
|
} label: {
|
||||||
|
Text("Skip")
|
||||||
|
.foregroundColor(NirvanaColor.dimTeal)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.padding()
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user