Skip to content

Commit

Permalink
Added linking to maps in Schedule Details (#169)
Browse files Browse the repository at this point in the history
Add links to rooms for schedules
  • Loading branch information
jhtl99 authored Nov 2, 2024
1 parent 4ba8831 commit 49f86ab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apps/frontend/src/components/SchedulesDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ const Lecture = ({
<div className="col-span-1 col-start-3">
{timeArrToString([time])}
</div>
<div className="col-span-1">
<Link href={`https://maps.scottylabs.org/${time.building}-${time.room}`}>
{time.building} {time.room}
</div>
</Link>
</div>
))}
</div>
Expand All @@ -72,9 +72,10 @@ const Lecture = ({
<div className="col-span-1 col-start-3">
{timeArrToString([time])}
</div>
<div className="col-span-1">
<Link href={`https://maps.scottylabs.org/${time.building}-${time.room}`}>
{time.building} {time.room}
</div>
</Link>

</div>
))}
</div>
Expand Down

0 comments on commit 49f86ab

Please sign in to comment.