Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit e73090d

Browse files
authored
Remove external link icon next to links (#270)
* Force icon to be small * Put max width on icon * Don't show external link icon next to default link - For some reason, the icon loads super large quickly on load of the homepage which is distracting - The pdf and meetup icons don't seem to have the problem. - I actually think the problem is that the "Subscribe to our mailing list" link is an external link above the fold.
1 parent 8f94faa commit e73090d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/link/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
3-
import { faExternalLinkAlt, faFilePdf } from '@fortawesome/free-solid-svg-icons'
3+
import { faFilePdf } from '@fortawesome/free-solid-svg-icons'
44
import { faMeetup } from '@fortawesome/free-brands-svg-icons'
55

66
export const ExternalLink = ({ href, text, icon }) => {
@@ -11,7 +11,7 @@ export const ExternalLink = ({ href, text, icon }) => {
1111
case 'meetup':
1212
return faMeetup
1313
default:
14-
return faExternalLinkAlt
14+
return null
1515
}
1616
}
1717

0 commit comments

Comments
 (0)