feat: 강사공지사항생성페이지 추가

This commit is contained in:
minwucho 2024-07-18 15:11:37 +09:00
parent 0dd5ebc4df
commit f543f379ca
2 changed files with 50 additions and 2 deletions

View File

@ -38,8 +38,8 @@ export default function CreateQuestionPage() {
</aside> </aside>
<main> <main>
<CreateArticle <CreateArticle
topic="공지사항" topic="질문하기"
title="글 쓰기" title="Q&A"
/> />
</main> </main>
</MaxWidthLayout> </MaxWidthLayout>

View File

@ -0,0 +1,48 @@
import LectureHeader from '../../components/LectureHeader/LectureHeader';
import { SideBar, SideLink, SideItem } from '../../components/SideBar';
import { MaxWidthLayout } from '../../components/Layout';
import { CreateArticle } from '../../components/Article';
export default function LecturerCreateNoticePage() {
const lecture = {
title: '정보처리기사 실기 완전정복',
tutor: '박정민',
isLive: true,
};
return (
<>
<LectureHeader
title={lecture.title}
tutor={lecture.tutor}
isLive={lecture.isLive}
/>
<MaxWidthLayout hasSideBar>
<aside>
<SideBar title="바로가기">
<SideLink to={'/'}>공지사항</SideLink>
<SideLink to={'/'}>Q&A</SideLink>
<SideLink to={'/'}>수업자료</SideLink>
<SideLink to={'/'}>퀴즈</SideLink>
</SideBar>
<SideBar title="내 강의">
<SideItem
name={'학습 진도'}
sub={'2 / 12'}
/>
<SideItem
name={'퀴즈 점수'}
sub={'80%'}
/>
</SideBar>
</aside>
<main>
<CreateArticle
topic="글 쓰기"
title="공지사항"
/>
</main>
</MaxWidthLayout>
</>
);
}