From 1dc0cf4529e5faa075168288585e365e7136b3d1 Mon Sep 17 00:00:00 2001 From: Chad Curtis Date: Mon, 28 Jul 2025 14:03:24 +0000 Subject: [PATCH] further optimization for small screens --- src/components/onboarding/AISettingsStep.tsx | 46 +++++++++---------- .../onboarding/OnboardingDialog.tsx | 20 ++++---- src/components/onboarding/ProjectStep.tsx | 42 ++++++++--------- src/components/onboarding/WelcomeStep.tsx | 2 +- 4 files changed, 55 insertions(+), 55 deletions(-) diff --git a/src/components/onboarding/AISettingsStep.tsx b/src/components/onboarding/AISettingsStep.tsx index e4e3521d..52330efc 100644 --- a/src/components/onboarding/AISettingsStep.tsx +++ b/src/components/onboarding/AISettingsStep.tsx @@ -24,72 +24,72 @@ export function AISettingsStep({ onNext, onPrevious, onSkip }: AISettingsStepPro const isValid = localSettings.apiKey.trim() && localSettings.baseUrl.trim() && localSettings.model.trim(); return ( -
-
-
- +
+
+
+
-

+

Configure AI Settings

-

+

Set up your AI provider to start building with AI assistance.

- - -
- - AI Provider + + +
+ + AI Provider
- + We recommend OpenRouter for easy setup
- -
+ +
- + setLocalSettings({ ...localSettings, apiKey: e.target.value })} - className="font-mono text-sm h-9" + className="font-mono text-xs sm:text-sm h-8 sm:h-9" /> -

+

Stored locally, never shared

- + setLocalSettings({ ...localSettings, baseUrl: e.target.value })} - className="text-sm h-9" + className="text-xs sm:text-sm h-8 sm:h-9" />
- + setLocalSettings({ ...localSettings, model: e.target.value })} - className="text-sm h-9" + className="text-xs sm:text-sm h-8 sm:h-9" />
-
+
diff --git a/src/components/onboarding/OnboardingDialog.tsx b/src/components/onboarding/OnboardingDialog.tsx index faaa9e51..85a066fe 100644 --- a/src/components/onboarding/OnboardingDialog.tsx +++ b/src/components/onboarding/OnboardingDialog.tsx @@ -100,25 +100,25 @@ export function OnboardingDialog({ return ( - -
+ +
Getting Started Onboarding Complete the onboarding process to get started with Shakespeare -
+
-

Getting Started

- - Step {currentStep + 1} of {STEPS.length} +

Getting Started

+ + {currentStep + 1} / {STEPS.length}
- +
-
+
{STEPS.map((step, index) => ( {step.title} @@ -127,7 +127,7 @@ export function OnboardingDialog({
-
+
{renderStep()}
diff --git a/src/components/onboarding/ProjectStep.tsx b/src/components/onboarding/ProjectStep.tsx index 6d90b1ac..ae0d1f90 100644 --- a/src/components/onboarding/ProjectStep.tsx +++ b/src/components/onboarding/ProjectStep.tsx @@ -37,50 +37,50 @@ export function ProjectStep({ onPrevious, onComplete, onProjectCreated, initialP }; return ( -
-
-
- +
+
+
+
-

+

Create Your First Project

-

+

Our AI will help you create it step by step.

- - -
- - Project Description + + +
+ + Project Description
- + Be as detailed as possible about what you want to build
- +