Skip to content

Commit

Permalink
[FE/#15] Feat : 깃헙 링크 적용, 스타일 조정
Browse files Browse the repository at this point in the history
- button 이 a 태그로 바뀌어서 스타일 조정
  • Loading branch information
sungik-choi committed Jun 24, 2020
1 parent ddd68ac commit a79caa5
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions FE/src/components/Login/LoginForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const LoginForm = () => {
type="password"
autoComplete="current-password"
/>
<Box className={classes.buttonWrap}>
<Box>
<Box display="flex" justifyContent="center">
<Button disabled>{SIGN_UP}</Button>
</Box>
Expand All @@ -40,7 +40,12 @@ const LoginForm = () => {
text={LOGIN}
size="large"
/>
<CustomButton className={classes.button} text={GITHUB_LOGIN} size="large" />
<CustomButton
className={classes.githubButton}
text={GITHUB_LOGIN}
size="large"
href={process.env.OAUTH_URL}
/>
</Box>
</form>
</Box>
Expand All @@ -55,10 +60,9 @@ const useStyles = makeStyles((theme) => ({
button: {
width: "100%",
},
buttonWrap: {
"& > button": {
marginTop: theme.spacing(1.5),
},
githubButton: {
width: "100%",
marginTop: theme.spacing(1.5),
},
}));

Expand Down

0 comments on commit a79caa5

Please sign in to comment.