Skip to content

Commit 862690d

Browse files
committed
Implement custom emoji for ticket tiers features
1 parent 104d840 commit 862690d

File tree

1 file changed

+35
-33
lines changed

1 file changed

+35
-33
lines changed

src/components/ticket-tiers/ticket-tiers.astro

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ const tiers: TicketTierProps[] = [
2222
personalPrice: 200,
2323
businessPrice: 400,
2424
features: [
25-
"Access to two full days of workshops and tutorials across six parallel tracks (July 14-15)",
26-
"Access to Sprint Weekend (19-20 July)",
27-
"Light lunch provided each day",
28-
"Break refreshments (coffee, tea, water, and more)",
29-
"Access to in-person networking opportunities during the tutorial days",
30-
"Access to free childcare if needed",
31-
"Conference T-shirt included",
32-
"<strong>Does NOT include</strong> the main Conference Days"
25+
{ text: "Access to two full days of workshops and tutorials across six parallel tracks (July 14-15)" },
26+
{ text: "Access to Sprint Weekend (19-20 July)" },
27+
{ text: "Light lunch provided each day" },
28+
{ text: "Break refreshments (coffee, tea, water, and more)" },
29+
{ text: "Access to in-person networking opportunities during the tutorial days" },
30+
{ text: "Access to free childcare if needed" },
31+
{ text: "Conference T-shirt included" },
32+
{ text: "<strong>Does NOT include</strong> the main Conference Days", icon: "" }, // Explicitly setting an "X"
3333
],
3434
},
3535
{
@@ -40,19 +40,19 @@ const tiers: TicketTierProps[] = [
4040
latePersonalPrice: 675,
4141
lateBusinessPrice: 1200,
4242
features: [
43-
"<strong>Access to ALL conference dates (14-20 July)</strong>",
44-
"Access to two full days of workshops and tutorials across six parallel tracks (July 14-15)",
45-
"<strong>Access to three days of talks across six parallel tracks with 130+ talks (16-18 July)</strong>",
46-
"Access to open spaces throughout the three conference days",
47-
"Access to Sprint Weekend (19-20 July)",
48-
"Access to sponsor booths with opportunities to connect with sponsoring companies",
49-
"Limited access to specific sponsored workshops",
50-
"Light lunch provided each day",
51-
"Break refreshments (coffee, tea, water, and more)",
52-
"Access to in-person networking opportunities throughout the entire conference",
53-
"Access to free childcare if needed",
54-
"Conference T-shirt included",
55-
"<strong>Limited to only 300, due to tutorial capacity</strong>"
43+
{ text: "<strong>Access to ALL conference dates (14-20 July)</strong>" },
44+
{ text: "Access to two full days of workshops and tutorials across six parallel tracks (July 14-15)" },
45+
{ text: "<strong>Access to three days of talks across six parallel tracks with 130+ talks (16-18 July)</strong>" },
46+
{ text: "Access to open spaces throughout the three conference days" },
47+
{ text: "Access to Sprint Weekend (19-20 July)" },
48+
{ text: "Access to sponsor booths with opportunities to connect with sponsoring companies" },
49+
{ text: "Limited access to specific sponsored workshops" },
50+
{ text: "Light lunch provided each day" },
51+
{ text: "Break refreshments (coffee, tea, water, and more)" },
52+
{ text: "Access to in-person networking opportunities throughout the entire conference" },
53+
{ text: "Access to free childcare if needed" },
54+
{ text: "Conference T-shirt included" },
55+
{ text: "<strong>Limited to only 300, due to tutorial capacity</strong>", icon: "⚠️" },
5656
],
5757
},
5858
{
@@ -63,16 +63,16 @@ const tiers: TicketTierProps[] = [
6363
latePersonalPrice: 450,
6464
lateBusinessPrice: 750,
6565
features: [
66-
"<strong>Access to three days of talks across six parallel tracks with 130+ talks (16-18 July)</strong>",
67-
"Access to open spaces throughout the three conference days",
68-
"Access to Sprint Weekend (19-20 July)",
69-
"Access to sponsor booths with opportunities to connect with sponsoring companies",
70-
"Limited access to specific sponsored workshops",
71-
"Light lunch provided each day",
72-
"Break refreshments (coffee, tea, water, and more)",
73-
"Access to in-person networking opportunities during the main conference days",
74-
"Access to free childcare if needed",
75-
"Conference T-shirt included",
66+
{ text: "<strong>Access to three days of talks across six parallel tracks with 130+ talks (16-18 July)</strong>" },
67+
{ text: "Access to open spaces throughout the three conference days" },
68+
{ text: "Access to Sprint Weekend (19-20 July)" },
69+
{ text: "Access to sponsor booths with opportunities to connect with sponsoring companies" },
70+
{ text: "Limited access to specific sponsored workshops" },
71+
{ text: "Light lunch provided each day" },
72+
{ text: "Break refreshments (coffee, tea, water, and more)" },
73+
{ text: "Access to in-person networking opportunities during the main conference days" },
74+
{ text: "Access to free childcare if needed" },
75+
{ text: "Conference T-shirt included" },
7676
],
7777
}
7878
];
@@ -117,8 +117,10 @@ const formatPrice = (price: number | string) => {
117117
<ul class="text-base list-none pl-0">
118118
{tier.features.map((feature) => (
119119
<li class="flex items-start">
120-
<span class="flex-shrink-0 w-6">✔️</span>
121-
<span set:html={feature}></span>
120+
<span class="flex-shrink-0 w-6">
121+
{feature.icon ? feature.icon : "✔️"}
122+
</span>
123+
<span set:html={feature.text}></span>
122124
</li>
123125
))}
124126
</ul>

0 commit comments

Comments
 (0)