Skip to content

Commit

Permalink
bugfix/NavTextDecoration
Browse files Browse the repository at this point in the history
  • Loading branch information
brucedonovan committed Apr 12, 2023
1 parent f54e894 commit ffdcb65
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
12 changes: 1 addition & 11 deletions src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -83,7 +73,7 @@ const Navigation = ({ sideNavigation }: IYieldNavigationProps) => {
};

const NavLink = ({ link }: { link: any }) => (
<Link href={link.to} passHref>
<Link href={link.to} passHref style={{textDecoration:'none'}}>
<StyledLink
onClick={() => handleViewChange(link.to)}
style={router.pathname.includes(link.to) ? activelinkStyle : { color: 'gray' }}
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7217,11 +7217,6 @@ prop-types@^15.7.2, prop-types@^15.8.1:
object-assign "^4.1.1"
react-is "^16.13.1"

[email protected]:
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"
Expand Down

0 comments on commit ffdcb65

Please sign in to comment.