Skip to content

Commit 5f0de3d

Browse files
committed
Disable socials.
1 parent 832176a commit 5f0de3d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/SponsorCard.astro

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const {
1818
industry,
1919
description,
2020
socials,
21+
tier,
2122
logo_padding = false,
2223
draft
2324
} = sponsor.data;
@@ -106,7 +107,7 @@ const socialLinks = [
106107
)}
107108

108109

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

112113
{ !isSponsorPage && sponsor.body &&
@@ -118,11 +119,11 @@ const socialLinks = [
118119
<a href={website} target="_blank" rel="noopener noreferrer" class="website-btn ">
119120
Visit Website <span class="pl-2"><Icon name="external-link" /></span>
120121
</a>
121-
122122
</div>
123123
)}
124124

125125

126+
{ (tier !== "Partners") &&
126127
<div class="social-links flex justify-center space-x-4 pt-4">
127128
{socialLinks
128129
.filter((link) => socials?.[link.key])
@@ -177,7 +178,7 @@ const socialLinks = [
177178
);
178179
})}
179180
</div>
180-
181+
}
181182
</div>
182183
)
183184
}

0 commit comments

Comments
 (0)