From ed418f44050a1b5c0d236d10bc480cff1831ce2f Mon Sep 17 00:00:00 2001 From: Benjamin Longstaff Date: Sat, 26 Sep 2020 20:56:07 +0930 Subject: [PATCH] Add home link to the header tbtc logo in header This allows users to return the back to the homepage from any page in the flow. Co-Authored-By: Antonio Salazar Cardozo --- src/components/lib/Header.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/lib/Header.js b/src/components/lib/Header.js index 328517c4..7e161a8c 100644 --- a/src/components/lib/Header.js +++ b/src/components/lib/Header.js @@ -1,13 +1,15 @@ import React from "react" +import { Link } from "react-router-dom" + import TBTCLogo from "../svgs/TBTCLogo" import Web3Status from "./Web3Status" const Header = (props) => (
-
+ -
+ { // TODO: remove when proper CMS is selected window.location.pathname === "/" ||