+
{STEPS.map((step, index) => (
{step.title}
@@ -124,7 +127,7 @@ export function OnboardingDialog({
+
{renderStep()}
diff --git a/src/components/onboarding/ProjectStep.tsx b/src/components/onboarding/ProjectStep.tsx
index 9de8cf22..ae0d1f90 100644
--- a/src/components/onboarding/ProjectStep.tsx
+++ b/src/components/onboarding/ProjectStep.tsx
@@ -11,10 +11,11 @@ interface ProjectStepProps {
onPrevious: () => void;
onComplete: () => void;
onProjectCreated?: (projectId: string) => void;
+ initialPrompt?: string;
}
-export function ProjectStep({ onPrevious, onComplete, onProjectCreated }: ProjectStepProps) {
- const [prompt, setPrompt] = useState('');
+export function ProjectStep({ onPrevious, onComplete, onProjectCreated, initialPrompt = '' }: ProjectStepProps) {
+ const [prompt, setPrompt] = useState(initialPrompt);
const [isCreating, setIsCreating] = useState(false);
const projectsManager = useProjectsManager();
const navigate = useNavigate();
@@ -36,50 +37,50 @@ export function ProjectStep({ onPrevious, onComplete, onProjectCreated }: Projec
};
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
-
+