-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from KUIT-Space/feat#51-chat_detail
Fix: signup user flow & verification logic
- Loading branch information
Showing
12 changed files
with
412 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
export * from "@/apis/LoginApi"; | ||
export * from "@/apis/voiceroomApi"; | ||
export * from "@/apis/GetUserProfileApi"; | ||
|
||
export * from "@/apis/Chat/ChatroomSearchAllApi"; | ||
export * from "@/apis/Chat/ChatroomCreateApi"; | ||
export * from "@/apis/Chat/ChatType"; | ||
export * from "@/apis/Chat/ChatroomUpdateNameApi"; | ||
export * from "@/apis/Chat/ChatroomCreateApi"; | ||
export * from "@/apis/Chat/ChatroomExitDelete"; | ||
export * from "@/apis/Chat/ChatroomSearchAllApi"; | ||
export * from "@/apis/Chat/ChatroomSearchAllUserApi"; | ||
export * from "@/apis/Chat/ChatroomUpdateNameApi"; | ||
|
||
export * from "@/apis/Chat/Socket"; | ||
|
||
export * from "@/apis/Pay/PayPageAPI"; | ||
|
||
export * from "@/apis/Space/SpaceCreateApi"; | ||
export * from "@/apis/Space/SpaceJoinInfoApi"; | ||
export * from "@/apis/Space/SpaceSearchAllUserApi"; | ||
export * from "@/apis/Space/SpaceSearchUserProfile"; | ||
export * from "@/apis/Space/SpaceSelectApi"; | ||
export * from "@/apis/Space/SpaceUserJoinApi"; | ||
|
||
export * from "@/apis/_createRequestOptions"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
import back from "@/assets/icon_back.svg"; | ||
import { useNavigate } from "react-router-dom"; | ||
|
||
const HeaderContainer = styled.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 100%; | ||
height: 3.25rem; | ||
padding: 0.5rem 0; | ||
position: relative; | ||
max-width: 40rem; | ||
margin: 0 auto; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 100%; | ||
height: 3.25rem; | ||
padding: 0.5rem 0; | ||
position: relative; | ||
max-width: 40rem; | ||
margin: 0 auto; | ||
`; | ||
|
||
const Back = styled.button` | ||
position: absolute; | ||
left: 0.63rem; | ||
width: 2.25rem; | ||
height: 2.25rem; | ||
cursor: pointer; | ||
position: absolute; | ||
left: 0.63rem; | ||
width: 2.25rem; | ||
height: 2.25rem; | ||
cursor: pointer; | ||
`; | ||
|
||
const Title = styled.div` | ||
color: #fff; | ||
font-family: Freesentation; | ||
font-size: 1.25rem; | ||
font-style: normal; | ||
font-weight: 500; | ||
line-height: 120%; | ||
letter-spacing: 0.05rem; | ||
color: #fff; | ||
font-family: Freesentation; | ||
font-size: 1.25rem; | ||
font-style: normal; | ||
font-weight: 500; | ||
line-height: 120%; | ||
letter-spacing: 0.05rem; | ||
`; | ||
|
||
interface HeaderProps { | ||
title: string; | ||
onBackClick: () => void; | ||
title: string; | ||
onBackClick: () => void; | ||
} | ||
|
||
const SignUpHeader: React.FC<HeaderProps> = ({ title, onBackClick }) => { | ||
return ( | ||
<HeaderContainer> | ||
<Back onClick={onBackClick}> | ||
<img src={back} alt="Back" /> | ||
</Back> | ||
<Title>{title}</Title> | ||
</HeaderContainer> | ||
); | ||
return ( | ||
<HeaderContainer> | ||
<Back onClick={onBackClick}> | ||
<img src={back} alt="Back" /> | ||
</Back> | ||
<Title>{title}</Title> | ||
</HeaderContainer> | ||
); | ||
}; | ||
|
||
export default SignUpHeader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.