From 23aa01f6db6d17bbca1503ec553b0cdd661a002a Mon Sep 17 00:00:00 2001 From: Min Htet Oo <33474727+MinHtet-O@users.noreply.github.com> Date: Wed, 31 Jul 2024 17:54:06 +0800 Subject: [PATCH] fix: nagvigate to tradetrust info site on logo click (#345) --- src/components/NavigationBar/NavigationBar.tsx | 5 +++-- src/constants/Urls.tsx | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/NavigationBar/NavigationBar.tsx b/src/components/NavigationBar/NavigationBar.tsx index 43e77406..608c3e63 100644 --- a/src/components/NavigationBar/NavigationBar.tsx +++ b/src/components/NavigationBar/NavigationBar.tsx @@ -9,6 +9,7 @@ import { NAVIGATION_ITEM_TYPE, } from "@tradetrust-tt/tradetrust-ui-components"; import { LogoutButton } from "./LogoutButton"; +import { URLS } from "../../constants/Urls"; export interface NavigationBarProps { logout?: () => void; @@ -74,9 +75,9 @@ export const NavigationBar: FunctionComponent = ({ logout }) const NavLogo = () => { return ( - + - + ); }; diff --git a/src/constants/Urls.tsx b/src/constants/Urls.tsx index fe98e483..41751764 100644 --- a/src/constants/Urls.tsx +++ b/src/constants/Urls.tsx @@ -1,4 +1,5 @@ export enum URLS { + INFO = "https://tradetrust.io", CREATOR = "https://creator.tradetrust.io/", GITHUB = "https://github.com/TradeTrust/tradetrust-website", DOCS = "https://docs.tradetrust.io/",