Skip to content

Commit

Permalink
Merge pull request #42 from clementinelove/upstream/fix/partner-socia…
Browse files Browse the repository at this point in the history
…l-alignment

Fix partner social icon alignment issue
  • Loading branch information
JElgar authored Sep 25, 2024
2 parents abfd2c2 + cbced02 commit b9c6f81
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/app/collaborations/PartnerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,39 +47,40 @@ export function PartnerCard(props: { partner: Organisation }): JSX.Element {
<p className="md:h-36 overflow-scroll">{description}</p>
<div className="flex justify-between flex-wrap">
<ul className="flex self-center my-4 py-6">
{instagramLink != null ? (
<li className="px-2">
{instagramLink != null ? (
<Link href={instagramLink} target="_blank" rel="noreferrer">
<FontAwesomeIcon
className="hover:cursor-pointer hover:text-white"
size="xl"
icon={faInstagram}
/>
</Link>
) : null}
</li>
) : null}
{facebookLink != null ? (
<li className="px-2">
{facebookLink != null ? (

<Link href={facebookLink} target="_blank" rel="noreferrer">
<FontAwesomeIcon
className="hover:cursor-pointer hover:text-white"
size="xl"
icon={faFacebookF}
/>
</Link>
) : null}
</li>
) : null}
{twitterLink != null ? (
<li className="px-2">
{twitterLink != null ? (
<Link href={twitterLink} target="_blank" rel="noreferrer">
<FontAwesomeIcon
className="hover:cursor-pointer hover:text-white"
size="xl"
icon={faXTwitter}
/>
</Link>
) : null}
</li>
) : null}
</ul>
{websiteLink != null ? (
<LinkButton
Expand Down

0 comments on commit b9c6f81

Please sign in to comment.