You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"<h1>1. 첫번째 업무 제목</h1><p>첫번째 업무에 대한 설명을 자세히 적어주세요.</p><h1>2. 두번째 업무 제목</h1><p>두번째 업무에 대한 설명을 자세히 적어주세요.</p><h1>3. 세번째 업무 제목</h1><p>세번째 업무에 대한 설명을 자세히 적어주세요.</p>",
28
+
},
29
+
{
30
+
title: "시간대별로 수행하는 업무",
31
+
content:
32
+
"<h1>09:00 업무 제목</h1><p>09:00 에 하는 업무에 대한 설명을 자세히 적어주세요.</p><h1>10:00 업무 제목</h1><p>10:00 에 하는 업무에 대한 설명을 자세히 적어주세요.</p><h1>11:00 업무 제목</h1><p>11:00 에 하는 업무에 대한 설명을 자세히 적어주세요.</p>",
33
+
},
34
+
{
35
+
title: "상황에 따라 하는 업무",
36
+
content:
37
+
"<h1>상황: 상황 제목</h1><p>아래 업무는 이러이러한 상황이 일어났을때 수행한다.</p><p>상황에 대한 설명을 자세히 적어주세요.</p><h1>업무: 수행해야 할 업무 제목</h1><p>수행해야 할 업무에 대한 설명을 자세히 적어주세요.</p>",
38
+
},
39
+
{
40
+
title: "부대시설 이용",
41
+
content:
42
+
"<h1>부대시설 이름</h1><p>부대시설에 대한 설명을 간단하게 적어주세요.</p><h2>사용 시간</h2><p>부대시설을 사용할 수 있는 시간을 적어주세요.</p><ul><li><p><strong>평일</strong>: 09:00 ~ 17:00</p></li><li><p><strong>주말</strong>: 11:00 ~ 15:00</p></li></ul><h2>사용 방법</h2><p>부대시설을 사용하는 방법을 자세히 적어주세요.</p><h2>주의 사항</h2><p>부대시설을 사용할 때 주의해야 할 사항을 자세히 적어주세요.</p>",
43
+
},
44
+
{
45
+
title: "내용 초기화",
46
+
content: "",
47
+
},
48
+
];
49
+
23
50
exportdefaultfunctionCreateItemPage(){
24
51
// find current user from store
25
52
const{ user }=useSelector(R.pick(["user"]));
@@ -48,7 +75,7 @@ export default function CreateItemPage() {
48
75
letitem={
49
76
title: title,
50
77
content: content,
51
-
status: "published"
78
+
status: "published",
52
79
};
53
80
54
81
if(parentPath!=="new"){
@@ -106,6 +133,14 @@ export default function CreateItemPage() {
0 commit comments