diff --git a/src/views/components/injected/CoursePopup/CoursePopup.tsx b/src/views/components/injected/CoursePopup/CoursePopup.tsx index 320ed7cb..1f41f55e 100644 --- a/src/views/components/injected/CoursePopup/CoursePopup.tsx +++ b/src/views/components/injected/CoursePopup/CoursePopup.tsx @@ -2,7 +2,8 @@ import Popup from '@views/components/common/Popup/Popup'; import React from 'react'; import { Course } from 'src/shared/types/Course'; import { UserSchedule } from 'src/shared/types/UserSchedule'; -import CourseHeadingAndActions from './CourseHeadingAndActions'; +import CoursePopupDescriptions from './CoursePopupDescriptions'; +import CoursePopupHeadingAndActions from './CoursePopupHeadingAndActions'; interface CoursePopup2Props { course: Course; @@ -11,9 +12,10 @@ interface CoursePopup2Props { } const CoursePopup = ({ course, activeSchedule, onClose }: CoursePopup2Props) => ( - +
- + +
); diff --git a/src/views/components/injected/CoursePopup/CoursePopupDescriptions.tsx b/src/views/components/injected/CoursePopup/CoursePopupDescriptions.tsx new file mode 100644 index 00000000..8690b15a --- /dev/null +++ b/src/views/components/injected/CoursePopup/CoursePopupDescriptions.tsx @@ -0,0 +1,30 @@ +import clsx from 'clsx'; +import React from 'react'; +import Text from '../../common/Text/Text'; + +interface CoursePopupDescriptionsProps { + lines: string[]; +} + +const CoursePopupDescriptions: React.FC = ({ lines }: CoursePopupDescriptionsProps) => { + const keywords = ['prerequisite', 'restricted']; + return ( + + ); +}; + +export default CoursePopupDescriptions; diff --git a/src/views/components/injected/CoursePopup/CoursePopupGradeDistribution.tsx b/src/views/components/injected/CoursePopup/CoursePopupGradeDistribution.tsx new file mode 100644 index 00000000..f16656cc --- /dev/null +++ b/src/views/components/injected/CoursePopup/CoursePopupGradeDistribution.tsx @@ -0,0 +1,7 @@ +interface CoursePopupGradeDistributionProps {} + +const CoursePopupGradeDistribution: React.FC< + CoursePopupGradeDistributionProps +> = ({}: CoursePopupGradeDistributionProps) => {}; + +export default CoursePopupGradeDistribution; diff --git a/src/views/components/injected/CoursePopup/CourseHeadingAndActions.tsx b/src/views/components/injected/CoursePopup/CoursePopupHeadingAndActions.tsx similarity index 99% rename from src/views/components/injected/CoursePopup/CourseHeadingAndActions.tsx rename to src/views/components/injected/CoursePopup/CoursePopupHeadingAndActions.tsx index 65c006a8..b0b18812 100644 --- a/src/views/components/injected/CoursePopup/CourseHeadingAndActions.tsx +++ b/src/views/components/injected/CoursePopup/CoursePopupHeadingAndActions.tsx @@ -130,6 +130,7 @@ const CourseHeadingAndActions = ({ course, onClose, activeSchedule }: CourseHead Add Course + ); };