mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-25 01:52:00 +03:00
Updates social auth button styles (#1018)
This commit is contained in:
parent
1515d04b5a
commit
19841401ac
@ -6,32 +6,32 @@ export const signInUrl = `${config.apiUrl}{= signInPath =}`
|
||||
export const logoUrl = '/images/{= iconName =}'
|
||||
|
||||
const containerStyle = {
|
||||
boxSizing: 'border-box',
|
||||
height: 40,
|
||||
width: 225,
|
||||
|
||||
border: '1px solid darkgray',
|
||||
borderRadius: 5,
|
||||
|
||||
padding: 5,
|
||||
margin: '5px 0px',
|
||||
|
||||
backgroundColor: 'white'
|
||||
border: '2px solid #cbd5e1',
|
||||
margin: 0,
|
||||
cursor: 'pointer',
|
||||
borderRadius: '.375rem',
|
||||
backgroundColor: '#f8fafc',
|
||||
paddingLeft: '1.5rem',
|
||||
paddingRight: '1.5rem',
|
||||
paddingTop: '.75rem',
|
||||
paddingBottom: '.75rem',
|
||||
fontWeight: 600,
|
||||
color: '#1e293b',
|
||||
boxShadow: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)',
|
||||
outline: '2px solid transparent',
|
||||
outlineOffset: '2px',
|
||||
}
|
||||
|
||||
const linkStyle = {
|
||||
height: '100%',
|
||||
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
|
||||
textDecoration: 'none',
|
||||
color: 'black'
|
||||
}
|
||||
|
||||
const logoStyle = {
|
||||
maxHeight: 30,
|
||||
marginRight: 10
|
||||
maxHeight: '24px',
|
||||
marginRight: '0.75rem'
|
||||
}
|
||||
|
||||
export function SignInButton() {
|
||||
|
@ -7,18 +7,16 @@ import LoginForm from '@wasp/auth/forms/Login'
|
||||
|
||||
const Login = () => {
|
||||
return (
|
||||
<>
|
||||
<div className="flex flex-col gap-5">
|
||||
<LoginForm/>
|
||||
<br/>
|
||||
<span>
|
||||
I don't have an account yet (<Link to="/signup">go to signup</Link>).
|
||||
</span>
|
||||
|
||||
{/* <div>
|
||||
{/* <div className="flex flex-col gap-2 max-w-xs">
|
||||
<GoogleSignInButton/>
|
||||
<GitHubSignInButton/>
|
||||
</div> */}
|
||||
</>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user