Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TM-1464] Update TerraMatch homepage when dashboard launches #695

Merged
merged 2 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,29 @@ exports[`Storyshots Components/Generic/Layouts/MainLayout Default 1`] = `
</a>
</div>
</div>
<div>
<div
className="font-regular uppercase xl:w-full hover:opacity-50 text-darkCustom sm:mr-2"
>
<a
href="/dashboard"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
>
<div
className="flex items-center"
>
<span
className="whitespace-nowrap text-darkCustom text-14-light"
data-testid="txt"
>
Dashboards
</span>
</div>
</a>
</div>
</div>
<div>
<div
className="font-regular uppercase xl:w-full hover:opacity-50 text-darkCustom sm:mr-2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,29 @@ exports[`Storyshots Components/Generic/Navbar Logged Out 1`] = `
</a>
</div>
</div>
<div>
<div
className="font-regular uppercase xl:w-full hover:opacity-50 text-darkCustom sm:mr-2"
>
<a
href="/dashboard"
onClick={[Function]}
onMouseEnter={[Function]}
onTouchStart={[Function]}
>
<div
className="flex items-center"
>
<span
className="whitespace-nowrap text-darkCustom text-14-light"
data-testid="txt"
>
Dashboards
</span>
</div>
</a>
</div>
</div>
<div>
<div
className="font-regular uppercase xl:w-full hover:opacity-50 text-darkCustom sm:mr-2"
Expand Down
5 changes: 5 additions & 0 deletions src/components/generic/Navbar/navbarItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ export const getNavbarItems = (t: typeof useT, myOrg?: MyOrganisationConnection)
url: "/",
visibility: true
},
{
title: t("Dashboards"),
url: "/dashboard",
visibility: true
},
{
title: t("Support"),
url: zendeskSupportLink,
Expand Down