feat: rerouted directory to syllabus when click on professor name (#211)

* feat: testing names

* feat: rerouted instructor on click from directory to syllabus

* feat: removed number requirement

* fix: removed department
This commit is contained in:
2024-05-23 15:08:54 -05:00
committed by GitHub
parent 40ef92b230
commit 8959e0d9f7

View File

@@ -132,7 +132,7 @@ export default function HeadingAndActions({ course, activeSchedule, onClose }: H
<Link <Link
key={instructor.fullName} key={instructor.fullName}
variant='h4' variant='h4'
href={instructor.getDirectoryUrl()} href={`https://utdirect.utexas.edu/apps/student/coursedocs/nlogon/?year=&semester=&course_title=&unique=&instructor_first=${instructor.firstName}&instructor_last=${instructor.lastName}&course_type=In+Residence&search=Search`}
className='link' className='link'
> >
{getInstructorFullName(instructor)} {getInstructorFullName(instructor)}