From 95d460ad92f7747b9120ac8c51f17ef33ef99a45 Mon Sep 17 00:00:00 2001 From: Daniel Sauble Date: Thu, 25 Jun 2020 18:07:34 -0700 Subject: [PATCH] fix: Replace developer champions icon with official logo from old site --- src/components/NavigationItems.js | 14 +------------- src/components/NewRelicIcon.js | 13 +++++++++++++ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/components/NavigationItems.js b/src/components/NavigationItems.js index d69929c6f..91c38be17 100644 --- a/src/components/NavigationItems.js +++ b/src/components/NavigationItems.js @@ -13,10 +13,7 @@ const iconLibrary = { 'Build apps': 'buildApps', 'Automate workflows': 'automation', 'Explore docs': 'developerDocs', -}; - -const featherIconLibrary = { - 'Developer champions': 'award', + 'Developer champions': 'developerChampions', }; const getHighlightedText = (text, highlight) => { @@ -71,15 +68,6 @@ const NavigationItems = ({ }; const NavIcon = ({ page }) => { - if (featherIconLibrary[page.displayName]) { - return ( - - ); - } - if (iconLibrary[page.displayName]) { return ( ), + developerChampions: ( + <> + + + + + + + + + + + ), }; NewRelicIcon.propTypes = {