Skip to content

Commit 62ee2da

Browse files
authored
Merge pull request #247 from ItRecode/FE-233
[FE-233] feat: ํ”ผ๋“œ๋ฐฑ๋ฉ”์ผ ๋ ˆ์ด์•„์›ƒ
2 parents 910ddf8 + d2d4cc5 commit 62ee2da

1 file changed

Lines changed: 65 additions & 9 deletions

File tree

โ€Žsrc/pages/Setting/FeedbackMail/FeedbackMail.tsxโ€Ž

Lines changed: 65 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,71 @@
1-
import React from 'react'
1+
import BackButton from '@components/BackButton'
2+
import Button from '@components/Button'
3+
import React, { useState } from 'react'
24

35
function FeedbackMail() {
6+
const [subject, setSubject] = useState('')
7+
const [body, setBody] = useState('')
8+
49
return (
5-
<div>
6-
<a
7-
href="mailto:hst92124@gmail.com&amp;subject=์œผ์•„์•„์•„"
8-
className="cursor-pointer"
9-
>
10-
ํ”ผ๋“œ๋ฐฑ ๋ณด๋‚ด๊ธฐ
11-
</a>
12-
</div>
10+
<>
11+
<div className="px-6">
12+
<header className="pt-4">
13+
<BackButton />
14+
</header>
15+
16+
<section id="notice" className="mt-10">
17+
<div className="text-lg font-semibold">
18+
<p>์—ฌ๋Ÿฌ๋ถ„์˜ ์†Œ๋ฆฌ๋ฅผ ๋“ฃ๊ธฐ ์œ„ํ•ด</p>
19+
<p>๋ ˆ์ฝ”๋”ง์€ ํ•ญ์ƒ ์—ด๋ ค์žˆ์–ด์š”!</p>
20+
<p>
21+
<span className="text-primary-2">์ž์œ ๋กญ๊ฒŒ ํ”ผ๋“œ๋ฐฑ</span>์„
22+
๋ณด๋‚ด์ฃผ์„ธ์š”!
23+
</p>
24+
</div>
25+
<div className="mt-4 text-xs leading-normal text-grey-7">
26+
<p>๋ ˆ์ฝ”๋”ง์„ ์‚ฌ์šฉํ•˜๋ฉฐ ๊ฒช์€ ๋ถˆํŽธํ•จ์ด ์žˆ์œผ์‹ ๊ฐ€์š”?</p>
27+
<p>๋˜๋Š” ํ…์ ธ์Šค์—๊ฒŒ ์ „๋‹ฌํ•˜๊ณ  ์‹ถ์€ ๋‚ด์šฉ์ด ์žˆ์œผ์‹ ๊ฐ€์š”?</p>
28+
<p>๋‚จ๊ฒจ์ฃผ์‹œ๋Š” ๋‚ด์šฉ์€ ํ•œ๊ธ€์ž๋„ ๋นผ๋†“์ง€ ์•Š๊ณ  ๊ผผ๊ผผํžˆ ์‚ดํŽด๋ณผ๊ฒŒ์š”.</p>
29+
</div>
30+
</section>
31+
<section id="title" className="mt-10">
32+
<p className="text-xs font-semibold text-primary-2">
33+
๋ ˆ์ฝ”๋”ง ํ”ผ๋“œ๋ฐฑ ์ œ๋ชฉ
34+
</p>
35+
<div className="mt-4 flex items-center">
36+
<input
37+
className="w-full border-b border-solid border-grey-4 py-1.5 text-grey-9 outline-none placeholder:text-grey-4 focus:placeholder:text-transparent"
38+
placeholder="์ œ๋ชฉ์„ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”."
39+
onChange={(e) => setSubject(e.target.value)}
40+
value={subject}
41+
/>
42+
<span className="absolute right-6 text-xs text-grey-4">
43+
{subject.length}/20
44+
</span>
45+
</div>
46+
</section>
47+
<section id="body" className="mt-[57px]">
48+
<p className="text-xs font-semibold text-primary-2">
49+
๋ ˆ์ฝ”๋”ง ํ”ผ๋“œ๋ฐฑ ๋‚ด์šฉ
50+
</p>
51+
<div className="relative flex items-end justify-end">
52+
<textarea
53+
className="mt-4 h-[130px] w-full resize-none rounded-lg bg-grey-2 p-4 leading-normal text-grey-9 outline-0 placeholder:text-grey-5 focus:placeholder:text-transparent"
54+
placeholder="ํ”ผ๋“œ๋ฐฑ ๋‚ด์šฉ์„ ์ž์œ ๋กญ๊ฒŒ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”."
55+
maxLength={200}
56+
onChange={(e) => setBody(e.target.value)}
57+
value={body}
58+
/>
59+
<span className="absolute bottom-2 right-4 text-xs font-normal leading-none text-grey-4">
60+
{body.length}/200
61+
</span>
62+
</div>
63+
</section>
64+
</div>
65+
<div className="absolute bottom-10 w-full cursor-pointer px-6">
66+
<Button property="solid">ํ”ผ๋“œ๋ฐฑ ๋ณด๋‚ด๊ธฐ</Button>
67+
</div>
68+
</>
1369
)
1470
}
1571

0 commit comments

Comments
ย (0)