Skip to content

Commit

Permalink
🎨 faq부분에 올바른 내용이 들어가도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HTMLhead committed Dec 15, 2022
1 parent 24324ad commit 3f62076
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/template/codeTogetherTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default ({ data, path }: PageProps<ICodeTogetherTemplateProps>) => {
const graduateReviewInfo = strainFrontmatterInfo(graduateReview);

const courseTitle = mastheadInfo.title;
const currentCourse = path.split("/").pop() as "clean-frontend" | "javascript";

return (
<GlobalTheme>
Expand All @@ -65,7 +66,7 @@ export default ({ data, path }: PageProps<ICodeTogetherTemplateProps>) => {
<DetailCurriculum {...{ curriculumInfo, courseTitle }} />
<TimeTable {...{ timeTableInfo }} />
<GraduateReview {...{ graduateReviewInfo, courseTitle }} />
<FAQ course="javascript" />
<FAQ course={currentCourse} />
<Footer />
</main>
</GlobalTheme>
Expand Down

0 comments on commit 3f62076

Please sign in to comment.