From adf157394282e0489d4de1fc5a734d103657c7b7 Mon Sep 17 00:00:00 2001 From: TopiaYu Date: Sun, 11 May 2025 16:46:45 +0900 Subject: [PATCH 1/9] =?UTF-8?q?allitem=EC=97=90=EC=84=9C=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=EC=8B=9C=20=ED=98=B8=EB=B2=84,=20productId=EB=A1=9C?= =?UTF-8?q?=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AllItems.jsx | 6 ++++-- src/components/AllitemsStyle.js | 5 +++++ src/components/ItemListStyle.js | 5 +++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/components/AllItems.jsx b/src/components/AllItems.jsx index 91a3d7d3..59f0104a 100644 --- a/src/components/AllItems.jsx +++ b/src/components/AllItems.jsx @@ -3,6 +3,7 @@ import { header, title, itemGrid, + itemLinkStyle, pagenation } from "./AllitemsStyle"; import ItemList from "./ItemList"; @@ -21,7 +22,6 @@ const AllItems = ({ items, onChangeOrder }) => { μƒν’ˆ λ“±λ‘ν•˜κΈ° - {/* */}
- + setItemPrice(e.target.value)}>
- + img { + width: 486px; + aspect-ratio: 1/1; + background: pink; + border-radius: 16px; + } +` + +const itemDetail = css` + display: flex; + flex-direction: column; + flex: 1; + gap: 24px; + // border-bottom: 1px solid var(--gray-200); +` + +const itemHeader = css` + border-bottom: 1px solid var(--gray-200); + padding-bottom: 16px; +` + +const titleHeader = css` + color: var(--grey-800); + font-size: 24px; + font-weight: 600; + display: flex; + justify-content: space-between; +` + +const editIconStyle = css` + width: 24px; + height: 24px; +` + +const itemDescription = css` + display: flex; + flex-direction: column; + gap: 16px; +` + +const itemTag = css` + margin-bottom: 62px; + + > div { + display: inline-flex; + background: yellow; + padding: 6px; + } + + > span { + background: pink; + padding: 6px; + } +` + +const itemUserInfo= css` + display: flex; + align-items: center; + margin-top: 24px; +` + +const userImg = css` + width: 40px; + height: 40px; + margin-right: 16px; + + > img { + width: 40px; + height: 40px; + } +` + +const userText = css` + flex: 1; +` + +const likeSection = css ` + width: + + + > button { + + } +` + +const commentSection = css ` + margin: 16px; + +` + +const makeComment = css` + display: flex; + flex-direction: column; + + > textarea { + height: 104px; + } + + > button { + width: 74px; + height: 42px; + border-radius: 8px; + border: none; + } +` + +const commentList = css` + list-style: none; + padding: 0; + margin: 0; + gap: 24px; +` + +const comment =css` + display: flex; + flex-direction: column; + margin-top: 24px; + padding-bottom: 12px; + border-bottom: 1px solid var(--gray-200); +` + +const commentHeader = css` + display: flex; + justify-content: space-between; +` + const ItemDetail = () => { return( -
- μ•„μ΄ν…œ λ””ν…ŒμΌ +
+
+
+ +
+
+
+
+

타이틀

+ +
+

price

+
+
+

μƒν’ˆ μ†Œκ°œ

+

μƒν’ˆ μ†Œκ°œμƒν’ˆ μ†Œκ°œμƒν’ˆ μ†Œκ°œμƒν’ˆ μ†Œκ°œμƒν’ˆ μ†Œκ°œμƒν’ˆ μ†Œκ°œ

+
+
+

μƒν’ˆ νƒœκ·Έ

+
+ #νƒœκ·Έ +
+
+
+
+ +
+
+

이름

+

λ‚ μ§œ

+
+
+ + 숫자 +
+
+
+ +
+ +
+
+ +