Skip to content

Commit

Permalink
Merge pull request #572 from thepolicylab-projectportals/fix/use-regu…
Browse files Browse the repository at this point in the history
…lar-a-tag-for-external-link

fix: use regular <a> tag for external link
  • Loading branch information
hollandjg authored Aug 16, 2023
2 parents a36c21d + 2b552c7 commit fd8b5f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ export const BottomBanner: FunctionComponent<BottomBannerProps> = ({
<div className="m-responsive">
<div className="w-full flex gap-4 sm:gap-8 items-center justify-center flex-wrap">
{!isNA(link) && resolvedImage && (
<Link id={linkId} to={link}>
<a id={linkId} href={link}>
<GatsbyImage
className="inline-block logotype"
image={resolvedImage}
alt="Bottom Banner logo"
/>
</Link>
</a>
)}
{isNA(link) && { resolvedImage } && (
<GatsbyImage
Expand Down

0 comments on commit fd8b5f0

Please sign in to comment.