Skip to content

Commit a383c64

Browse files
Copilotfredleger
andcommitted
Fix CFP section links to point to conference-hall.io platform
Co-authored-by: fredleger <2778741+fredleger@users.noreply.github.com>
1 parent a2ed7c2 commit a383c64

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

application/src/data/pages/home/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export default {
151151
],
152152
},
153153
cta: 'Submit via Conference HALL',
154+
ctaHref: 'https://conference-hall.io/cloud-native-provence-2026',
154155
image: {
155156
src: '~/assets/images/event.jpg',
156157
alt: 'Call for Papers',

application/src/data/pages/home/fr.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export default {
152152
],
153153
},
154154
cta: 'Soumettre via Conference HALL',
155+
ctaHref: 'https://conference-hall.io/cloud-native-provence-2026',
155156
image: {
156157
src: '~/assets/images/event.jpg',
157158
alt: 'Appel à conférenciers',

application/src/pages/home/_content.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export interface Props {
6868
items?: readonly string[];
6969
};
7070
cta?: string;
71+
ctaHref?: string;
7172
};
7273
venue?: {
7374
title?: string;
@@ -270,8 +271,9 @@ const heroBadge = hero?.badge;
270271
{cfp.cta && (
271272
<div class="pt-2 text-center">
272273
<a
273-
href="#"
274+
href={cfp.ctaHref ?? '#'}
274275
class="inline-flex items-center justify-center rounded-md bg-primary px-6 py-3 font-semibold text-white transition hover:opacity-90"
276+
{...(cfp.ctaHref?.startsWith('http') ? { target: '_blank', rel: 'noopener noreferrer' } : {})}
275277
>
276278
{cfp.cta}
277279
</a>

0 commit comments

Comments
 (0)