diff --git a/src/App.tsx b/src/App.tsx index d7d2a066..63fe6071 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -5,6 +5,7 @@ import Home from './components/Home/Home'; import MainLayout from './components/Layout/MainLayout'; import { UserContext, type UserContextType } from './contexts/UserContext'; import MentorRegistrationPage from './components/MentorRegistrationPage'; +import Dashboard from './components/Dashboard/Dashboard.tsx'; const App: React.FC = () => { const { user, getUser } = useContext(UserContext) as UserContextType; @@ -25,6 +26,7 @@ const App: React.FC = () => { path="/mentor-registration" element={} /> + } /> diff --git a/src/components/Dashboard/Dashboard.tsx b/src/components/Dashboard/Dashboard.tsx new file mode 100644 index 00000000..b58338ca --- /dev/null +++ b/src/components/Dashboard/Dashboard.tsx @@ -0,0 +1,75 @@ +import React from 'react'; +import { Menu, Layout } from 'antd'; + +import { Link, Route, Routes } from 'react-router-dom'; +import ManageMentorApplications from './scenes/ManageMentorApplications/ManageMentorApplications.tsx'; +import ManageMentors from './scenes/ManageMentors/ManageMentors.tsx'; +import OngoingMentorshipPrograms from './scenes/OngoingMentorshipPrograms/OngoingMentorshipPrograms.tsx'; +import PlatformSettings from './scenes/PlatformSettings/PlatformSettings.tsx'; +import MenteeApplications from './scenes/MenteeApplications/MenteeApplications.tsx'; +import ManageUsers from './scenes/ManageUsers/ManageUsers.tsx'; +import Emails from './scenes/Emails/Emails.tsx'; + +const { Content, Sider } = Layout; + +const Dashboard: React.FC = () => { + return ( + + + + + Manage Mentors + + + + Manage Mentor Applications + + + + + Mentee Applications + + + + + Ongoing Mentorship Programs + + + + Platform Settings + + + Manage Users + + + Emails + + + + + + + } /> + } + /> + } + /> + } + /> + } /> + } /> + } /> + + + + + ); +}; + +export default Dashboard; diff --git a/src/components/Dashboard/scenes/Emails/Emails.tsx b/src/components/Dashboard/scenes/Emails/Emails.tsx new file mode 100644 index 00000000..fad8a812 --- /dev/null +++ b/src/components/Dashboard/scenes/Emails/Emails.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +const Emails: React.FC = () => { + return ( +
+

Emails

+
+ ); +}; + +export default Emails; diff --git a/src/components/Dashboard/scenes/ManageMentorApplications/ManageMentorApplications.tsx b/src/components/Dashboard/scenes/ManageMentorApplications/ManageMentorApplications.tsx new file mode 100644 index 00000000..d3ab679e --- /dev/null +++ b/src/components/Dashboard/scenes/ManageMentorApplications/ManageMentorApplications.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +const ManageMentorApplications: React.FC = () => { + return ( +
+

Manage Mentor Applications

+
+ ); +}; + +export default ManageMentorApplications; diff --git a/src/components/Dashboard/scenes/ManageMentors/ManageMentors.tsx b/src/components/Dashboard/scenes/ManageMentors/ManageMentors.tsx new file mode 100644 index 00000000..8ae44412 --- /dev/null +++ b/src/components/Dashboard/scenes/ManageMentors/ManageMentors.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +const ManageMentors: React.FC = () => { + return ( +
+

Manage Mentors

+
+ ); +}; + +export default ManageMentors; diff --git a/src/components/Dashboard/scenes/ManageUsers/ManageUsers.tsx b/src/components/Dashboard/scenes/ManageUsers/ManageUsers.tsx new file mode 100644 index 00000000..eede10c1 --- /dev/null +++ b/src/components/Dashboard/scenes/ManageUsers/ManageUsers.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +const ManageUsers: React.FC = () => { + return ( +
+

Manage Users

+
+ ); +}; + +export default ManageUsers; diff --git a/src/components/Dashboard/scenes/MenteeApplications/MenteeApplications.tsx b/src/components/Dashboard/scenes/MenteeApplications/MenteeApplications.tsx new file mode 100644 index 00000000..b37d55a8 --- /dev/null +++ b/src/components/Dashboard/scenes/MenteeApplications/MenteeApplications.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +const MenteeApplications: React.FC = () => { + return ( +
+

Mentee Applications

+
+ ); +}; + +export default MenteeApplications; diff --git a/src/components/Dashboard/scenes/OngoingMentorshipPrograms/OngoingMentorshipPrograms.tsx b/src/components/Dashboard/scenes/OngoingMentorshipPrograms/OngoingMentorshipPrograms.tsx new file mode 100644 index 00000000..7cbf5fac --- /dev/null +++ b/src/components/Dashboard/scenes/OngoingMentorshipPrograms/OngoingMentorshipPrograms.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +const OngoingMentorshipPrograms: React.FC = () => { + return ( +
+

Ongoing Mentorship Programs

+
+ ); +}; + +export default OngoingMentorshipPrograms; diff --git a/src/components/Dashboard/scenes/PlatformSettings/PlatformSettings.tsx b/src/components/Dashboard/scenes/PlatformSettings/PlatformSettings.tsx new file mode 100644 index 00000000..c4d8355b --- /dev/null +++ b/src/components/Dashboard/scenes/PlatformSettings/PlatformSettings.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +const PlatformSettings: React.FC = () => { + return ( +
+

Platform Settings

+
+ ); +}; + +export default PlatformSettings;