style: Change layout style

This commit is contained in:
jhynsoo 2023-10-25 20:03:00 +09:00
parent a8b0fd0f94
commit 360666045d
2 changed files with 2 additions and 3 deletions

View File

@ -25,14 +25,14 @@ const PostDetail = () => {
<S.WrittenTime>{data.written_at}</S.WrittenTime> <S.WrittenTime>{data.written_at}</S.WrittenTime>
<PanelLayout> <PanelLayout>
<LeftPanel> <LeftPanel>
<SubTitle>최근 거래 가격</SubTitle>
<ProductPriceGraph id={data.product.id} />
<S.Text>{data.text}</S.Text> <S.Text>{data.text}</S.Text>
<S.Price>가격 {data.price.toLocaleString()}</S.Price> <S.Price>가격 {data.price.toLocaleString()}</S.Price>
</LeftPanel> </LeftPanel>
<RightPanel> <RightPanel>
<SubTitle>제품 사진</SubTitle> <SubTitle>제품 사진</SubTitle>
<ImageViewer images={data?.images?.map((image) => image.image)} /> <ImageViewer images={data?.images?.map((image) => image.image)} />
<SubTitle>최근 거래 가격</SubTitle>
<ProductPriceGraph id={data.product.id} />
</RightPanel> </RightPanel>
</PanelLayout> </PanelLayout>
</S.PostDetail> </S.PostDetail>

View File

@ -7,7 +7,6 @@ function PriceStep({ gotoNextStep, gotoPrevStep, price, setPrice }) {
return ( return (
<S.Step> <S.Step>
<S.Title>얼마에 팔고 싶나요?</S.Title> <S.Title>얼마에 팔고 싶나요?</S.Title>
<S.HelpText>가격</S.HelpText>
<CurrencyInput <CurrencyInput
value={price} value={price}
setValue={setPrice} setValue={setPrice}