Skip to content

Commit

Permalink
Feat : Login으로 가는 라우팅 버튼 ㅈ추가
Browse files Browse the repository at this point in the history
  • Loading branch information
LikeFireAndSky committed Nov 15, 2023
1 parent cb3a53f commit f40a00c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Components/Join/JoinForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ const JoinForm = () => {
<Button type="submit" className="w-full bg-main mt-10 text-subtext">
회원가입
</Button>
<Button
className="bg-pink-200 w-full mt-3"
onClick={() => router.push('/login')}
>
로그인
</Button>
</form>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion Components/Login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const LoginForm = () => {
<Button type="submit" className=" bg-pink-200 w-full mt-10">
로그인
</Button>
<Link href="/join">
<Link href="/join" passHref>
<div className="text-gray-700 text-[10px] mt-4 mb-14">회원가입</div>
</Link>
</form>
Expand Down

0 comments on commit f40a00c

Please sign in to comment.