Skip to content

Commit 9c297bc

Browse files
committed
Update compatibility onboarding copy: simplify text, remove redundant paragraph, and adjust modal height for better layout consistency.
1 parent 0c5af23 commit 9c297bc

1 file changed

Lines changed: 18 additions & 10 deletions

File tree

web/components/answers/answer-compatibility-question-button.tsx

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,29 +124,29 @@ function CompatibilityOnboardingScreen({onNext, onSkip}: {onNext: () => void; on
124124
return (
125125
<Col className={clsx(SCROLLABLE_MODAL_CLASS, 'max-w-2xl mx-auto text-center px-6')}>
126126
<h1 className="text-4xl font-bold text-ink-900 mb-6">
127-
{t('compatibility.onboarding.title', "See who you'll actually align with")}
127+
{t('compatibility.onboarding.title', "See who you'll align with")}
128128
</h1>
129129

130130
<div className="text-lg text-ink-700 leading-relaxed mb-8 space-y-4">
131131
<p>
132132
{t(
133133
'compatibility.onboarding.body1',
134-
'Answer a few short questions to calculate compatibility based on values and preferences — not photos or swipes.',
135-
)}
136-
</p>
137-
<p>
138-
{t(
139-
'compatibility.onboarding.body2',
140-
'Your answers directly affect who matches with you and how strongly.',
134+
'Answer a few short questions to calculate compatibility based on values and preferences.',
141135
)}
142136
</p>
137+
{/*<p>*/}
138+
{/* {t(*/}
139+
{/* 'compatibility.onboarding.body2',*/}
140+
{/* 'Your answers directly affect who matches with you and how strongly.',*/}
141+
{/* )}*/}
142+
{/*</p>*/}
143143
</div>
144144

145145
<div className="bg-primary-50 border border-primary-200 rounded-lg p-4 mb-8">
146146
<p className="text-primary-800 font-medium">
147147
{t(
148148
'compatibility.onboarding.impact',
149-
'Most people who answer at least 5 questions see far more relevant matches.',
149+
'Most people who answer at least 5 questions see far more relevant people.',
150150
)}
151151
</p>
152152
</div>
@@ -226,7 +226,15 @@ function AnswerCompatibilityQuestionModal(props: {
226226
onClose?.()
227227
}}
228228
>
229-
<Col className={MODAL_CLASS}>
229+
<Col
230+
className={clsx(
231+
MODAL_CLASS,
232+
// The question screens want the full fixed height, but the onboarding screen is short and
233+
// was leaving a large empty block under the "Do this later" link. Let it size to content,
234+
// still capped at the viewport so it scrolls if the copy grows.
235+
showOnboarding && '!h-auto max-h-[calc(100dvh-var(--hloss)-120px)] pb-6',
236+
)}
237+
>
230238
{showOnboarding ? (
231239
<CompatibilityOnboardingScreen
232240
onNext={handleStartQuestions}

0 commit comments

Comments
 (0)