-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[FEAT] CompareInputPopUp + CompareSearchPopUp 구현 완료
- Loading branch information
Showing
15 changed files
with
407 additions
and
185 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
22 changes: 0 additions & 22 deletions
22
FITple-Frontend/src/components/CompareCard/CompareCard.jsx
This file was deleted.
Oops, something went wrong.
61 changes: 0 additions & 61 deletions
61
FITple-Frontend/src/components/CompareCard/CompareCard.style.js
This file was deleted.
Oops, something went wrong.
69 changes: 69 additions & 0 deletions
69
FITple-Frontend/src/components/CompareInputPopUp/CompareInputPopUp.jsx
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import { AddInputCardBtn, BackArrowBtn, BackgroundContainer, CloseBtn, CompareInput, CompareInputAndText, CompareInputAndTextContainer, CompareInputCard, CompareInputCardConfirmBtn, CompareInputCardDelBtn, CompareInputContainer, CompareInputText, ComparePopUpBackground, ComparePopUpContainer, ComparePopUpInnerContainer, ComparePopUpInnerMainContainer, ComparePopUpMainText, CompareSubText } from "./CompareInputPopUp.style" | ||
|
||
|
||
function CompareInputPopUp() { | ||
|
||
return ( | ||
<> | ||
<BackgroundContainer> | ||
<ComparePopUpContainer> | ||
<ComparePopUpBackground> | ||
<ComparePopUpInnerContainer> | ||
<ComparePopUpInnerMainContainer> | ||
<BackArrowBtn src="../assets/_.svg" /> | ||
<ComparePopUpMainText>사이즈 비교</ComparePopUpMainText> | ||
<CloseBtn src="../assets/X(Compare).svg" /> | ||
</ComparePopUpInnerMainContainer> | ||
<CompareSubText>비교할 옷의 사이즈를 입력해주세요.</CompareSubText> | ||
<CompareInputContainer> | ||
<CompareInputCard> | ||
<CompareInputAndTextContainer> | ||
<CompareInputAndText> | ||
<CompareInputText>사이즈</CompareInputText> | ||
<CompareInput/> | ||
</CompareInputAndText> | ||
<CompareInputAndText> | ||
<CompareInputText>총장</CompareInputText> | ||
<CompareInput/> | ||
</CompareInputAndText> | ||
<CompareInputAndText> | ||
<CompareInputText>어깨단면</CompareInputText> | ||
<CompareInput/> | ||
</CompareInputAndText> | ||
<CompareInputAndText> | ||
<CompareInputText>가슴단면</CompareInputText> | ||
<CompareInput/> | ||
</CompareInputAndText> | ||
</CompareInputAndTextContainer> | ||
<CompareInputAndTextContainer> | ||
<CompareInputAndText> | ||
<CompareInputText>암홀단면</CompareInputText> | ||
<CompareInput/> | ||
</CompareInputAndText> | ||
<CompareInputAndText> | ||
<CompareInputText>소매단면</CompareInputText> | ||
<CompareInput/> | ||
</CompareInputAndText> | ||
<CompareInputAndText> | ||
<CompareInputText>소매길이</CompareInputText> | ||
<CompareInput/> | ||
</CompareInputAndText> | ||
<CompareInputAndText> | ||
<CompareInputText>밑단단면</CompareInputText> | ||
<CompareInput/> | ||
</CompareInputAndText> | ||
</CompareInputAndTextContainer> | ||
<CompareInputCardDelBtn>삭제하기</CompareInputCardDelBtn> | ||
</CompareInputCard> | ||
<AddInputCardBtn src="../assets/Group 330.svg" /> | ||
</CompareInputContainer> | ||
<CompareInputCardConfirmBtn>저장하기</CompareInputCardConfirmBtn> | ||
</ComparePopUpInnerContainer> | ||
</ComparePopUpBackground> | ||
</ComparePopUpContainer> | ||
</BackgroundContainer> | ||
</> | ||
) | ||
} | ||
|
||
export default CompareInputPopUp |
154 changes: 154 additions & 0 deletions
154
FITple-Frontend/src/components/CompareInputPopUp/CompareInputPopUp.style.js
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 |
---|---|---|
@@ -0,0 +1,154 @@ | ||
import styled from "styled-components"; | ||
|
||
export const BackgroundContainer = styled.div` | ||
position: fixed; | ||
top:0; left: 0; bottom: 0; right: 0; | ||
background: rgba(0,0,0,0.5); | ||
overflow-y: auto; /* 추가: 스크롤 가능하도록 설정 */ | ||
`; | ||
|
||
export const ComparePopUpContainer = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
`; | ||
|
||
export const ComparePopUpBackground = styled.div` | ||
margin-top: 92px; | ||
width: 400px; | ||
height: 560px; | ||
background: white; | ||
border-radius: 41px; | ||
border: 1px; | ||
border-color: #838383; | ||
`; | ||
|
||
export const ComparePopUpInnerContainer = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
`; | ||
|
||
export const ComparePopUpInnerMainContainer = styled.div` | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
width: 100%; | ||
justify-content: space-between; | ||
margin-top: 50px; | ||
`; | ||
|
||
export const ComparePopUpMainText = styled.div` | ||
font-family: 'SUIT Variable', sans-serif; | ||
color: #0276FE; | ||
font-size: 24px; | ||
font-weight: 700; | ||
`; | ||
|
||
export const CloseBtn = styled.img` | ||
height: 20px; | ||
width: 20px; | ||
cursor: pointer; | ||
margin-right: 38px; | ||
`; | ||
|
||
export const BackArrowBtn = styled.img` | ||
height: 40px; | ||
width: 20px; | ||
cursor: pointer; | ||
margin-left: 38px; | ||
`; | ||
|
||
export const CompareSubText = styled.div` | ||
font-family: 'SUIT Variable', sans-serif; | ||
color: #000000; | ||
font-size: 16px; | ||
font-weight: 700; | ||
margin-top: 27px; | ||
`; | ||
|
||
export const CompareInputContainer = styled.div` | ||
margin-top: 19px; | ||
width: 338px; | ||
height: 334px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
`; | ||
|
||
export const CompareInputCard = styled.div` | ||
margin-bottom: 12px; | ||
border-radius: 15px; | ||
border: 1px solid #838383; | ||
width: 338px; | ||
height: 200px; | ||
position: relative; | ||
`; | ||
|
||
export const CompareInputAndTextContainer = styled.div` | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
justify-content: space-evenly; | ||
`; | ||
|
||
export const CompareInputAndText = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
margin-top: 22px; | ||
`; | ||
|
||
export const CompareInputText = styled.div` | ||
font-family: 'SUIT Variable', sans-serif; | ||
color: #838383; | ||
font-size: 16px; | ||
font-weight: 500; | ||
`; | ||
|
||
export const CompareInput = styled.input` | ||
margin-top: 8px; | ||
border-radius: 10px; | ||
border: 1px solid #0276FE; | ||
width: 56px; | ||
height: 32px; | ||
text-align: center; | ||
font-family: 'SUIT Variable', sans-serif; | ||
color: #000000; | ||
font-size: 16px; | ||
font-weight: 500; | ||
`; | ||
|
||
export const CompareInputCardDelBtn = styled.div` | ||
font-family: 'SUIT Variable', sans-serif; | ||
color: #000000; | ||
font-size: 12px; | ||
font-weight: 500; | ||
margin-top: 12px; | ||
text-decoration: underline; | ||
cursor: pointer; | ||
position: absolute; | ||
right: 20px; | ||
`; | ||
|
||
export const AddInputCardBtn = styled.img` | ||
height: 36px; | ||
width: 36px; | ||
cursor: pointer; | ||
margin-top: 8px; | ||
`; | ||
|
||
export const CompareInputCardConfirmBtn = styled.button` | ||
background-color: #0075FF; | ||
height: 43px; | ||
width: 220px; | ||
margin-top: 4px; | ||
font-family: 'SUIT Variable', sans-serif; | ||
color: #FFFFFF; | ||
font-size: 16px; | ||
font-weight: 700; | ||
text-align: center; | ||
border-radius: 10px; | ||
border: 0; | ||
cursor: pointer; | ||
`; |
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.