Skip to content

Commit 2b607ed

Browse files
committed
fix: update registration link and added target to open link in new tab
1 parent 801f6e2 commit 2b607ed

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/(home)/components/EventCard.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ export default function EventCard({ event }: { event: Event }) {
6060
className="mx-auto mt-5 text-[10px] font-medium text-dark-green px-[10px] py-[6px] bg-primary hover:scale-105 hover:bg-primary transition-transform duration-300 rounded-full md:py-[9px] md:px-5 md:text-[12px] lg:py-[12px] lg:px-6 lg:text-[16px] xl:mx-0 xl:text-2xl"
6161
>
6262
{event.link ? (
63-
<Link href={event.link}>Register Here</Link>
63+
<Link href={event.link} target="_blank">
64+
Register Here
65+
</Link>
6466
) : (
6567
<Link href={'/#'}>Registration coming soon</Link>
6668
)}

app/(home)/components/UpcomingEvents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const EVENTS: Event[] = [
1212
date: ['October 25, 2025', 'October 26, 2025'],
1313
location: 'Ateneo de Davao University',
1414
variant: 'main',
15-
link: 'https://techtix.durianpy.org/pycon-davao-2025',
15+
link: 'https://techtix.durianpy.org/pycon-davao-2025/register',
1616
},
1717
];
1818

0 commit comments

Comments
 (0)