| 12345678910111213141516171819202122232425262728293031323334353637 |
- import SwiftUI
- /// Welcome step view shown at the beginning of onboarding.
- struct WelcomeStepView: View {
- var body: some View {
- VStack(alignment: .center, spacing: 20) {
- PulsingLogoAnimation()
- Spacer(minLength: 10)
- Text("Hi there!")
- .font(.title2)
- .fontWeight(.bold)
- .multilineTextAlignment(.center)
- Text(
- "Welcome to Trio - an automated insulin delivery system for iOS based on the OpenAPS algorithm with adaptations."
- )
- .multilineTextAlignment(.center)
- .foregroundColor(.secondary)
- Text(
- "Trio is designed to help manage your diabetes efficiently. To get the most out of the app, we'll guide you through setting up some essential parameters."
- )
- .multilineTextAlignment(.center)
- .foregroundColor(.secondary)
- Text("Let's go through a few quick steps to ensure Trio works optimally for you.")
- .multilineTextAlignment(.center)
- .foregroundColor(.primary)
- .bold()
- }
- .padding()
- .frame(maxWidth: .infinity)
- }
- }
|