diff --git a/src/components/blocks/CourseBlock.tsx b/src/components/blocks/CourseBlock.tsx index bb67999..0d74a80 100644 --- a/src/components/blocks/CourseBlock.tsx +++ b/src/components/blocks/CourseBlock.tsx @@ -22,10 +22,8 @@ interface Props { } /** - * - * Component `CourseBlock` displays a overview of a course in `DictionaryPage`. + * Component `CourseBlock` displays an overview of a course within the search results on the `DictionaryPage`. * It shows the title, classification, professors, and description of the course. - * */ const CourseBlock: React.FC = ({ t, diff --git a/src/components/blocks/CourseSimpleBlock.tsx b/src/components/blocks/CourseSimpleBlock.tsx index bd49b0d..0a45e7a 100644 --- a/src/components/blocks/CourseSimpleBlock.tsx +++ b/src/components/blocks/CourseSimpleBlock.tsx @@ -8,6 +8,10 @@ interface Props { course: Course; } +/** + * Component `CourseSimpleBlock` displays a brief overview of a course within the `CourseRelatedCoursesSubSection` on the `DictionaryPage`. + * It shows the title and code of the course. + */ const CourseSimpleBlock: React.FC = ({ course }) => { const translate = useTranslatedString(); diff --git a/src/components/blocks/PlannerCourseBlock.tsx b/src/components/blocks/PlannerCourseBlock.tsx index 091fce5..31e32df 100644 --- a/src/components/blocks/PlannerCourseBlock.tsx +++ b/src/components/blocks/PlannerCourseBlock.tsx @@ -17,6 +17,10 @@ interface Props { addToPlanner: (course: Course | ArbitraryPseudoCourse) => void; } +/** + * Component `PlannerCourseBlock` displays an overview of a course within the search results on the `PlannerPage`. + * It shows the title, classification, and code of the course. + */ const PlannerCourseBlock: React.FC = ({ t, course, diff --git a/src/components/blocks/ProjectBlock.tsx b/src/components/blocks/ProjectBlock.tsx index 330aa29..2d7aadd 100644 --- a/src/components/blocks/ProjectBlock.tsx +++ b/src/components/blocks/ProjectBlock.tsx @@ -14,10 +14,8 @@ interface Props { } /** - * - * Component `ProjectBlock` displays an overview of a project in `CreditPage`. + * Component `ProjectBlock` displays an overview of a project on the `CreditPage`. * It shows the title, subtitle, and period of the project. - * */ const ProjectBlock: React.FC = ({ project, isRaised, onClick }) => { const handleClick = onClick