Skip to content

Commit 8100372

Browse files
committed
Fix naming in sponsors packages
1 parent 69cc2aa commit 8100372

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/sponsor-tiers/sponsor-tiers.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ const formatPrice = (price: number | string) => {
225225
<div class="text-xl mt-4">
226226
{tier.slotsLeft ? (
227227
<>
228-
<span>{tier.slotsLeft}</span> slot
229-
{tier.slotsLeft == 1 ? "" : "s"} remaining
228+
<span>{tier.slotsLeft}</span>
229+
{tier.slotsLeft == 1 ? "slot" : "slots"} availalbe
230230
</>
231231
) : (
232232
<>Fully booked</>
@@ -281,8 +281,8 @@ const formatPrice = (price: number | string) => {
281281
<>Exclusive</>
282282
) : tier.slotsLeft ? (
283283
<>
284-
<span>{tier.slotsLeft}</span> slot
285-
{tier.slotsLeft == 1 ? "" : "s"} remaining
284+
<span>{tier.slotsLeft}</span>
285+
{tier.slotsLeft == 1 ? "slot" : "slots"} availalbe
286286
</>
287287
) : (
288288
<>Fully booked</>
@@ -337,8 +337,8 @@ const formatPrice = (price: number | string) => {
337337
<>Exclusive</>
338338
) : tier.slotsLeft ? (
339339
<>
340-
<span>{tier.slotsLeft}</span> slot
341-
{tier.slotsLeft == 1 ? "" : "s"} remaining
340+
<span>{tier.slotsLeft}</span>
341+
{tier.slotsLeft == 1 ? "slot" : "slots"} availalbe
342342
</>
343343
) : (
344344
<>Fully booked</>
@@ -391,8 +391,8 @@ const formatPrice = (price: number | string) => {
391391
<div class="text-xl">
392392
{tier.slotsLeft ? (
393393
<>
394-
<span>{tier.slotsLeft}</span> slot
395-
{tier.slotsLeft == 1 ? "" : "s"} remaining
394+
<span>{tier.slotsLeft}</span>
395+
{tier.slotsLeft == 1 ? "slot" : "slots"} availalbe
396396
</>
397397
) : (
398398
<>Fully booked</>

0 commit comments

Comments
 (0)