@@ -133,7 +133,7 @@ const KeylessPromptInternal = (_props: KeylessPromptProps) => {
133133 flexDirection : 'column' ,
134134 alignItems : 'flex-center' ,
135135 justifyContent : 'flex-center' ,
136- height : claimed || success ? 'fit-content' : isSignedIn ? '11rem ' : '12rem' ,
136+ height : claimed || success ? 'fit-content' : isSignedIn ? '8.5rem ' : '12rem' ,
137137 overflow : 'hidden' ,
138138 width : 'fit-content' ,
139139 minWidth : '16.125rem' ,
@@ -321,13 +321,12 @@ const KeylessPromptInternal = (_props: KeylessPromptProps) => {
321321 aria-labelledby = { buttonIdentifier }
322322 hidden = { ! isForcedExpanded }
323323 >
324- < p
324+ < div
325325 css = { css `
326- ${ basePromptElementStyles } ;
326+ display : flex;
327+ flex-direction : column;
328+ gap : 0.5rem ;
327329 color : # b4b4b4 ;
328- font- size: 0.8125rem;
329- font- weight: 400;
330- line-height: 1rem;
331330 max-width : 14.625rem ;
332331 animation : ${ isForcedExpanded && 'show-description 500ms ease-in forwards' } ;
333332 @keyframes show-description {
@@ -343,16 +342,26 @@ const KeylessPromptInternal = (_props: KeylessPromptProps) => {
343342 ` }
344343 >
345344 { success ? (
346- < >
345+ < p
346+ css = { css `
347+ ${ basePromptElementStyles } ;
348+ color : # b4b4b4 ;
349+ font- size: 0.8125rem;
350+ font- weight: 400;
351+ line-height: 1rem;
352+ ` }
353+ >
347354 Your application{ ' ' }
348355 < span
349356 css = { css `
357+ ${ basePromptElementStyles } ;
350358 dis play: inline-block;
351359 white-space: nowrap;
352360 overflow: hidden;
353361 text- overflow: ellipsis ;
354362 max- width: 8.125rem;
355363 vertical- align: botto m;
364+ font- size: 0.8125rem;
356365 font- weight: 500;
357366 color : # d5d5d5 ;
358367 ` }
@@ -375,20 +384,65 @@ const KeylessPromptInternal = (_props: KeylessPromptProps) => {
375384 >
376385 Clerk Dashboard
377386 </ Link >
378- </ >
387+ </ p >
379388 ) : claimed ? (
380- < >
389+ < p
390+ css = { css `
391+ ${ basePromptElementStyles } ;
392+ color : # b4b4b4 ;
393+ font- size: 0.8125rem;
394+ font- weight: 400;
395+ line-height: 1rem;
396+ ` }
397+ >
381398 You claimed this application but haven't set keys in your environment. Get them from the Clerk
382399 Dashboard.
383- </ >
400+ </ p >
401+ ) : isSignedIn ? (
402+ < p
403+ css = { css `
404+ ${ basePromptElementStyles } ;
405+ color : # b4b4b4 ;
406+ font- size: 0.8125rem;
407+ font- weight: 400;
408+ line-height: 1rem;
409+ ` }
410+ >
411+ < span >
412+ You've created your first user! Link this application to your Clerk account to explore the
413+ Dashboard.
414+ </ span >
415+ </ p >
384416 ) : (
385- < span >
386- { isSignedIn
387- ? "You've created your first user! Link this application to your Clerk account to explore the Dashboard."
388- : 'This app uses Clerk for authentication. We generated temporary API keys for you. Link this application to your Clerk account to configure it.' }
389- </ span >
417+ < >
418+ < p
419+ css = { css `
420+ ${ basePromptElementStyles } ;
421+ color : # b4b4b4 ;
422+ font- size: 0.8125rem;
423+ font- weight: 400;
424+ line-height: 1rem;
425+ text- wrap: pretty;
426+ ` }
427+ >
428+ Temporary API keys are enabled so you can get started immediately.
429+ </ p >
430+ < p
431+ css = { css `
432+ ${ basePromptElementStyles } ;
433+ color : # b4b4b4 ;
434+ font- size: 0.8125rem;
435+ font- weight: 400;
436+ line-height: 1rem;
437+ text- wrap: pretty;
438+ ` }
439+ >
440+ Claim this application to access the Clerk Dashboard where you can manage auth settings and explore
441+ more Clerk features.
442+ </ p >
443+ </ >
390444 ) }
391- </ p >
445+ </ div >
392446 </ div >
393447
394448 { isForcedExpanded &&
@@ -457,53 +511,6 @@ const KeylessPromptInternal = (_props: KeylessPromptProps) => {
457511 >
458512 { claimed ? 'Get API keys' : 'Claim application' }
459513 </ a >
460-
461- { ! claimed && (
462- < >
463- < span
464- css = { css `
465- height : 1px ;
466- background-color : # 151515 ;
467- width : 100% ;
468- box-shadow : 0px 1px 0px 0px # 424242 ;
469- ` }
470- />
471-
472- < a
473- href = { getKeysUrlFromLastActive }
474- target = '_blank'
475- rel = 'noopener noreferrer'
476- css = { css `
477- ${ basePromptElementStyles } ;
478- color : # ffffff9e ;
479- font- size: 0.75rem;
480- transition: color 120ms ease- out;
481-
482- : hover {
483- color : # ffffffcf ;
484- text-decoration : none;
485- }
486-
487- animation : ${ isForcedExpanded && isSignedIn
488- ? 'show-secondary-CTA 800ms ease forwards'
489- : 'show-secondary-CTA 650ms ease-in forwards' } ;
490-
491- @keyframes show-secondary-CTA {
492- 0% ,
493- 9% {
494- opacity : 0 ;
495- }
496- 19% ,
497- 100% {
498- opacity : 1 ;
499- }
500- }
501- ` }
502- >
503- Already have a Clerk app? Get keys
504- </ a >
505- </ >
506- ) }
507514 </ Flex >
508515 ) ) }
509516 </ Flex >
0 commit comments