Skip to content

Commit

Permalink
[#1584] Replace all auth buttons with type ghost
Browse files Browse the repository at this point in the history
  • Loading branch information
ifirmawan committed Sep 4, 2023
1 parent f867355 commit a68b91b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 1 addition & 2 deletions frontend/src/modules/login/forgot-password.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,10 @@ function ForgotPassword({ setSignIn, setForgotPassword, children }) {
</Field>
</Form.Item>
<Button
type="primary"
shape="round"
className={styles.loginButton}
onClick={() => handleSubmit()}
style={{ marginTop: 20 }}
ghost
>
SEND ME A LINK
</Button>{" "}
Expand Down
14 changes: 9 additions & 5 deletions frontend/src/modules/login/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,15 @@ function Login({ visible, close }) {
<Button
icon={<LinkedinIcon />}
onClick={handleLinkedinLogin}
ghost
>
CONTINUE WITH LINKEDIN
</Button>
<Button icon={<GoogleIcon />} onClick={handleGoogleLogin}>
<Button
icon={<GoogleIcon />}
onClick={handleGoogleLogin}
ghost
>
CONTINUE WITH GOOGLE
</Button>
<div className="separator">
Expand All @@ -203,6 +208,7 @@ function Login({ visible, close }) {
<Button
icon={<EmailIcon />}
onClick={() => setSignIn(!signin)}
ghost
>
CONTINUE WITH EMAIL
</Button>
Expand Down Expand Up @@ -270,11 +276,10 @@ function Login({ visible, close }) {
</Form.Item>
<Button
style={{ marginTop: 50 }}
type="primary"
shape="round"
className={styles.loginButton}
loading={loading}
onClick={() => handleSubmit()}
ghost
>
LOGIN WITH EMAIL
</Button>{' '}
Expand All @@ -295,10 +300,9 @@ function Login({ visible, close }) {
<div className={styles.joinWrapper}>
<Title level={2}>Don’t have an account yet?</Title>
<Button
type="primary"
shape="round"
className={styles.loginButton}
onClick={() => setSignUp(true)}
ghost
>
JOIN WITH EMAIL
</Button>
Expand Down

0 comments on commit a68b91b

Please sign in to comment.