diff --git a/app/css/normalize.css b/app/css/normalize.css index bb6e2a7..cf1ab9a 100644 --- a/app/css/normalize.css +++ b/app/css/normalize.css @@ -52,8 +52,11 @@ h1 { hr { box-sizing: content-box; /* 1 */ - height: 0; /* 1 */ + height: 1px; /* 1 */ + width: 100%; overflow: visible; /* 2 */ + border: none; + background-color: #eaecf0; } /** diff --git a/app/routes/_procted+/lectures+/$lectureId+/_layout/index.tsx b/app/routes/_procted+/lectures+/$lectureId+/_layout/index.tsx index a9ee5d2..f47b71b 100644 --- a/app/routes/_procted+/lectures+/$lectureId+/_layout/index.tsx +++ b/app/routes/_procted+/lectures+/$lectureId+/_layout/index.tsx @@ -121,6 +121,8 @@ const LectureDetail = () => { setSuperIsLoading={setIsLoading} /> ))} + +

진행중인 실습

{currentLecture!.practices @@ -139,11 +141,13 @@ const LectureDetail = () => { /> ))} +
+ {auth.role === "professor" && ( <>

진행 예정 실습

{currentLecture!.practices - .filter((practice) => new Date(practice.end_time) < new Date()) + .filter((practice) => new Date(practice.start_time) > new Date()) .map((practice) => ( { setSuperIsLoading={setIsLoading} /> ))} +
)} -
- +

관리 도구

setIsDownloadMyCodesModalOpen(true)}