From ffdcb6515b5b1c5c19c3b823843754f7d0b04189 Mon Sep 17 00:00:00 2001 From: brucedonovan Date: Wed, 12 Apr 2023 10:40:45 +0200 Subject: [PATCH] bugfix/NavTextDecoration --- src/components/Navigation.tsx | 12 +----------- yarn.lock | 5 ----- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index e2376d8ff..7b46f5562 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -32,16 +32,6 @@ const StyledLink = styled.div` } `; -const StyledText = styled(Text)` - font-family: 'Raleway'; - /* background: -webkit-linear-gradient(#7255bd, #d95948); - background: ${(props) => props.color}; - background: -webkit-linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - filter: drop-shadow(2px 2px 2px #ddd); */ -`; - interface IYieldNavigationProps { sideNavigation?: boolean; callbackFn?: any; @@ -83,7 +73,7 @@ const Navigation = ({ sideNavigation }: IYieldNavigationProps) => { }; const NavLink = ({ link }: { link: any }) => ( - + handleViewChange(link.to)} style={router.pathname.includes(link.to) ? activelinkStyle : { color: 'gray' }} diff --git a/yarn.lock b/yarn.lock index 3f3a65ba9..7171435f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7217,11 +7217,6 @@ prop-types@^15.7.2, prop-types@^15.8.1: object-assign "^4.1.1" react-is "^16.13.1" -proxy-compare@2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/proxy-compare/-/proxy-compare-2.4.0.tgz#90f6abffe734ef86d8e37428c5026268606a9c1b" - integrity sha512-FD8KmQUQD6Mfpd0hywCOzcon/dbkFP8XBd9F1ycbKtvVsfv6TsFUKJ2eC0Iz2y+KzlkdT1Z8SY6ZSgm07zOyqg== - proxy-from-env@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"