Skip to content

Commit ba0cbb1

Browse files
hyphapre-commit-ci[bot]clytaemnestraegeakman
authored
Add sponsor main page (#1010)
- [x] changed the main sponsor page with 2025 content - [x] packages styling and responsive - [x] Highlight stats component - [x] packages tables final pass - [x] packages pdf link undefined - [x] early bird undefined - [x] add-ons needs review - [x] commented out OSS is it is probably not going to be included on this page - [x] converted the sponsor-tiers to astro component (and added a ribbon one to separate out the svg). Not sure if it is a good idea. - [x] fixed ribbon styling overlapping with text - [x] merge #1008 into this due to syntax change for buttons. - [x] add to menu - [x] update faq (milestone and early bird date undefined) - [x] change sponsor-tiers signup form from undefined to real link - [x] add volume discount (not needed until after ticket launch) - [x] add cta --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mia Bajić <[email protected]> Co-authored-by: Ege Akman <[email protected]>
1 parent 74c7cdb commit ba0cbb1

File tree

17 files changed

+572
-237
lines changed

17 files changed

+572
-237
lines changed

src/components/benefits-list/benefit-item.astro

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ const Icon = {
2323
}[icon];
2424
---
2525

26-
<li class="grid max-w-full grid-cols-[3rem_1fr] gap-5 mb-8">
27-
<Icon class="w-full h-auto block m-0 self-start" />
28-
<div>
29-
<h5 class="text-2xl
30-
font-bold">{title}</h5>
31-
<p><slot /></p>
26+
<div class="mb-8 md:mb-4 max-w-full">
27+
<div class="flex items-center gap-3 mb-1">
28+
<Icon class="w-5 h-auto m-0 flex-shrink-0" />
29+
<div class="text-xl font-extrabold">{title}</div>
3230
</div>
33-
</li>
31+
<div class="mt-1 leading-relaxed pl-8 md:pl-0">
32+
<slot />
33+
</div>
34+
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<ul class="gap-5 md:grid grid-cols-2"><slot /></ul>
1+
<div class="gap-5 md:grid md:grid-cols-3"><slot /></div>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="rounded-lg shadow-md p-5">
2+
<ul class="space-y-2">
3+
<slot />
4+
</ul>
5+
</div>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<li class="flex">
2+
<span class="mr-2">📌</span>
3+
<span><slot /></span>
4+
</li>

src/components/sponsor-tiers/index.tsx

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
interface Props {
3+
className?: string;
4+
style?: Record<string, string>;
5+
}
6+
7+
const { className, style } = Astro.props;
8+
---
9+
10+
<svg
11+
class={`ribbon-svg ${className || ''}
12+
w-[80px] h-[200px] md:w-[60px] md:right-[-5px] lg:w-[80px] lg:right-[-6px] top-[-16px] absolute
13+
transform-origin-[top_right] transition-all duration-300 ease-in-out`}
14+
viewBox="0 0 105 180"
15+
xmlns="http://www.w3.org/2000/svg"
16+
xmlnsXlink="http://www.w3.org/1999/xlink"
17+
style={style}
18+
>
19+
<defs>
20+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="overlay">
21+
<stop stop-color="#ffffff" offset="0%" stop-opacity={0.4} />
22+
<stop stop-color="#ffffff" offset="80%" stop-opacity={0} />
23+
</linearGradient>
24+
</defs>
25+
26+
<g stroke="none" stroke-width={1} fill="none" fill-rule="evenodd">
27+
<g transform="translate(-805.000000, -3436.000000)" fill="currentColor">
28+
<g id="Tiers" transform="translate(90.000000, 2384.000000)">
29+
<g id="Silver" transform="translate(437.000000, 1042.000000)">
30+
<g id="Silver-Tag" transform="translate(278.000000, 10.000000)">
31+
<polygon
32+
id="Rectangle"
33+
points="0 0 95 0 95 200 47.5 164.192211 0 200"
34+
/>
35+
</g>
36+
</g>
37+
</g>
38+
</g>
39+
<g stroke="none" stroke-width={1} fill="none" fill-rule="evenodd">
40+
<g transform="translate(-805.000000, -3436.000000)" fill="url(#overlay)">
41+
<g id="Tiers" transform="translate(90.000000, 2384.000000)">
42+
<g id="Silver" transform="translate(437.000000, 1042.000000)">
43+
<g id="Silver-Tag" transform="translate(278.000000, 10.000000)">
44+
<polygon
45+
id="Rectangle"
46+
points="0 0 95 0 95 200 47.5 164.192211 0 200"
47+
/>
48+
</g>
49+
</g>
50+
</g>
51+
</g>
52+
</g>
53+
</svg>

0 commit comments

Comments
 (0)