[Front-end] feat: 강의 상세페이지 추가
This commit is contained in:
parent
ac88f5ebf0
commit
d349d79089
@ -3,6 +3,7 @@
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 20px;
|
||||
border: 1px solid var(--border-color);
|
||||
background-color: var(--background-default);
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,48 @@
|
||||
import LectureHeader from '../../components/LectureHeader/LectureHeader';
|
||||
import { SideBar, SideLink, SideItem } from '../../components/SideBar';
|
||||
import { MaxWidthLayout } from '../../components/Layout';
|
||||
import ArticlePreview from '../../components/Article/ArticlePreview/ArticlePreview';
|
||||
import styles from './LearningLectureDetailPage.module.css';
|
||||
|
||||
export default function LearningLectureDetailPage() {
|
||||
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 className={styles.previews}>
|
||||
<ArticlePreview />
|
||||
<ArticlePreview />
|
||||
<ArticlePreview />
|
||||
</main>
|
||||
</MaxWidthLayout>
|
||||
</>
|
||||
);
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
.previews {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 40px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user