File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,12 @@ export const sidebarItems1 = [
4444 icon : < Icon icon = "game-icons:cycle" > </ Icon > ,
4545 title : "Application Cycles" ,
4646 } ,
47-
47+ {
48+ path : 'Trainee-applicants' ,
49+ icon : < Icon icon = "ic:round-people" > </ Icon > ,
50+ title : 'Trainees/Applicants' ,
51+ } ,
52+
4853 {
4954 path : "grading" ,
5055 icon : < Icon icon = "bxs:dashboard" > </ Icon > ,
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ const AddTrainee = (props: any) => {
228228 < div className = "w-full" >
229229 < div >
230230 < div className = "bg-light-bg dark:bg-dark-frame-bg min-h-screen overflow-y-hidden overflow-x-hidden" >
231- < div className = "flex items-left px-8 gap-2" >
231+ < div className = "flex items-left px-8 py-8 gap-2" >
232232 < div className = "flex py-2 pb-8 w-fit" >
233233 < button
234234 onClick = { Open }
@@ -346,7 +346,7 @@ const AddTrainee = (props: any) => {
346346 >
347347 < li >
348348 < Link
349- to = { `/trainee-applicant/${ item . _id } /edit` }
349+ to = { `/admin/ trainee-applicant/${ item . _id } /edit` }
350350 className = "text-sm hover:bg-gray-100 text-gray-700 dark:hover:bg-gray-500 dark:text-white block px-4 py-2"
351351 >
352352 Edit
Original file line number Diff line number Diff line change @@ -211,12 +211,12 @@ const TraineeUpdate = (props: any) => {
211211 return (
212212 < >
213213
214- < div className = "block bg-white dark:bg-dark-tertiary relative mt-10 w-[100%] py-3 min-h-[100vh]" >
215- < div className = "block text-center font-bold text-gray-600 relative lg:left-[8rem] dark:text-white text-base lg:max-w-3xl sm:w-[100%] p-4 lg:px-4 m-4 mx-auto text-[24px]" >
214+ < div className = "block bg-white dark:bg-dark-tertiary relative w-[100%] py-3 min-h-[100vh]" >
215+ < div className = "block text-center font-bold text-gray-600 lg:left-[8rem] dark:text-white text-base lg:max-w-3xl sm:w-[100%] p-4 lg:px-4 m-4 mx-auto text-[24px]" >
216216 < h1 className = "p-2" > Update Trainee-applicant</ h1 >
217217 </ div >
218218 < form
219- className = "block bg-white dark:bg-dark-frame-bg lg:max-w-3xl sm:w-[100%] min-h-[100vh] relative lg:left-[8rem] dark:text-white lg:px-4 mb-4 text-gray-600 shadow rounded mx-auto"
219+ className = "block bg-white dark:bg-dark-frame-bg lg:max-w-3xl sm:w-[100%] min-h-[100vh] lg:left-[8rem] dark:text-white lg:px-4 mb-4 text-gray-600 shadow rounded mx-auto"
220220 onSubmit = { handleSubmit }
221221 >
222222 { Object . keys ( traineeData ) . length === 0 ? (
@@ -809,7 +809,7 @@ const TraineeUpdate = (props: any) => {
809809 ) }
810810 </ button >
811811 < Link
812- to = "/Trainee-applicants"
812+ to = "/admin/ Trainee-applicants"
813813 className = "dark:bg-[#56C870] flex bg-gray-600 rounded-md py-2 mx-2 px-4 text-white font-medium cursor-pointer"
814814 >
815815 Cancel
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ function Navigation() {
116116 }
117117 />
118118 < Route
119- path = "trainee-applicant/:traineeId/edit"
119+ path = "/admin/ trainee-applicant/:traineeId/edit"
120120 element = {
121121 < PrivateRoute >
122122 < UpdateTraine />
You can’t perform that action at this time.
0 commit comments