ui(macos): lower onboarding welcome content

This commit is contained in:
Peter Steinberger
2025-12-14 03:45:27 +00:00
parent c7022cc139
commit 67e0739bec

View File

@@ -132,46 +132,49 @@ struct OnboardingView: View {
private func welcomePage() -> some View { private func welcomePage() -> some View {
self.onboardingPage { self.onboardingPage {
Text("Welcome to Clawdis") VStack(spacing: 22) {
.font(.largeTitle.weight(.semibold)) Text("Welcome to Clawdis")
Text( .font(.largeTitle.weight(.semibold))
"Your macOS menu bar companion for notifications, screenshots, and agent automation — " + Text(
"setup takes just a few minutes.") "Your macOS menu bar companion for notifications, screenshots, and agent automation — " +
.font(.body) "setup takes just a few minutes.")
.foregroundStyle(.secondary) .font(.body)
.multilineTextAlignment(.center) .foregroundStyle(.secondary)
.lineLimit(2) .multilineTextAlignment(.center)
.frame(maxWidth: 560) .lineLimit(2)
.fixedSize(horizontal: false, vertical: true) .frame(maxWidth: 560)
.fixedSize(horizontal: false, vertical: true)
self.onboardingCard(spacing: 10, padding: 14) { self.onboardingCard(spacing: 10, padding: 14) {
HStack(alignment: .top, spacing: 12) { HStack(alignment: .top, spacing: 12) {
Image(systemName: "exclamationmark.triangle.fill") Image(systemName: "exclamationmark.triangle.fill")
.font(.title3.weight(.semibold)) .font(.title3.weight(.semibold))
.foregroundStyle(Color(nsColor: .systemOrange)) .foregroundStyle(Color(nsColor: .systemOrange))
.frame(width: 22) .frame(width: 22)
.padding(.top, 1) .padding(.top, 1)
VStack(alignment: .leading, spacing: 6) { VStack(alignment: .leading, spacing: 6) {
Text("Security notice") Text("Security notice")
.font(.headline) .font(.headline)
Text( Text(
""" """
The connected AI agent (e.g. Claude) can trigger powerful actions on your Mac, The connected AI agent (e.g. Claude) can trigger powerful actions on your Mac,
including running including running
commands, reading/writing files, and capturing screenshots — depending on the commands, reading/writing files, and capturing screenshots — depending on the
permissions you grant. permissions you grant.
Only enable Clawdis if you understand the risks and trust the prompts Only enable Clawdis if you understand the risks and trust the prompts
and integrations you use. and integrations you use.
""") """)
.font(.subheadline) .font(.subheadline)
.foregroundStyle(.secondary) .foregroundStyle(.secondary)
.fixedSize(horizontal: false, vertical: true) .fixedSize(horizontal: false, vertical: true)
}
} }
} }
.frame(maxWidth: 520)
} }
.frame(maxWidth: 520) .padding(.top, 16)
} }
} }