From 2b78ee9d6e858f726745a34b13c422a5ae386dfb Mon Sep 17 00:00:00 2001 From: qkrxogmla Date: Thu, 29 May 2025 00:36:54 +0900 Subject: [PATCH 1/2] =?UTF-8?q?header=20=EB=B0=8F=20=EA=B3=BC=EC=A0=9C?= =?UTF-8?q?=EC=83=9D=EC=84=B1=20+=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/public/assets/img/plus.svg | 3 ++ frontend/src/App.jsx | 1 + frontend/src/pages/admin/ManageTask.jsx | 35 ++++++++++--------- .../src/pages/admin/ManageTask.module.css | 8 +++++ 4 files changed, 31 insertions(+), 16 deletions(-) create mode 100644 frontend/public/assets/img/plus.svg diff --git a/frontend/public/assets/img/plus.svg b/frontend/public/assets/img/plus.svg new file mode 100644 index 0000000..cd05806 --- /dev/null +++ b/frontend/public/assets/img/plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index ea35122..ba191cc 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -20,6 +20,7 @@ function App() { return ( + } /> } /> } /> { const closeModal = () => setShowModal(false); return ( -
-
-
- {weekData.map((week, index) => ( -
- - edit handleEditClick(index)} - /> -
- ))} +
+
+
+
+ {weekData.map((week, index) => ( +
+ + edit handleEditClick(index)} + /> +
+ ))} +
+
{showModal && ( Date: Thu, 29 May 2025 00:53:43 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EC=B6=9C=EC=84=9D=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1=20=20=EC=98=A4=EB=A5=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/admin/AttendanceCode.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/admin/AttendanceCode.jsx b/frontend/src/pages/admin/AttendanceCode.jsx index 879f86f..5a3e068 100644 --- a/frontend/src/pages/admin/AttendanceCode.jsx +++ b/frontend/src/pages/admin/AttendanceCode.jsx @@ -30,7 +30,7 @@ const AttendanceCode = () => { const generateCode = async () => { try { const res = await api.post("admin/attendance/start"); - const newCode = res.data.data.code; + const newCode = res.data.code; setCode(newCode); } catch (error) { alert(