From 30461588e5f02ccda2e176a4734144fcfd299884 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Wed, 26 Apr 2023 12:33:58 +0530 Subject: [PATCH] font awesome icons for navigation --- .../src/app/components/HeaderWithSettings.tsx | 38 ++++--------------- apps/etherscan/src/index.html | 3 ++ 2 files changed, 11 insertions(+), 30 deletions(-) diff --git a/apps/etherscan/src/app/components/HeaderWithSettings.tsx b/apps/etherscan/src/app/components/HeaderWithSettings.tsx index d1037d58d1..d42c50e805 100644 --- a/apps/etherscan/src/app/components/HeaderWithSettings.tsx +++ b/apps/etherscan/src/app/components/HeaderWithSettings.tsx @@ -1,6 +1,7 @@ import React from "react" import { NavLink } from "react-router-dom" +import { CustomTooltip } from '@remix-ui/helper'; import { AppContext } from "../AppContext" import { ThemeType } from "../types" @@ -17,37 +18,14 @@ interface IconProps { const HomeIcon: React.FC = ({ from, themeType }: IconProps) => { return ( - { - return { - ...(isActive ? getStyleFilterIcon(themeType) : {}), ...{ marginRight: "0.4em" } - } - }} - > - - - - - + + ) } diff --git a/apps/etherscan/src/index.html b/apps/etherscan/src/index.html index 66244f0a04..b0ff6f5784 100644 --- a/apps/etherscan/src/index.html +++ b/apps/etherscan/src/index.html @@ -7,8 +7,11 @@ +
+