-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEnhancedProfileSetup_Steps4-10.jsx
More file actions
585 lines (548 loc) · 29.3 KB
/
EnhancedProfileSetup_Steps4-10.jsx
File metadata and controls
585 lines (548 loc) · 29.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
// =====================================================
// REMAINING STEPS 4-10 FOR ENHANCED PROFILE SETUP
// Add these to the EnhancedProfileSetup component
// =====================================================
// STEP 4: What You're Looking For
function Step4LookingFor() {
return (
<div>
<h2 style={{ marginBottom: '8px' }}>What You're Looking For</h2>
<p style={{ color: 'var(--text-secondary)', marginBottom: '32px' }}>Help us find your perfect co-founder match</p>
<div className="form-group">
<label className="form-label">What type of co-founder are you looking for? *</label>
<select
className="form-input"
value={formData.looking_for}
onChange={(e) => updateField('looking_for', e.target.value)}
>
<option value="">Select type</option>
<option value="Technical">Technical Co-Founder (Developer/Engineer)</option>
<option value="Business">Business Co-Founder (Operations/Strategy)</option>
<option value="Product">Product Co-Founder (Product Manager/Designer)</option>
<option value="Marketing">Marketing Co-Founder (Growth/Marketing)</option>
<option value="Domain Expert">Domain Expert (Industry-specific)</option>
<option value="Any">Open to any strong builder</option>
</select>
</div>
<div className="form-group">
<label className="form-label">Must-have skills in your co-founder</label>
<input
type="text"
className="form-input"
placeholder="e.g., Full-stack development, UX design, Sales experience"
value={formData.must_have_skills}
onChange={(e) => updateField('must_have_skills', e.target.value)}
/>
</div>
<div className="form-group">
<label className="form-label">Deal breakers (select all that apply)</label>
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(2, 1fr)', gap: '12px', marginTop: '12px' }}>
{['Ego issues', 'Time commitment mismatch', 'Location constraints', 'No technical skills', 'No business skills', 'Different values', 'Poor communication', 'Lack of commitment'].map(dealbreaker => (
<label key={dealbreaker} style={{ display: 'flex', alignItems: 'center', gap: '8px', padding: '12px', background: 'var(--bg-tertiary)', borderRadius: '8px', cursor: 'pointer' }}>
<input
type="checkbox"
checked={formData.deal_breakers?.includes(dealbreaker)}
onChange={(e) => {
const current = formData.deal_breakers || [];
updateField('deal_breakers', e.target.checked
? [...current, dealbreaker]
: current.filter(d => d !== dealbreaker)
);
}}
/>
<span style={{ fontSize: '0.875rem' }}>{dealbreaker}</span>
</label>
))}
</div>
</div>
<div className="form-group">
<label className="form-label">Co-founder location preference *</label>
<select
className="form-input"
value={formData.remote_preference}
onChange={(e) => updateField('remote_preference', e.target.value)}
>
<option value="">Select preference</option>
<option value="Same City">Must be in my city (for in-person collaboration)</option>
<option value="Same Country">Same country (India)</option>
<option value="Fully Remote">Fully Remote (location doesn't matter)</option>
</select>
</div>
</div>
);
}
// STEP 5: Your Expertise
function Step5Expertise() {
const [showTechStack, setShowTechStack] = useState(false);
return (
<div>
<h2 style={{ marginBottom: '8px' }}>Your Expertise</h2>
<p style={{ color: 'var(--text-secondary)', marginBottom: '32px' }}>Show off your skills and experience</p>
<div className="form-group">
<label className="form-label">Primary Skill (choose ONE) *</label>
<select
className="form-input"
value={formData.primary_skill}
onChange={(e) => {
updateField('primary_skill', e.target.value);
setShowTechStack(e.target.value === 'Engineering');
}}
>
<option value="">Select primary skill</option>
<option value="Engineering">Engineering (Backend/Frontend/Mobile/AI)</option>
<option value="Product">Product (Product Manager/UX Designer)</option>
<option value="Business">Business (Strategy/Operations/Finance)</option>
<option value="Marketing">Marketing (Growth/Content/SEO)</option>
<option value="Operations">Operations (Supply Chain/Logistics)</option>
<option value="Sales">Sales (B2B/B2C)</option>
<option value="Design">Design (UI/UX/Graphic)</option>
</select>
</div>
{showTechStack && (
<div className="form-group">
<label className="form-label">Tech Stack (for technical founders)</label>
<div style={{ marginTop: '12px' }}>
<input
type="text"
className="form-input"
placeholder="Languages: e.g., Python, JavaScript, Go"
style={{ marginBottom: '8px' }}
onChange={(e) => updateField('tech_stack', { ...formData.tech_stack, languages: e.target.value.split(',').map(s => s.trim()) })}
/>
<input
type="text"
className="form-input"
placeholder="Frameworks: e.g., React, Node.js, Django"
style={{ marginBottom: '8px' }}
onChange={(e) => updateField('tech_stack', { ...formData.tech_stack, frameworks: e.target.value.split(',').map(s => s.trim()) })}
/>
<input
type="text"
className="form-input"
placeholder="Cloud/DevOps: e.g., AWS, Docker, Kubernetes"
onChange={(e) => updateField('tech_stack', { ...formData.tech_stack, cloud: e.target.value.split(',').map(s => s.trim()) })}
/>
</div>
</div>
)}
<div className="form-group">
<label className="form-label">GitHub Profile (optional but recommended)</label>
<input
type="url"
className="form-input"
placeholder="https://github.com/yourusername"
value={formData.github_url}
onChange={(e) => updateField('github_url', e.target.value)}
/>
</div>
<div className="form-group">
<label className="form-label">Portfolio/Website URL (optional)</label>
<input
type="url"
className="form-input"
placeholder="https://yourportfolio.com"
value={formData.portfolio_url}
onChange={(e) => updateField('portfolio_url', e.target.value)}
/>
</div>
</div>
);
}
// STEP 6: Idea & Industry
function Step6IdeaIndustry() {
return (
<div>
<h2 style={{ marginBottom: '8px' }}>Idea & Industry Interests</h2>
<p style={{ color: 'var(--text-secondary)', marginBottom: '32px' }}>What are you building or interested in?</p>
<div className="form-group">
<label className="form-label">Do you currently have an idea? *</label>
<select
className="form-input"
value={formData.has_idea}
onChange={(e) => updateField('has_idea', e.target.value)}
>
<option value="">Select option</option>
<option value="Yes">Yes - I have a clear idea</option>
<option value="Multiple">Multiple ideas to explore</option>
<option value="No">No - Looking to join as co-founder</option>
<option value="Open">Open to both</option>
</select>
</div>
{(formData.has_idea === 'Yes' || formData.has_idea === 'Multiple') && (
<div className="form-group">
<label className="form-label">What stage is your idea at?</label>
<select
className="form-input"
value={formData.idea_stage}
onChange={(e) => updateField('idea_stage', e.target.value)}
>
<option value="">Select stage</option>
<option value="Just an idea">Just an idea</option>
<option value="Research done">Research done</option>
<option value="MVP built">MVP built</option>
<option value="Has users">Has users/revenue</option>
</select>
</div>
)}
<div className="form-group">
<label className="form-label">Industry interests (select all that apply) *</label>
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: '12px', marginTop: '12px' }}>
{['AI/ML', 'FinTech', 'EdTech', 'HealthTech', 'SaaS', 'E-commerce', 'CleanTech', 'Web3/Crypto', 'DevTools', 'Consumer Apps', 'B2B Software', 'Marketplace'].map(industry => (
<label key={industry} style={{ display: 'flex', alignItems: 'center', gap: '8px', padding: '12px', background: formData.industry_interests?.includes(industry) ? 'var(--brand-primary)' : 'var(--bg-tertiary)', color: formData.industry_interests?.includes(industry) ? '#fff' : 'inherit', borderRadius: '8px', cursor: 'pointer', transition: 'all 0.2s' }}>
<input
type="checkbox"
checked={formData.industry_interests?.includes(industry)}
onChange={(e) => {
const current = formData.industry_interests || [];
updateField('industry_interests', e.target.checked
? [...current, industry]
: current.filter(i => i !== industry)
);
}}
style={{ display: 'none' }}
/>
<span style={{ fontSize: '0.875rem', fontWeight: 500 }}>{industry}</span>
</label>
))}
</div>
</div>
<div className="form-group">
<label className="form-label">Open to pivoting ideas?</label>
<div style={{ display: 'flex', gap: '12px' }}>
<button
type="button"
className={`btn ${formData.open_to_pivot === true ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('open_to_pivot', true)}
>
Yes
</button>
<button
type="button"
className={`btn ${formData.open_to_pivot === false ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('open_to_pivot', false)}
>
No - Committed to current idea
</button>
</div>
</div>
</div>
);
}
// STEP 7: Equity & Money
function Step7EquityMoney() {
return (
<div>
<h2 style={{ marginBottom: '8px' }}>Equity & Money Expectations</h2>
<p style={{ color: 'var(--text-secondary)', marginBottom: '32px' }}>Let's talk about the business side</p>
<div className="form-group">
<label className="form-label">Expected equity as co-founder *</label>
<select
className="form-input"
value={formData.expected_equity}
onChange={(e) => updateField('expected_equity', e.target.value)}
>
<option value="">Select expectation</option>
<option value="Equal">Equal split (50/50)</option>
<option value="Negotiable">Negotiable based on contribution</option>
<option value="Depends">Depends on the situation</option>
<option value="Minority">Comfortable with minority stake (<50%)</option>
</select>
</div>
<div className="form-group">
<label className="form-label">Okay with standard vesting (4 years, 1-year cliff)?</label>
<div style={{ display: 'flex', gap: '12px' }}>
<button
type="button"
className={`btn ${formData.okay_with_vesting === true ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('okay_with_vesting', true)}
>
Yes
</button>
<button
type="button"
className={`btn ${formData.okay_with_vesting === false ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('okay_with_vesting', false)}
>
No
</button>
</div>
<p style={{ fontSize: '0.75rem', color: 'var(--text-tertiary)', marginTop: '8px' }}>
Standard startup practice: Your equity vests over 4 years, with a 1-year cliff
</p>
</div>
<div className="form-group">
<label className="form-label">Willing to invest personal money if needed?</label>
<div style={{ display: 'flex', gap: '12px' }}>
<button
type="button"
className={`btn ${formData.willing_to_invest_money === true ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('willing_to_invest_money', true)}
>
Yes
</button>
<button
type="button"
className={`btn ${formData.willing_to_invest_money === false ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('willing_to_invest_money', false)}
>
No
</button>
</div>
</div>
{formData.willing_to_invest_money && (
<div className="form-group">
<label className="form-label">Investment range you're comfortable with</label>
<select
className="form-input"
value={formData.investment_amount_range}
onChange={(e) => updateField('investment_amount_range', e.target.value)}
>
<option value="">Select range</option>
<option value="₹0">₹0 (Sweat equity only)</option>
<option value="₹50k-1L">₹50,000 - ₹1 Lakh</option>
<option value="₹1L-5L">₹1 Lakh - ₹5 Lakhs</option>
<option value="₹5L-10L">₹5 Lakhs - ₹10 Lakhs</option>
<option value="₹10L+">₹10 Lakhs+</option>
</select>
</div>
)}
</div>
);
}
// STEP 8: Working Style & Values
function Step8WorkingStyle() {
return (
<div>
<h2 style={{ marginBottom: '8px' }}>Working Style & Values</h2>
<p style={{ color: 'var(--text-secondary)', marginBottom: '32px' }}>How do you like to work?</p>
<div className="form-group">
<label className="form-label">Decision-making style *</label>
<select
className="form-input"
value={formData.decision_making_style}
onChange={(e) => updateField('decision_making_style', e.target.value)}
>
<option value="">Select style</option>
<option value="Data-driven">Data-driven (analyze before deciding)</option>
<option value="Intuition">Intuition (trust gut feeling)</option>
<option value="Consensus">Consensus (discuss with team)</option>
<option value="Hybrid">Hybrid approach</option>
</select>
</div>
<div className="form-group">
<label className="form-label">Conflict handling style</label>
<select
className="form-input"
value={formData.conflict_handling}
onChange={(e) => updateField('conflict_handling', e.target.value)}
>
<option value="">Select style</option>
<option value="Direct discussion">Direct discussion (address immediately)</option>
<option value="Mediation">Mediation (involve third party)</option>
<option value="Time to cool down">Time to cool down (reflect first)</option>
</select>
</div>
<div className="form-group">
<label className="form-label">Work style preference</label>
<select
className="form-input"
value={formData.work_style}
onChange={(e) => updateField('work_style', e.target.value)}
>
<option value="">Select style</option>
<option value="Structured">Structured (clear processes & schedules)</option>
<option value="Flexible">Flexible (adapt as we go)</option>
<option value="Fast & chaotic">Fast & chaotic (move fast, break things)</option>
</select>
</div>
<div className="form-group">
<label className="form-label">Core values (select your top 3) *</label>
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: '12px', marginTop: '12px' }}>
{['Transparency', 'Speed', 'Quality', 'Ethics', 'Growth', 'Impact', 'Innovation', 'Work-Life Balance', 'Customer First'].map(value => (
<label key={value} style={{ display: 'flex', alignItems: 'center', gap: '8px', padding: '12px', background: formData.core_values?.includes(value) ? 'var(--brand-primary)' : 'var(--bg-tertiary)', color: formData.core_values?.includes(value) ? '#fff' : 'inherit', borderRadius: '8px', cursor: 'pointer', transition: 'all 0.2s', opacity: formData.core_values?.length >= 3 && !formData.core_values?.includes(value) ? 0.5 : 1 }}>
<input
type="checkbox"
checked={formData.core_values?.includes(value)}
onChange={(e) => {
const current = formData.core_values || [];
if (e.target.checked && current.length >= 3) return;
updateField('core_values', e.target.checked
? [...current, value]
: current.filter(v => v !== value)
);
}}
disabled={formData.core_values?.length >= 3 && !formData.core_values?.includes(value)}
style={{ display: 'none' }}
/>
<span style={{ fontSize: '0.875rem', fontWeight: 500 }}>{value}</span>
</label>
))}
</div>
<p style={{ fontSize: '0.75rem', color: 'var(--text-tertiary)', marginTop: '8px' }}>
Selected: {formData.core_values?.length || 0}/3
</p>
</div>
</div>
);
}
// STEP 9: Risk & Experience
function Step9RiskFailure() {
return (
<div>
<h2 style={{ marginBottom: '8px' }}>Risk & Experience</h2>
<p style={{ color: 'var(--text-secondary)', marginBottom: '32px' }}>Your entrepreneurial journey</p>
<div className="form-group">
<label className="form-label">Have you tried building something before? *</label>
<div style={{ display: 'flex', gap: '12px' }}>
<button
type="button"
className={`btn ${formData.has_built_before === true ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('has_built_before', true)}
>
Yes
</button>
<button
type="button"
className={`btn ${formData.has_built_before === false ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('has_built_before', false)}
>
No - First time!
</button>
</div>
</div>
{formData.has_built_before && (
<div className="form-group">
<label className="form-label">What was the biggest reason it didn't work out?</label>
<textarea
className="form-input"
rows="3"
placeholder="Be honest - we all learn from failures..."
value={formData.previous_failure_reason}
onChange={(e) => updateField('previous_failure_reason', e.target.value)}
maxLength="500"
/>
</div>
)}
<div className="form-group">
<label className="form-label">What would make you quit a startup?</label>
<textarea
className="form-input"
rows="2"
placeholder="e.g., No traction after 2 years, co-founder conflicts, personal reasons..."
value={formData.quit_triggers}
onChange={(e) => updateField('quit_triggers', e.target.value)}
maxLength="300"
/>
</div>
<div className="form-group">
<label className="form-label">Comfortable with uncertainty for 2-3 years?</label>
<div style={{ display: 'flex', gap: '12px' }}>
<button
type="button"
className={`btn ${formData.comfortable_with_uncertainty === true ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('comfortable_with_uncertainty', true)}
>
Yes - I'm ready
</button>
<button
type="button"
className={`btn ${formData.comfortable_with_uncertainty === false ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('comfortable_with_uncertainty', false)}
>
Not sure
</button>
</div>
</div>
</div>
);
}
// STEP 10: Premium Signals
function Step10Premium() {
return (
<div>
<div style={{ textAlign: 'center', marginBottom: '32px' }}>
<div style={{ fontSize: '48px', marginBottom: '16px' }}>🏆</div>
<h2 style={{ marginBottom: '8px' }}>Premium Signals (Optional)</h2>
<p style={{ color: 'var(--text-secondary)' }}>These questions are optional but dramatically improve your match quality!</p>
</div>
<div className="form-group">
<label className="form-label">Willing to do a 2-week trial project with potential co-founder?</label>
<div style={{ display: 'flex', gap: '12px' }}>
<button
type="button"
className={`btn ${formData.trial_project_willing === true ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('trial_project_willing', true)}
>
Yes
</button>
<button
type="button"
className={`btn ${formData.trial_project_willing === false ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('trial_project_willing', false)}
>
No
</button>
</div>
<p style={{ fontSize: '0.75rem', color: 'var(--text-tertiary)', marginTop: '8px' }}>
Best way to test compatibility before committing!
</p>
</div>
<div className="form-group">
<label className="form-label">Why are you a 10/10 co-founder? (2-3 sentences)</label>
<textarea
className="form-input"
rows="4"
placeholder="Sell yourself! What makes you exceptional?"
value={formData.why_10_10_cofounder}
onChange={(e) => updateField('why_10_10_cofounder', e.target.value)}
maxLength="500"
/>
</div>
<div className="form-group">
<label className="form-label">60-second intro video URL (Loom/YouTube)</label>
<input
type="url"
className="form-input"
placeholder="https://loom.com/share/... or https://youtube.com/watch?v=..."
value={formData.intro_video_url}
onChange={(e) => updateField('intro_video_url', e.target.value)}
/>
<p style={{ fontSize: '0.75rem', color: 'var(--text-tertiary)', marginTop: '8px' }}>
💡 Pro tip: A short video intro increases connection rate by 300%!
</p>
</div>
<div className="form-group">
<label className="form-label">Willing to sign standard agreements? (NDA, Founder Agreement, IP Assignment)</label>
<div style={{ display: 'flex', gap: '12px' }}>
<button
type="button"
className={`btn ${formData.willing_to_sign_agreements === true ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('willing_to_sign_agreements', true)}
>
Yes
</button>
<button
type="button"
className={`btn ${formData.willing_to_sign_agreements === false ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('willing_to_sign_agreements', false)}
>
No
</button>
<button
type="button"
className={`btn ${formData.willing_to_sign_agreements === null ? 'btn-primary' : 'btn-outline'}`}
onClick={() => updateField('willing_to_sign_agreements', null)}
>
Not sure yet
</button>
</div>
</div>
<div style={{ marginTop: '40px', padding: '20px', background: 'linear-gradient(135deg, var(--brand-primary), var(--brand-hover))', borderRadius: '12px', color: '#fff', textAlign: 'center' }}>
<h3 style={{ marginBottom: '8px', fontSize: '1.25rem' }}>🎉 You're All Set!</h3>
<p style={{ fontSize: '0.9375rem', opacity: 0.95 }}>
Click "Complete Profile" below to start finding amazing co-founders!
</p>
</div>
</div>
);
}