Skip to content

Commit

Permalink
Remove external link icons from nav. (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-moore-cb authored Oct 26, 2023
1 parent bb7fa26 commit bd96f5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
16 changes: 2 additions & 14 deletions apps/web/src/components/Layout/Nav/DesktopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ function DropdownLink({ href, label, color, externalLink }: DropdownLinkProps) {
target="_blank"
rel="noreferrer noopener"
>
<span className="mr-2">{label}</span>
<Icon
name="external-link"
width="14"
height="14"
color={color === 'black' ? 'white' : 'black'}
/>
{label}
</a>
) : (
<Link
Expand Down Expand Up @@ -124,13 +118,7 @@ function DesktopNav({ color }: DesktopNavProps) {
target="_blank"
rel="noreferrer noopener"
>
<span className="mr-2">Bridge</span>
<Icon
name="external-link"
width="14"
height="14"
color={color === 'black' ? 'black' : 'white'}
/>
Bridge
</a>
<Dropdown label="Developers" color={color}>
<DropdownLink
Expand Down
6 changes: 2 additions & 4 deletions apps/web/src/components/Layout/Nav/MobileMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ function DropdownLink({ href, label, externalLink }: DropdownLinkProps) {
target="_blank"
rel="noreferrer noopener"
>
<span className="mr-4">{label}</span>
<Icon name="external-link" width="16" height="16" color="white" />
{label}
</a>
) : (
<Link href={href} className="w-full pt-4 font-mono text-3xl text-white hover:underline">
Expand Down Expand Up @@ -181,8 +180,7 @@ function MobileMenu({ color }: MobileMenuProps) {
target="_blank"
rel="noreferrer noopener"
>
<span className="mr-4">Bridge</span>
<Icon name="external-link" width="16" height="16" color="white" />
Bridge
</a>
<Dropdown
dropdownKey="developers"
Expand Down

0 comments on commit bd96f5f

Please sign in to comment.