mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
finalized login and signup ui
This commit is contained in:
@@ -13,14 +13,14 @@ export default function InitialLoginStep({
|
||||
|
||||
return <div className='flex flex-col mx-auto w-full justify-center items-center'>
|
||||
<h1 className=' text-white text-center mb-5' >Login to Infisical</h1>
|
||||
<div className='w-1/5 bg-green text-center p-3 rounded-md'>
|
||||
<div className='lg:w-1/5 w-1/3 bg-primary text-center p-3 rounded-md'>
|
||||
<button type='button' className='text-black' onClick={() => {
|
||||
window.open('/api/v1/oauth/redirect/google')
|
||||
}}>
|
||||
{t('login:continue-with-google')}
|
||||
</button>
|
||||
</div>
|
||||
<div className='w-1/5 bg-black text-center p-3 rounded-md mt-4'>
|
||||
<div className='lg:w-1/5 w-1/3 bg-chicago-900 text-center p-3 rounded-md mt-4'>
|
||||
<button type='button' className='text-white' onClick={() => {
|
||||
setIsLoginWithEmail(true);
|
||||
}}>
|
||||
@@ -28,7 +28,9 @@ export default function InitialLoginStep({
|
||||
</button>
|
||||
</div>
|
||||
<Link href="/signup">
|
||||
<h2 className='text-white mt-8 underline'>{t('login:create-account')}</h2>
|
||||
<button type="button" className='text-white mt-8 underline'>
|
||||
{t('login:create-account')}
|
||||
</button>
|
||||
</Link>
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user