mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-26 20:49:22 +00:00
pull in signup button too
This commit is contained in:
parent
8aed77c49b
commit
e0ad32447a
@ -199,17 +199,30 @@ const LoginDialog: React.FC<LoginDialogProps> = ({ isOpen, onClose, onLogin, onS
|
||||
</TabsContent>
|
||||
</Tabs>
|
||||
|
||||
<div className='text-center text-sm'>
|
||||
<p className='text-gray-600 dark:text-gray-400'>
|
||||
Don't have an account?{' '}
|
||||
<button
|
||||
{onSignup && (
|
||||
<div className='relative mt-6'>
|
||||
<div className='absolute inset-0 flex items-center' aria-hidden='true'>
|
||||
<div className='w-full border-t border-border' />
|
||||
</div>
|
||||
<div className='relative flex justify-center text-sm'>
|
||||
<span className='px-2 bg-background text-muted-foreground'>
|
||||
New to Nostr?
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{onSignup && (
|
||||
<div className='mt-6'>
|
||||
<Button
|
||||
variant='outline'
|
||||
className='w-full'
|
||||
onClick={handleSignupClick}
|
||||
className='text-primary hover:underline font-medium'
|
||||
>
|
||||
Sign up
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
Create an account
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
|
Loading…
x
Reference in New Issue
Block a user