Skip to content

Commit 8430123

Browse files
authored
Merge pull request #5 from CryptoLabInc/fix/go-back-to-landing-page
fix/coder#98-go-back-to-landing-page
2 parents 66f4437 + 9285c18 commit 8430123

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

site/src/modules/dashboard/Navbar/NavbarView.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,24 @@ export const NavbarView: FC<NavbarViewProps> = ({
4848
const LogoHEaaNDark = "/favicons/heaan-dark.svg";
4949
const LogoHEaaNLight = "/favicons/heaan-light.svg";
5050

51+
const landingURL = "https://heaan.io";
52+
5153
return (
5254
<div className="border-0 border-b border-solid h-[72px] flex items-center leading-none px-6">
53-
<NavLink to="/workspaces">
55+
{/*<NavLink to="/workspaces">*/}
56+
<a href={landingURL}>
5457
<img
5558
src={colorTheme === "light" ? LogoHEaaNLight : LogoHEaaNDark}
5659
alt="HEaaN-logo"
5760
className="w-8 h-8"
5861
/>
62+
</a>
5963
{/*{logo_url ? (
6064
<ExternalImage className="h-7" src={logo_url} alt="Custom Logo" />
6165
) : (
6266
<CoderIcon className="h-7 w-7 fill-content-primary" />
6367
)}*/}
64-
</NavLink>
68+
{/*</NavLink>*/}
6569

6670
<NavItems className="ml-4" />
6771

0 commit comments

Comments
 (0)