feat: 로그인/회원가입/비밀번호 찾기 버튼 연결

This commit is contained in:
정기영 2024-07-22 13:34:37 +09:00
parent 50946e0331
commit 2c7d08e6f5
3 changed files with 4 additions and 6 deletions

View File

@ -32,7 +32,7 @@ export default function Header() {
<Link to={'/'}>마이페이지</Link>
</li>
<li>
<Link to={'/'}>로그인</Link>
<Link to={'/login'}>로그인</Link>
</li>
</ul>
</nav>

View File

@ -9,12 +9,10 @@ export default function LoginPage() {
// linkProps : ( ) props object
const linkProps = {
message: '아직 회원이 아니신가요?',
path: '/',
path: '../register',
title: '회원가입',
};
const findPasswordPath = '/';
const handleSubmit = () => {
// TODO: POST
console.log('로그인', idRef.current.value, passwordRef.current.value);
@ -40,7 +38,7 @@ export default function LoginPage() {
ref={passwordRef}
>
<Link
to={findPasswordPath}
to={'../password-reset'}
className={`${styles.textBodyStrong} ${styles.secondaryColor}`}
>
비밀번호를 잊으셨나요?

View File

@ -22,7 +22,7 @@ export default function UserRegisterPage() {
const linkProps = {
message: '이미 회원이신가요?',
path: '/',
path: '../login',
title: '로그인',
};