Skip to content

Commit 0a9fc27

Browse files
authored
Merge pull request #437 from boostcampwm-2024/feat/connect-auth-api
✨ feat: AuthSignForm에서 메인 페이지로 이동하는 버튼 추가
2 parents a84203c + 3aa8e77 commit 0a9fc27

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

client/src/components/auth/AuthSignInForm.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,21 @@ export const AuthSignInForm = () => {
6565
</Button>
6666
</form>
6767
<AuthSocialLoginButtons />
68-
<div className="mt-4">
68+
<div className="mt-4 flex justify-between">
6969
<Button
7070
variant="link"
7171
className="text-muted-foreground underline underline-offset-4 h-auto p-0"
7272
onClick={() => navigate("/signup", { state: { from: location.pathname } })}
7373
>
7474
계정이 없으신가요?
7575
</Button>
76+
<Button
77+
variant="link"
78+
className="text-muted-foreground underline underline-offset-4 h-auto p-0"
79+
onClick={() => navigate("/")}
80+
>
81+
메인 페이지로 돌아가기
82+
</Button>
7683
</div>
7784
</AuthCard>
7885
</>

0 commit comments

Comments
 (0)