Update & format

This commit is contained in:
2025-09-19 18:12:55 -05:00
parent 45d2461781
commit f93b39d7a9
11 changed files with 47 additions and 51 deletions

View File

@@ -7,7 +7,7 @@ type Props = {
buttonProps?: Omit<ComponentProps<'button'>, 'onClick'> &
VariantProps<typeof buttonVariants> & {
asChild?: boolean;
},
};
type?: 'signIn' | 'signUp';
};
@@ -26,15 +26,13 @@ export const MicrosoftSignInButton = ({
<div className='flex flex-row my-auto space-x-2'>
<div className='flex flex-row my-auto'>
<svg className='scale-150' viewBox='0 0 23 23'>
<path fill='#f35325' d='M1 1h10v10H1z'/>
<path fill='#81bc06' d='M12 1h10v10H12z'/>
<path fill='#05a6f0' d='M1 12h10v10H1z'/>
<path fill='#ffba08' d='M12 12h10v10H12z'/>
<path fill='#f35325' d='M1 1h10v10H1z' />
<path fill='#81bc06' d='M12 1h10v10H12z' />
<path fill='#05a6f0' d='M1 12h10v10H1z' />
<path fill='#ffba08' d='M12 12h10v10H12z' />
</svg>
</div>
<p>
{type === 'signIn' ? 'Sign In' : 'Sign Up'} with Microsoft
</p>
<p>{type === 'signIn' ? 'Sign In' : 'Sign Up'} with Microsoft</p>
</div>
</Button>
);