Skip to content

Commit

Permalink
🚧 expand scope of link
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Jun 18, 2024
1 parent 251fe34 commit ec5da30
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions static-site/src/components/splash/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,32 +231,32 @@ const UrlShowcaseTile = ({ card }) => {
return (
<CardOuter>
<CardInner>
<CardTitle>
<a href={card.url}>
{card.name}
</a>
</CardTitle>
<CardImgContainer>
<CardImgWrapper filename={card.img}/>
{/* FIXME: clean up conditions */}
<InfoIcons>
<TooltipWrapper description='Maintained by community members on GitHub'>
{card.source == 'community' && <InfoIconImg src={gitHubLogo} alt={card.source} />}
</TooltipWrapper>
<TooltipWrapper description='Maintained by the Nextstrain team'>
{card.source == 'core' && <InfoIconImg src={nextstrainLogo} alt={card.source} />}
</TooltipWrapper>
<TooltipWrapper description='Maintained by the ViennaRNA group'>
{card.source == 'groups/ViennaRNA' && <InfoIconImg src='https://github.com/ViennaRNA.png?size=200' alt={card.source} />}
</TooltipWrapper>
<TooltipWrapper description='Maintained by the LANL-HIV-DB group'>
{card.source == 'groups/LANL-HIV-DB' && <InfoIconImg src={lanlGroupLogo} alt={card.source} />}
</TooltipWrapper>
<TooltipWrapper description='Analysis in the form of a narrative'>
{card.type == 'narrative' && <InfoIconImg src={faBookOpen} alt={card.type} />}
</TooltipWrapper>
</InfoIcons>
</CardImgContainer>
<a href={card.url}>
<CardTitle>
{card.name}
</CardTitle>
<CardImgContainer>
<CardImgWrapper filename={card.img}/>
{/* FIXME: clean up conditions */}
<InfoIcons>
<TooltipWrapper description='Maintained by community members on GitHub'>
{card.source == 'community' && <InfoIconImg src={gitHubLogo} alt={card.source} />}
</TooltipWrapper>
<TooltipWrapper description='Maintained by the Nextstrain team'>
{card.source == 'core' && <InfoIconImg src={nextstrainLogo} alt={card.source} />}
</TooltipWrapper>
<TooltipWrapper description='Maintained by the ViennaRNA group'>
{card.source == 'groups/ViennaRNA' && <InfoIconImg src='https://github.com/ViennaRNA.png?size=200' alt={card.source} />}
</TooltipWrapper>
<TooltipWrapper description='Maintained by the LANL-HIV-DB group'>
{card.source == 'groups/LANL-HIV-DB' && <InfoIconImg src={lanlGroupLogo} alt={card.source} />}
</TooltipWrapper>
<TooltipWrapper description='Analysis in the form of a narrative'>
{card.type == 'narrative' && <InfoIconImg src={faBookOpen} alt={card.type} />}
</TooltipWrapper>
</InfoIcons>
</CardImgContainer>
</a>
<CardDescription>
{card.description}
</CardDescription>
Expand Down

0 comments on commit ec5da30

Please sign in to comment.