Updates social auth button styles (#1018)

This commit is contained in:
Mihovil Ilakovac 2023-02-22 21:50:07 +01:00 committed by GitHub
parent 1515d04b5a
commit 19841401ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 21 deletions

View File

@ -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() {

View File

@ -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>
)
}