diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 7667a54..2eb1597 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -168,6 +168,9 @@ export default function Header(): ReactElement {
+ + + {logInButton}
diff --git a/frontend/src/components/SchedulesCard.tsx b/frontend/src/components/SchedulesCard.tsx index cf93f9a..3cd6cc5 100644 --- a/frontend/src/components/SchedulesCard.tsx +++ b/frontend/src/components/SchedulesCard.tsx @@ -3,6 +3,7 @@ import React from "react"; import { Tab } from "@headlessui/react"; import { Lecture, Schedule, Section } from "../app/types"; import { Card } from "./Card"; +import Link from "next/link"; const Lecture = ({ lectureInfo, @@ -18,7 +19,9 @@ const Lecture = ({ {lectureInfo.name}
- {lectureInfo.instructors.join("; ")} + {lectureInfo.instructors.map(instructorName => ( + {instructorName + "; "} + ))}
{lectureInfo.times.map((time) => ( @@ -41,7 +44,9 @@ const Lecture = ({ >
{section.name}
- {section.instructors.join("; ")} + {section.instructors.map(instructorName => ( + {instructorName + "; "} + ))}
{section.times.map((time) => (