mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-11-08 05:30:05 +01:00
🍱 Fix indentation
This commit is contained in:
@@ -10,52 +10,52 @@ import SwiftUI
|
|||||||
|
|
||||||
struct OnboardingView: View {
|
struct OnboardingView: View {
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(alignment: .center) {
|
VStack(alignment: .center) {
|
||||||
Image(nsImage: NSApp.applicationIconImage)
|
Image(nsImage: NSApp.applicationIconImage)
|
||||||
.resizable()
|
.resizable()
|
||||||
.frame(width: 90, height: 90)
|
.frame(width: 90, height: 90)
|
||||||
Text("onboarding.welcome".localized)
|
Text("onboarding.welcome".localized)
|
||||||
.font(.title)
|
.font(.title)
|
||||||
.bold()
|
.bold()
|
||||||
.padding(.bottom, 5)
|
.padding(.bottom, 5)
|
||||||
Text("onboarding.explore".localized)
|
Text("onboarding.explore".localized)
|
||||||
.padding(.bottom)
|
.padding(.bottom)
|
||||||
TabView {
|
TabView {
|
||||||
VStack {
|
VStack {
|
||||||
Image("Tour.MenuBar")
|
Image("Tour.MenuBar")
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fit)
|
.aspectRatio(contentMode: .fit)
|
||||||
.padding(.top)
|
.padding(.top)
|
||||||
Text("onboarding.tour.menu_bar".localized)
|
Text("onboarding.tour.menu_bar".localized)
|
||||||
.padding(.init(top: 5, leading: 20, bottom: 20, trailing: 20))
|
.padding(.init(top: 5, leading: 20, bottom: 20, trailing: 20))
|
||||||
}.tabItem { Label("onboarding.tour.menu_bar.title".localized, systemImage: "") }
|
}.tabItem { Label("onboarding.tour.menu_bar.title".localized, systemImage: "") }
|
||||||
VStack {
|
VStack {
|
||||||
Image("Tour.Domains")
|
Image("Tour.Domains")
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fit)
|
.aspectRatio(contentMode: .fit)
|
||||||
.padding(.top)
|
.padding(.top)
|
||||||
Text("onboarding.tour.domains".localized)
|
Text("onboarding.tour.domains".localized)
|
||||||
.padding(.init(top: 5, leading: 20, bottom: 20, trailing: 20))
|
.padding(.init(top: 5, leading: 20, bottom: 20, trailing: 20))
|
||||||
}.tabItem { Label("onboarding.tour.domains.title".localized, systemImage: "") }
|
}.tabItem { Label("onboarding.tour.domains.title".localized, systemImage: "") }
|
||||||
VStack {
|
VStack {
|
||||||
Image("Tour.Isolation")
|
Image("Tour.Isolation")
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fit)
|
.aspectRatio(contentMode: .fit)
|
||||||
.padding(.top)
|
.padding(.top)
|
||||||
Text("onboarding.tour.isolation".localized)
|
Text("onboarding.tour.isolation".localized)
|
||||||
.padding(.init(top: 5, leading: 20, bottom: 20, trailing: 20))
|
.padding(.init(top: 5, leading: 20, bottom: 20, trailing: 20))
|
||||||
}.tabItem { Label("onboarding.tour.isolation.title".localized, systemImage: "") }
|
}.tabItem { Label("onboarding.tour.isolation.title".localized, systemImage: "") }
|
||||||
}
|
|
||||||
Text("onboarding.tour.once".localized)
|
|
||||||
.font(.subheadline)
|
|
||||||
.foregroundColor(.gray)
|
|
||||||
.padding(.top, 5)
|
|
||||||
Button("Close Tour") {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.frame(maxWidth: .infinity)
|
Text("onboarding.tour.once".localized)
|
||||||
.padding()
|
.font(.subheadline)
|
||||||
|
.foregroundColor(.gray)
|
||||||
|
.padding(.top, 5)
|
||||||
|
Button("Close Tour") {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.frame(maxWidth: .infinity)
|
||||||
|
.padding()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user