Skip to content

Commit

Permalink
feat: google login icon
Browse files Browse the repository at this point in the history
  • Loading branch information
raipen committed Mar 29, 2024
1 parent 2ef9a20 commit 2817c4c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions src/front/assets/googlelogin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/front/pages/Login.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Link } from 'react-router-dom';
import kakaologin from '@assets/kakaologin.png';
import googlelogin from '@assets/googlelogin.svg';
import { LoginContainer} from '@components';

function Login() {
Expand All @@ -15,7 +16,7 @@ function Login() {
<Link
style={{display: "block", margin: "0 auto"}}
to={`https://accounts.google.com/o/oauth2/v2/auth?client_id=${__GOOGLE_CLIENT_ID__}&redirect_uri=${__REDIRECT_URI__}/api/v1/oauth/google&response_type=code&scope=https://www.googleapis.com/auth/userinfo.profile`}>
<img src="https://developers.google.com/identity/images/btn_google_signin_dark_normal_web.png" alt="구글 로그인" width="200"/>
<img src={googlelogin} alt="구글 로그인" width="200"/>
</Link>
</LoginContainer>
);
Expand Down

0 comments on commit 2817c4c

Please sign in to comment.