Skip to content

Commit 3d54463

Browse files
committed
fix logo link to use react router link
1 parent 62b15f4 commit 3d54463

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/Meta.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let make = (
1212
~ogSiteName=siteName,
1313
~ogDescription=description,
1414
~ogTitle=?,
15-
~ogImage="/Art-3-rescript-launch.jpg",
15+
~ogImage=Env.root_url ++ "Art-3-rescript-launch.jpg",
1616
) => {
1717
let ogImage = Env.root_url ++ ogImage
1818

src/components/Navigation.res

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ let make = (~fixed=true, ~isOverlayOpen: bool, ~setOverlayOpen: (bool => bool) =
109109
>
110110
<div className="flex justify-between items-center h-full w-full max-w-1280">
111111
<div className="h-8 w-8 lg:h-10 lg:w-32">
112-
<a
113-
href="/"
112+
<ReactRouter.Link.String
113+
to="/"
114114
className="block hover:cursor-pointer w-full h-full flex justify-center items-center font-bold"
115115
>
116116
<img src="/nav-logo@2x.png" className="lg:hidden" />
117117
<img src="/nav-logo-full@2x.png" className="hidden lg:block" />
118-
</a>
118+
</ReactRouter.Link.String>
119119
</div>
120120

121121
/* Desktop horizontal navigation */

0 commit comments

Comments
 (0)