diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index eb0d7ef60..70833e450 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -87,7 +87,7 @@ const AdminPage = async () => { {' '} - + {' '} New course diff --git a/src/components/admin-dashboard/ClassAssignmentCard.tsx b/src/components/admin-dashboard/ClassAssignmentCard.tsx index 1db5735e2..07ef031e9 100644 --- a/src/components/admin-dashboard/ClassAssignmentCard.tsx +++ b/src/components/admin-dashboard/ClassAssignmentCard.tsx @@ -107,7 +107,8 @@ const ClassAssignmentCard: React.FC = ({ data, type }) setIsModalOpen(true)} > View Details @@ -115,7 +116,8 @@ const ClassAssignmentCard: React.FC = ({ data, type }) {type === 'assignment' && ( router.push(`/admin/assignment/${data.id}`)} > View Submissions @@ -123,7 +125,8 @@ const ClassAssignmentCard: React.FC = ({ data, type }) )} {type === 'class' && 'meetingLink' in data && ( window.open(`https://${data.meetingLink}`, '_blank') } diff --git a/src/components/admin-dashboard/Header.tsx b/src/components/admin-dashboard/Header.tsx index 01d8ca5ca..904fca82b 100644 --- a/src/components/admin-dashboard/Header.tsx +++ b/src/components/admin-dashboard/Header.tsx @@ -15,7 +15,8 @@ const Header: React.FC = ({ title }) => { {title} setIsModalOpen(true)} > + Add new {title.toLocaleLowerCase()}
New course