Skip to content

Commit 69cc2aa

Browse files
committed
Update sponsorship, add package for startups
1 parent 7cf3eb9 commit 69cc2aa

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

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

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,18 @@ const tiers: SponsorTierProps[] = [
123123
"Welcome post on EuroPython social media",
124124
],
125125
},
126+
{
127+
title: "Startup",
128+
price: 3_000,
129+
slotsLeft: "5",
130+
features: [
131+
"<strong>Exhibition Space for 3 days</strong>",
132+
"<strong>2 conference tickets (€1000 value)</strong>",
133+
"1 remote ticket (€150 value)",
134+
"Logo on website and signage",
135+
"Welcome post on EuroPython social media",
136+
],
137+
},
126138
{
127139
title: "Bronze",
128140
price: 2_000,
@@ -153,6 +165,7 @@ const getRibbonClass = (title: string) => {
153165
Platinum: "text-sponsor-platinum",
154166
Gold: "text-sponsor-gold",
155167
Silver: "text-sponsor-silver",
168+
Startup: "text-sponsor-startup",
156169
Bronze: "text-sponsor-bronze",
157170
Patron: "text-sponsor-patron",
158171
};
@@ -238,6 +251,62 @@ const formatPrice = (price: number | string) => {
238251
}
239252
</div>
240253

254+
255+
<div class="text-center mb-8 mt-16">
256+
<h2 class="text-3xl font-bold">Startups</h2>
257+
<p class="text-xl mt-2 mb-12">
258+
For early-stage companies ready to connect with the community, boost visibility, and make a strong first impression.
259+
</p>
260+
</div>
261+
<div class="grid grid-cols-1 sm:grid-cols-1 gap-10 mx-96">
262+
{
263+
tiers
264+
.filter((tier) => tier.title === "Startup")
265+
.sort((a, b) => {
266+
const order: { [key: string]: number } = { Startup: 1 };
267+
return order[a.title] - order[b.title];
268+
})
269+
270+
.map((tier) => (
271+
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
272+
<div class="h-[160px]">
273+
<Ribbon
274+
className={`absolute -right-6 -top-8 ${getRibbonClass(tier.title)}`}
275+
style={{ zIndex: "-1", top: "-55px" }}
276+
/>
277+
<Headline as="h3" title={tier.title} />
278+
<div class="font-bold text-3xl">{formatPrice(tier.price)}</div>
279+
<div class="text-xl">
280+
{tier.slotsLeft === "Exclusive" ? (
281+
<>Exclusive</>
282+
) : tier.slotsLeft ? (
283+
<>
284+
<span>{tier.slotsLeft}</span> slot
285+
{tier.slotsLeft == 1 ? "" : "s"} remaining
286+
</>
287+
) : (
288+
<>Fully booked</>
289+
)}
290+
</div>
291+
</div>
292+
293+
<p class="font-bold text-base">This tier includes:</p>
294+
<ul class="text-base list-none pl-0">
295+
{tier.features.map((feature) => (
296+
<li class="flex items-start">
297+
<span class="flex-shrink-0 w-6">✔️</span>
298+
<span set:html={feature} />
299+
</li>
300+
))}
301+
</ul>
302+
<div class="absolute bottom-4 right-4">
303+
<Button url={signupLink}>Sign Up Now!</Button>
304+
</div>
305+
</div>
306+
))
307+
}
308+
</div>
309+
241310
<div class="text-center mb-8 mt-16">
242311
<h2 class="text-3xl font-bold">Major Supporters</h2>
243312
<p class="text-xl mt-2 mb-12">

src/styles/tailwind.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
--color-sponsor-platinum: #6b6c6e;
5454
--color-sponsor-gold: #f5c251;
5555
--color-sponsor-silver: #c0c0c0;
56+
--color-sponsor-startup: #8572c6;
5657
--color-sponsor-bronze: #6e6151;
5758
--color-sponsor-patron: #a11217;
5859

0 commit comments

Comments
 (0)