Skip to content

Commit 135ccfb

Browse files
Add Get a ticket button (#8)
1 parent f100865 commit 135ccfb

2 files changed

Lines changed: 18 additions & 9 deletions

File tree

src/data/event.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const event = {
1414
startDate: "2026-11-14T11:00:00+03:00",
1515
endDate: "2026-11-14T18:00:00+03:00",
1616
contactEmail: "organizers@pythonturkiye.org",
17-
ticketsUrl: "#",
17+
ticketsUrl: "https://kommunity.com/pythonturkiye/events/python-pizza-istanbul-4fa122d9",
1818
maxAttendees: 150,
1919
organizer: {
2020
name: "Python Türkiye",

src/sections/Hero.astro

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,23 @@ const optimizedCityBg = await getImage({
2424
</h1>
2525
<p class="hero-subtext md:text-[2.2rem]">{event.subHeading}</p>
2626
<p class="hero-subtext md:text-[2.2rem]">{event.whenDisplay}</p>
27-
<CtaButton
28-
id="hero-cta"
29-
href={event.cta.href}
30-
variant="outline"
31-
class="mt-12 px-10 py-4 text-lg md:text-xl"
32-
>
33-
{event.cta.label}
34-
</CtaButton>
27+
<div class="mt-12 flex flex-col sm:flex-row items-center justify-center gap-4">
28+
<CtaButton
29+
id="hero-cta"
30+
href={event.cta.href}
31+
variant="outline"
32+
class="px-10 py-4 text-lg md:text-xl"
33+
>
34+
{event.cta.label}
35+
</CtaButton>
36+
<CtaButton
37+
href={event.ticketsUrl}
38+
variant="solid"
39+
class="px-10 py-4 text-lg md:text-xl"
40+
>
41+
Get a ticket! 🎟️
42+
</CtaButton>
43+
</div>
3544
</div>
3645

3746
<Wave />

0 commit comments

Comments
 (0)