-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PEAUTY-164] 견적서 작성 UI 생성 #83
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,59 @@ | ||
import styled from "styled-components"; | ||
import { colors } from "../../../style/color"; | ||
|
||
export const Container = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
`; | ||
|
||
export const ContentWrapper = styled.div` | ||
padding: 10px 25px; | ||
`; | ||
|
||
export const SectionWrapper = styled.div` | ||
display: flex; | ||
padding: 20px 25px; | ||
flex-direction: column; | ||
gap: 17px; | ||
`; | ||
|
||
export const InputWrapper = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
`; | ||
|
||
export const PhotoAttachment = styled.div` | ||
gap: 10px; | ||
display: flex; | ||
flex-direction: column; | ||
`; | ||
|
||
export const PhotoAttachmentContainer = styled.div` | ||
width: 80px; | ||
height: 80px; | ||
border-radius: 10px; | ||
background-color: ${colors.gray400}; | ||
font-size: 40px; | ||
color: ${colors.gray100}; | ||
text-align: center; | ||
align-content: center; | ||
cursor: pointer; | ||
`; | ||
|
||
export const DividerStyle = styled.div` | ||
margin: 0; | ||
padding: 0; | ||
`; | ||
|
||
export const RequestDetail = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
white-space: pre-line; | ||
gap: 10px; | ||
`; | ||
|
||
export const RequestSection = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
`; |
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,100 @@ | ||
import React from "react"; | ||
import { AppBar, Divider, GNB, Text, CustomInput } from "../../../components"; | ||
import Card from "../../../components/cards/Card"; | ||
import { colors } from "../../../style/color"; | ||
import { | ||
Container, | ||
ContentWrapper, | ||
SectionWrapper, | ||
InputWrapper, | ||
PhotoAttachment, | ||
PhotoAttachmentContainer, | ||
RequestDetail, | ||
RequestSection, | ||
} from "./index.styles"; | ||
|
||
export default function Quote() { | ||
return ( | ||
<Container> | ||
<AppBar prefix="backButton" title="견적서 작성" /> | ||
<ContentWrapper> | ||
<Card | ||
imageSrc={ | ||
"https://item.kakaocdn.net/do/5c5d49e3cf96b8556201270d137a761f8f324a0b9c48f77dbce3a43bd11ce785" | ||
} | ||
name={"꼬미"} | ||
age={3} | ||
gender={"암컷"} | ||
weight={"3.4"} | ||
breed={"말티즈"} | ||
tags={["피부병", "슬개골"]} | ||
/> | ||
</ContentWrapper> | ||
<Divider thickness={3} color={`${colors.gray400}`} /> | ||
<SectionWrapper> | ||
<RequestDetail> | ||
<Text typo="subtitle200">요청상세</Text> | ||
<RequestSection> | ||
<Text typo="body400" color="gray100"> | ||
원하는 미용 | ||
</Text> | ||
<Text typo="body100">곰돌이컷 + 가위컷</Text> | ||
</RequestSection> | ||
<RequestSection> | ||
<Text typo="body400" color="gray100"> | ||
상세 설명 | ||
</Text> | ||
<Text typo="body100"> | ||
저희 강아지는 발에 예민한 편이예요! {"\n"}그러니 시술할때 발을 | ||
많이 만지지 말아주세요 | ||
</Text> | ||
</RequestSection> | ||
<RequestSection> | ||
<Text typo="body400" color="gray100"> | ||
첨부한 사진 | ||
</Text> | ||
<Text typo="body100">곰돌이컷 + 가위컷</Text> | ||
</RequestSection> | ||
<RequestSection> | ||
<Text typo="body400" color="gray100"> | ||
희망 비용 | ||
</Text> | ||
<Text typo="body100">35,000</Text> | ||
</RequestSection> | ||
<RequestSection> | ||
<Text typo="body400" color="gray100"> | ||
희망 시간 및 날짜 | ||
</Text> | ||
<Text typo="body100">6월 12일 오전 12시</Text> | ||
</RequestSection> | ||
</RequestDetail> | ||
</SectionWrapper> | ||
<Divider thickness={3} color={`${colors.gray400}`} /> | ||
<SectionWrapper> | ||
<Text typo="subtitle200">견적 설명</Text> | ||
<InputWrapper> | ||
<CustomInput label="비용" placeholder="결제비용을 입력해주세요" /> | ||
<CustomInput | ||
label="소요시간" | ||
placeholder="예상 소요시간을 입력해주세요" | ||
/> | ||
<CustomInput | ||
label="상세설명" | ||
placeholder="견적서에 대한 추가 설명을 작성해주세요" | ||
inputType="textarea" | ||
/> | ||
<PhotoAttachment> | ||
<div> | ||
<Text typo="body100">사진첨부</Text> | ||
<Text typo="body400" color="gray100"> | ||
상세 설명에 대한 이해를 돕기 위해 사진을 첨부하면 좋아요 | ||
</Text> | ||
</div> | ||
<PhotoAttachmentContainer>+</PhotoAttachmentContainer> | ||
</PhotoAttachment> | ||
</InputWrapper> | ||
</SectionWrapper> | ||
<GNB buttonText="견적서 보내기" /> | ||
</Container> | ||
); | ||
} |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
나중에 뒤로가기 onclick으로 추가하면 될 것 같습니다!