Skip to content

Commit a238dba

Browse files
committed
make home clickable in the breadcrumbs
1 parent 2d6f419 commit a238dba

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

frontends/mit-open/src/pages/UnitsListingPage/UnitsListingPage.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
} from "api"
2020
import { MetaTags } from "ol-utilities"
2121
import { useChannelDetail } from "api/hooks/fields"
22+
import { HOME } from "@/common/urls"
2223

2324
const UNITS_BANNER_IMAGE = "/static/images/background_steps.jpeg"
2425
const DESKTOP_WIDTH = "1056px"
@@ -403,7 +404,11 @@ const UnitsListingPage: React.FC = () => {
403404
<title>MIT Open | Units</title>
404405
</MetaTags>
405406
<Banner
406-
navText="Home / MIT Units"
407+
navText={
408+
<span>
409+
<a href={HOME}>Home</a> / MIT units
410+
</span>
411+
}
407412
title="Academic & Professional Learning"
408413
description="Extending MIT's knowledge to the world"
409414
backgroundUrl={UNITS_BANNER_IMAGE}

0 commit comments

Comments
 (0)