Skip to content

Commit

Permalink
feat: login 페이지 레이아웃 제작 #73
Browse files Browse the repository at this point in the history
  • Loading branch information
seoye0ng committed Jan 13, 2024
1 parent 7ba1d13 commit 7c8d380
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions src/app/login/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
'use client';

import classNames from 'classnames/bind';
import Link from 'next/link';

import Button from '@components/shared/button/Button';
import Header from '@components/shared/header/Header';
import Spacing from '@components/shared/spacing/Spacing';
import TextField from '@components/shared/text-field/TextField';
import Title from '@components/shared/title/Title';

import styles from './page.module.scss';

const cx = classNames.bind(styles);

function LoginPage() {
return (
<main>
<Header displayLogo={false} />
<Spacing size={30} />
<form>
<Title title="로그인" size={20} />
<TextField label="아이디" required placeholder="아이디" />
<TextField label="비밀번호" required placeholder="비밀번호" />
<Spacing size={30} />
<Button type="submit" size="medium" full>
로그인
</Button>
<Spacing size={20} />
</form>
<ul className={cx('linkContainer')}>
<li>
<Link href="/">
<span>회원가입</span>
</Link>
</li>
<li>
<Link href="/">
<span>아이디 찾기</span>
</Link>
</li>
<li>
<Link href="/">
<span>비밀번호 찾기</span>
</Link>
</li>
</ul>
</main>
);
}

export default LoginPage;

0 comments on commit 7c8d380

Please sign in to comment.