diff --git a/public/locales/en/common.json b/public/locales/en/common.json index aa0fa3f7..e78fb286 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -432,6 +432,8 @@ "COURSE_PLANNER": { "COURSE_PLANNER": "Course Plan", "FOUNDATION_COURSE": "Foundation Course", - "MAIN_COURSE": "Main Course" + "MAIN_COURSE": "Main Course", + "COLLAPSE_ALL":"Collapse All", + "RESOURCES":"Resources" } } diff --git a/src/pages/course-planner-detail.tsx b/src/pages/course-planner-detail.tsx index 458b2796..8c706961 100644 --- a/src/pages/course-planner-detail.tsx +++ b/src/pages/course-planner-detail.tsx @@ -1,9 +1,10 @@ import Header from '@/components/Header'; import { logEvent } from '@/utils/googleAnalytics'; import ArrowDropUpIcon from '@mui/icons-material/ArrowDropUp'; +import ArrowForwardIcon from '@mui/icons-material/ArrowForward'; +import CheckCircleOutlineIcon from '@mui/icons-material/CheckCircleOutline'; import KeyboardBackspaceOutlinedIcon from '@mui/icons-material/KeyboardBackspaceOutlined'; -import MenuBookIcon from '@mui/icons-material/MenuBook'; -import SubdirectoryArrowRightIcon from '@mui/icons-material/SubdirectoryArrowRight'; +import RadioButtonUncheckedIcon from '@mui/icons-material/RadioButtonUnchecked'; import { Accordion, AccordionDetails, @@ -15,9 +16,6 @@ import { useTheme } from '@mui/material/styles'; import { useTranslation } from 'next-i18next'; import { serverSideTranslations } from 'next-i18next/serverSideTranslations'; import { buildStyles, CircularProgressbar } from 'react-circular-progressbar'; -import RadioButtonUncheckedIcon from '@mui/icons-material/RadioButtonUnchecked'; -import CheckCircleOutlineIcon from '@mui/icons-material/CheckCircleOutline'; -import ArrowForwardIcon from '@mui/icons-material/ArrowForward'; const CoursePlannerDetail = () => { const theme = useTheme(); @@ -127,6 +125,7 @@ const CoursePlannerDetail = () => { color: theme.palette.warning['300'], }} > + {t('COURSE_PLANNER.COLLAPSE_ALL')} Collapse All { boxShadow: 'none', background: '#F1E7D9', border: 'none', - // background: 'none', }} > { fontSize="14px" color={theme.palette.warning['300']} > - Topic 1 - Real Numbers + Topic 1 - Real Numbers {/* will came from API */} - Jan, Feb + Jan, Feb {/* will came from API */} - - + + { gap: '20px', }} > - The Fundamental Theorem of Arithmetic + + The Fundamental Theorem of Arithmetic{' '} + {/* will came from API */} + { { }} > - 5 Resources + 5 {t('COURSE_PLANNER.RESOURCES')}