Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/SponsorCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { sponsorLogos } from "@data/sponsorLogos";
import Icon from "@ui/Icon.astro";
import SocialLinks from "@components/SocialLinks.astro";

const { sponsor: sponsorId, showJobs=false } = Astro.props;
const { sponsor: sponsorId, showJobs=false, showLinks=true } = Astro.props;
const sponsor = await getEntry("sponsors", sponsorId);

if (!sponsor) {
Expand Down Expand Up @@ -100,7 +100,7 @@ const logo = sponsorLogos[sponsor.id];
}
<div>

{(tier !== "Partners") && website && (
{website && (
<div class="website-btn-container flex flex-col sm:flex-row justify-center gap-2 mt-4">

{ !isSponsorPage && sponsor.body && tier && ["Diamond", "Platinum"].includes(tier) &&
Expand All @@ -116,7 +116,7 @@ const logo = sponsorLogos[sponsor.id];
)}


{ (tier !== "Partners") &&
{ (tier !== "Partners" || showLinks) &&
<SocialLinks socials={socials} />
}
</div>
Expand Down
Loading