Skip to content

Commit 0bb2ec1

Browse files
authored
[FRONTEND] 회원가입 페이지 레이아웃 구현 (#21)
## 📝작업 내용 회원가입 페이지의 레이아웃을 구현함
1 parent 39643ee commit 0bb2ec1

File tree

12 files changed

+133
-1
lines changed

12 files changed

+133
-1
lines changed

frontend/src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import ExpertConsultation from "./pages/expertConsultation";
66
import Guide from "./pages/guide";
77
import Community from "./pages/community";
88
import MyPage from "./pages/myPage";
9+
import SignIn from "./pages/signIn";
910

1011
const Router = () => {
1112
return (
@@ -17,6 +18,7 @@ const Router = () => {
1718
<Route path={"/guide"} element={<Guide />} />
1819
<Route path={"/community"} element={<Community />} />
1920
<Route path={"/mypage"} element={<MyPage />} />
21+
<Route path={"/sign-up"} element={<SignIn />} />
2022
</Routes>
2123
</BrowserRouter>
2224
);

frontend/src/assets/image/kakao.svg

Lines changed: 14 additions & 0 deletions
Loading
195 KB
Loading
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.container{
2+
width: 50%;
3+
height: 100vh;
4+
display: flex;
5+
flex-direction: column;
6+
align-items: center;
7+
justify-content: space-between;
8+
padding-top: 120px;
9+
padding-bottom: 40px;
10+
}
11+
12+
.content{
13+
display: flex;
14+
flex-direction: column;
15+
align-items: center;
16+
gap: 100px;
17+
}
18+
19+
.logo{
20+
font-size: 40px;
21+
font-weight: 1000;
22+
color: #ff5525;
23+
text-align: center;
24+
}
25+
26+
.copyright{
27+
color: #828282;
28+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import style from './authSection.module.css'
2+
import SignInButton from '../signInButton/signInButton'
3+
4+
export default function AuthSection(){
5+
return(
6+
<div className={style.container}>
7+
<div className={style.content}>
8+
<div className={style.logo}>COM<br/>TOGETHER</div>
9+
<SignInButton/>
10+
</div>
11+
<div className={style.copyright}>&copy; 2025 COMTOGETHER. All Rights Reserved.</div>
12+
</div>
13+
)
14+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.container{
2+
width: 50%;
3+
height: 100vh;
4+
background-image: url('@/assets/image/signIn_background.png');
5+
display: flex;
6+
justify-content: center;
7+
align-items: flex-end;
8+
}
9+
10+
.container img{
11+
width: 630px;
12+
height: 630px;
13+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import style from './brandSection.module.css'
2+
import logo from '@/assets/image/logo.svg'
3+
4+
export default function BrandSection(){
5+
return(
6+
<div className={style.container}>
7+
<img src={logo} alt="logo"/>
8+
</div>
9+
)
10+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.signInBtn{
2+
min-width: 400px;
3+
height: 50px;
4+
border: none;
5+
background-color: #f9e000;
6+
border-radius: 5px;
7+
display: flex;
8+
justify-content: center;
9+
align-items: center;
10+
gap: 8px;
11+
font-weight: bold;
12+
cursor: pointer;
13+
}
14+
15+
.signInBtn img{
16+
width: 35px;
17+
height: 35px;
18+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import style from './signInButton.module.css'
2+
import kakao from '@/assets/image/kakao.svg'
3+
4+
export default function SignInButton(){
5+
return(
6+
<button className={style.signInBtn}>
7+
<img src={kakao} alt="kakao"/>
8+
<span>카카오로 시작하기</span>
9+
</button>
10+
)
11+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import style from './signIntLayout.module.css'
2+
import BrandSection from '../common/signIn/brandSection/brandSection'
3+
import AuthSection from '../common/signIn/authSection/authSection'
4+
5+
export default function SignInLayout(){
6+
return(
7+
<div className={style.container}>
8+
<BrandSection/>
9+
<AuthSection/>
10+
</div>
11+
)
12+
}

0 commit comments

Comments
 (0)