Skip to content

Commit fdd5f4e

Browse files
authored
๐Ÿ’„ ๋ชจ์ง‘ ์ธ์›, ์›”๊ธ‰ ์ •๋ณด ๊ณต๊ณ  ํŽ˜์ด์ง€ ์ƒ๋‹จ์— ํ‘œ๊ธฐ (#579)
### ๐Ÿ“ ์ž‘์—… ๋‚ด์šฉ - ๋ชจ์ง‘ ์ธ์›, ์›”๊ธ‰ ์ •๋ณด๋ฅผ ๊ณต๊ณ  ์ƒ์„ธ ํŽ˜์ด์ง€ ํ•˜๋‹จ์—์„œ ์ƒ๋‹จ์œผ๋กœ ์˜ฎ๊ฒผ์Šต๋‹ˆ๋‹ค - ๊ณต๊ณ  ์ƒ์„ธ ๊ธ€์€ ๊ทธ๋Œ€๋กœ ํ•˜๋‹จ์— ์œ„์น˜ํ•ฉ๋‹ˆ๋‹ค ### ๐Ÿ“ธ ์Šคํฌ๋ฆฐ์ƒท (์„ ํƒ) ![image](https://github.com/user-attachments/assets/c78e1362-1d73-4b12-b9a5-6585997ef6f9) ### ๐Ÿš€ ๋ฆฌ๋ทฐ ์š”๊ตฌ์‚ฌํ•ญ (์„ ํƒ) - ๋ฆฌ๋ทฐ์–ด๊ฐ€ ํŠน๋ณ„ํžˆ ๋ด์ฃผ์—ˆ์œผ๋ฉด ํ•˜๋Š” ๋ถ€๋ถ„์ด ์žˆ๋‹ค๋ฉด ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.
1 parent 879bfaf commit fdd5f4e

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

โ€Žsrc/feature/post/ui/detail/PostDetailView.tsxโ€Ž

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,30 @@ export const PostDetailView = ({ postId }: { postId: string }) => {
246246

247247
{/* ํšŒ์‚ฌ ์†Œ๊ฐœ */}
248248
<div className="flex w-full flex-col gap-4 md:max-w-[580px]">
249-
<p className="text-xl font-semibold">ํšŒ์‚ฌ ์†Œ๊ฐœ</p>
249+
{/* ์ƒ์„ธ ๊ณต๊ณ  ๊ธ€ */}
250+
<section className="flex w-full flex-col gap-[30px] md:max-w-[580px]">
251+
<div className="flex flex-col gap-4 rounded-lg bg-grey-50 px-[34px] py-[24px]">
252+
<div className="flex items-center gap-2">
253+
<img src={ICON_SRC.PERSON} />
254+
<span>
255+
{formatMinorJobToLabel(position.positionType)}{' '}
256+
{position.headCount}๋ช…
257+
</span>
258+
</div>
259+
<div className="flex flex-1 gap-4">
260+
<span className="text-grey-700">์›”๊ธ‰</span>
261+
{position.salary == null ? (
262+
<span>์ถ”ํ›„ ํ˜‘์˜</span>
263+
) : (
264+
<span>{position.salary} ๋งŒ์›</span>
265+
)}
266+
</div>
267+
</div>
268+
</section>
269+
270+
<SeperatorLine className="md:max-w-[580px]" />
271+
272+
<p className="text-2xl font-semibold">ํšŒ์‚ฌ ์†Œ๊ฐœ</p>
250273
{/* ํšŒ์‚ฌ ์„ค๋ช… ์นด๋“œ */}
251274
<section className="flex flex-col gap-4 rounded-lg bg-grey-50 px-[34px] py-[24px]">
252275
<div className="flex flex-col gap-4 md:flex-row md:gap-[68px]">
@@ -376,36 +399,16 @@ export const PostDetailView = ({ postId }: { postId: string }) => {
376399
</p>
377400
</section>
378401
)}
379-
</div>
380-
</div>
381-
</div>
382402

383-
<SeperatorLine className="md:max-w-[580px]" />
384-
385-
{/* ์ƒ์„ธ ๊ณต๊ณ  ๊ธ€ */}
386-
<section className="flex w-full flex-col gap-[30px] md:max-w-[580px]">
387-
<span className="text-2xl font-bold">์ƒ์„ธ ๊ณต๊ณ  ๊ธ€</span>
388-
<div className="flex flex-col gap-4 rounded-lg bg-grey-50 px-[34px] py-[24px]">
389-
<div className="flex items-center gap-2">
390-
<img src={ICON_SRC.PERSON} />
391-
<span>
392-
{formatMinorJobToLabel(position.positionType)}{' '}
393-
{position.headCount}๋ช…
394-
</span>
395-
</div>
396-
<div className="flex flex-1 gap-4">
397-
<span className="text-grey-700">์›”๊ธ‰</span>
398-
{position.salary == null ? (
399-
<span>์ถ”ํ›„ ํ˜‘์˜</span>
400-
) : (
401-
<span>{position.salary} ๋งŒ์›</span>
402-
)}
403+
<SeperatorLine className="md:max-w-[580px]" />
404+
405+
<span className="text-2xl font-bold">์ƒ์„ธ ๊ณต๊ณ  ๊ธ€</span>
406+
<div className="flex rounded-md border">
407+
<MarkdownPreview content={position.detail} />
408+
</div>
403409
</div>
404410
</div>
405-
<div className="flex rounded-md border">
406-
<MarkdownPreview content={position.detail} />
407-
</div>
408-
</section>
411+
</div>
409412

410413
{showModal === 'BOOKMARK' && (
411414
<SignInForBookmarkModal onClose={closeModal} />

0 commit comments

Comments
ย (0)