Skip to content

Commit f539e1e

Browse files
feat(extension): tighten hijacking onboarding hero
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 38b6d75 commit f539e1e

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

packages/extension/src/newtab/HijackingLoginStrip.tsx

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -175,24 +175,17 @@ function OnboardingSignupHero({
175175
<div className="via-raw-pepper-90/70 pointer-events-none absolute inset-x-0 bottom-0 h-40 bg-gradient-to-t from-raw-pepper-90 to-transparent" />
176176
<div className="top-hero-aurora opacity-80 pointer-events-none absolute inset-0" />
177177
<div className="via-accent-cabbage-default/80 pointer-events-none absolute bottom-0 left-1/2 h-px w-[86%] -translate-x-1/2 bg-gradient-to-r from-transparent to-transparent" />
178-
<div className="dark relative z-1 mx-auto flex min-h-[22rem] w-full max-w-[48rem] flex-col items-center justify-center gap-8 px-6 py-14 text-center tablet:min-h-[28rem] tablet:px-10 tablet:py-16">
178+
<div className="dark relative z-1 mx-auto flex min-h-[20rem] w-full max-w-[48rem] flex-col items-center justify-center gap-5 px-6 py-10 text-center tablet:min-h-[24rem] tablet:px-10 tablet:py-12">
179179
<div className="flex flex-col items-center">
180-
<BrandLockup />
181-
<h2 className="mt-7 max-w-[42rem] text-balance font-bold text-white typo-title1 tablet:typo-mega2">
180+
<h2 className="max-w-[42rem] text-balance font-bold text-white typo-title1 tablet:typo-mega2">
182181
Where developers make every tab count.
183182
</h2>
184-
<p className="text-white/75 mt-4 max-w-[31rem] text-balance typo-callout tablet:typo-title3">
183+
<p className="text-white/75 mt-3 max-w-[31rem] text-balance typo-callout tablet:typo-title3">
185184
Sign in to turn daily.dev into your personalized feed, reputation,
186185
saves, and community in every new tab.
187186
</p>
188187
</div>
189-
<div className="border-white/10 w-full max-w-[23rem] rounded-24 border bg-white/[0.07] p-4 text-center shadow-2 backdrop-blur-md tablet:p-5">
190-
<p className="font-bold text-white typo-title3">
191-
Set up your developer feed
192-
</p>
193-
<p className="text-white/60 mt-2 typo-footnote">
194-
The same onboarding energy, compressed into one calm hero.
195-
</p>
188+
<div className="w-full max-w-[22rem] rounded-24 border border-border-subtlest-tertiary bg-white/[0.045] p-3 text-center backdrop-blur-md tablet:p-4">
196189
<AuthOptions
197190
ignoreMessages
198191
compact
@@ -202,7 +195,7 @@ function OnboardingSignupHero({
202195
defaultDisplay={AuthDisplay.OnboardingSignup}
203196
forceDefaultDisplay
204197
className={{
205-
container: 'mx-auto mt-5 !max-w-none !overflow-visible',
198+
container: 'mx-auto !max-w-none !overflow-visible',
206199
onboardingSignup: '!gap-3',
207200
}}
208201
onAuthStateUpdate={onAuthStateUpdate}

0 commit comments

Comments
 (0)