chore: update profile claim dialog and modal (#983)

**Description:**

**Settings Page:**

<img width="668" alt="Screenshot 2024-03-01 at 19 12 40"
src="https://github.com/documenso/documenso/assets/23498248/08e48432-39a6-4ef0-bc53-931fc3c81545">

**Claim Modal:** 

<img width="588" alt="Screenshot 2024-03-01 at 19 14 17"
src="https://github.com/documenso/documenso/assets/23498248/69bc2d02-97c6-4a29-88a4-55ed8898ccf5">
This commit is contained in:
Lucas Smith
2024-03-02 12:45:22 +11:00
committed by GitHub
3 changed files with 7 additions and 7 deletions

View File

@ -56,7 +56,7 @@ export default function MarketingLayout({ children }: MarketingLayoutProps) {
/> />
</div> </div>
<div className="text-background text-center text-sm"> <div className="text-background text-center text-sm text-white">
Claim your documenso public profile username now!{' '} Claim your documenso public profile username now!{' '}
<span className="hidden font-semibold md:inline">documenso.com/u/yourname</span> <span className="hidden font-semibold md:inline">documenso.com/u/yourname</span>
<div className="mt-1.5 block md:ml-4 md:mt-0 md:inline-block"> <div className="mt-1.5 block md:ml-4 md:mt-0 md:inline-block">

View File

@ -27,15 +27,16 @@ export const ClaimProfileAlertDialog = ({ className, user }: ClaimProfileAlertDi
variant="neutral" variant="neutral"
> >
<div> <div>
<AlertTitle>Claim your profile</AlertTitle> <AlertTitle>{user.url ? 'Update your profile' : 'Claim your profile'}</AlertTitle>
<AlertDescription className="mr-2"> <AlertDescription className="mr-2">
Profiles are coming soon! Claim your profile username now to reserve your corner of the {user.url
signing revolution. ? 'Profiles are coming soon! Update your profile username to reserve your corner of the signing revolution.'
: 'Profiles are coming soon! Claim your profile username now to reserve your corner of the signing revolution.'}
</AlertDescription> </AlertDescription>
</div> </div>
<div className="flex-shrink-0"> <div className="flex-shrink-0">
<Button onClick={() => setOpen(true)}>Claim Now</Button> <Button onClick={() => setOpen(true)}>{user.url ? 'Update Now' : 'Claim Now'}</Button>
</div> </div>
</Alert> </Alert>

View File

@ -419,8 +419,7 @@ export const SignUpFormV2 = ({
size="lg" size="lg"
variant="secondary" variant="secondary"
className="flex-1" className="flex-1"
disabled={step === 'BASIC_DETAILS'} disabled={step === 'BASIC_DETAILS' || form.formState.isSubmitting}
loading={form.formState.isSubmitting}
onClick={() => setStep('BASIC_DETAILS')} onClick={() => setStep('BASIC_DETAILS')}
> >
Back Back