diff --git a/frontend/public/assets/img/managestudent.svg b/frontend/public/assets/img/managestudent.svg new file mode 100644 index 0000000..bad007f --- /dev/null +++ b/frontend/public/assets/img/managestudent.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index b11b9d0..9f4508b 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -15,6 +15,7 @@ function App() { return ( + } /> } /> } /> } /> @@ -24,7 +25,6 @@ function App() { } /> } /> } /> - } /> ); diff --git a/frontend/src/components/Header.jsx b/frontend/src/components/Header.jsx index a4f62b1..5c3501d 100644 --- a/frontend/src/components/Header.jsx +++ b/frontend/src/components/Header.jsx @@ -10,8 +10,12 @@ const Header = () => { if (path.includes("assignment")) title = "ASSIGNMENT\nCHECK"; else if (path.includes("deposit")) title = "DEPOSIT"; else if (path.includes("attendance")) title = "ATTENDANCE\nCHECK"; + else if (path.includes("magagestudent")) title = "수강생관리"; + else if (path.includes("magagetask")) title = "과제 관리"; + else if (path.includes("attendancecode")) title = "출석코드 생성"; - const showRightButton = !path.includes("deposit"); + const showRightDeposit = !path.includes("deposit"); + const showRightMagageStudent = path.includes("attendancecode"); return (
@@ -28,7 +32,7 @@ const Header = () => { />

{title}

- {showRightButton ? ( + {showRightDeposit ? ( + ) : null}
); }; diff --git a/frontend/src/pages/admin/AttendanceCode.jsx b/frontend/src/pages/admin/AttendanceCode.jsx index d184e1d..6e18188 100644 --- a/frontend/src/pages/admin/AttendanceCode.jsx +++ b/frontend/src/pages/admin/AttendanceCode.jsx @@ -1,4 +1,17 @@ +import Header from "../../components/Header"; +import style from "./AttendanceCode.module.css"; const AttendanceCode = () => { - return

출석코드 생성

; + return ( +
+
+
+
+
+
+
+
+ +
+ ); }; export default AttendanceCode; diff --git a/frontend/src/pages/admin/AttendanceCode.module.css b/frontend/src/pages/admin/AttendanceCode.module.css new file mode 100644 index 0000000..e92a220 --- /dev/null +++ b/frontend/src/pages/admin/AttendanceCode.module.css @@ -0,0 +1,28 @@ +.num_wrapper { + width: 73px; + height: 101px; + background-color: #575757; + border-radius: 21px; + border: 1px solid #a6a6a6; +} +.num_container { + margin-top: 130px; + display: flex; + flex-direction: row; + gap: 8px; +} +.attendancecode_wraper { + display: flex; + justify-content: center; + flex-direction: column; + align-items: center; +} +.createbutton { + width: 60px; + height: 42px; + background-color: #575757; + border-radius: 21px; + margin-top: 60px; + border: 1px solid #a6a6a6; + color: white; +}