Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
"title": "텍스트 블록" // 타이틀
},
// *** 캘린더 ***
"PARMA": {
"PARAM": {
"type": 7, // 블록 타입(필수)
"sequence": 8, // 블록 순서(필수)
"style": 1, // 캘린더 표기 스타일
Expand Down
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
reactStrictMode: false,
};
Binary file added public/assets/icons/icon_clock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/icons/icon_down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/icons/icon_next_gray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/icons/icon_open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/icons/icon_plus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/icons/icon_prev_gray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/icons/icon_up.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions src/app/admin/block/calendar/add/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
"use client";

import React from "react";
import { useRouter } from "next/navigation";
import Image from "next/image";
import AddScheduleForm from "../components/add-schedule-form";

export default function AddSchedulePage() {
const router = useRouter();

const handleClose = () => {
router.push("/calendar");
};

return (
<div className="mt-4 flex w-full max-w-4xl flex-col p-8">
<div className="ml-10">
<button onClick={handleClose} className="mb-6 mr-4">
<Image
src="/assets/icons/icon_close.png"
alt="Close"
width={30}
height={30}
/>
</button>
</div>
<h1 className="mb-8 ml-10 mr-4 text-2xl font-semibold">일정 추가하기</h1>
<p className="ml-10 mr-4 text-gray-700">
입력하는 진행기간에 따라
<br />
전체 일정이 최근 날짜 순서로 자동 정렬됩니다.
</p>
<AddScheduleForm />
</div>
);
}
Loading