diff --git a/apps/www/_events/2024-11-22-supabase-ai-hackathon-at-y-combinator.mdx b/apps/www/_events/2024-11-22-supabase-ai-hackathon-at-y-combinator.mdx index 8e12fe15aab..52e254cee09 100644 --- a/apps/www/_events/2024-11-22-supabase-ai-hackathon-at-y-combinator.mdx +++ b/apps/www/_events/2024-11-22-supabase-ai-hackathon-at-y-combinator.mdx @@ -8,10 +8,11 @@ og_image: '/images/events/hackathons/supabase-ai-hackathon-at-y-combinator/yc-ha onDemand: false main_cta: { - url: 'https://forms.supabase.com/yai-hackathon', + url: '', target: '_blank', - label: 'Apply now', - disabled_label: 'Registrations closed', + label: 'Applications closed', + disabled_label: 'Applications closed', + disabled: true, } date: '2024-11-22T10:00:00.000-07:00' end_date: '2024-11-23T18:00:00.000-07:00' @@ -29,7 +30,7 @@ We've already seen [several 1M+ user AI applications](https://x.com/kiwicopple/s [Anthropic](https://www.anthropic.com) is also supporting the hackathon and will provide credits to every team. -Because we have limited capacity, we've created [a very short application](https://forms.supabase.com/yai-hackathon). We’ll keep the form open for a few weeks and let you know if you’re in by early November. +**This event is full and invite only.** ### Jury diff --git a/apps/www/pages/events/[slug].tsx b/apps/www/pages/events/[slug].tsx index 5e2bf7a07b2..372d7ccc2d1 100644 --- a/apps/www/pages/events/[slug].tsx +++ b/apps/www/pages/events/[slug].tsx @@ -49,6 +49,7 @@ type CTA = { url: string label?: string disabled_label?: string + disabled?: boolean target?: '_blank' | '_self' } @@ -289,7 +290,9 @@ const EventPage = ({ event }: InferGetStaticPropsType) => type="primary" size="medium" className="mt-2" - disabled={!IS_REGISTRATION_OPEN} + disabled={ + !IS_REGISTRATION_OPEN || event.main_cta?.disabled || event.main_cta?.disabled + } asChild > ) => type="primary" size="medium" className="mt-2" - disabled={!IS_REGISTRATION_OPEN} + disabled={!IS_REGISTRATION_OPEN || event.main_cta?.disabled} asChild >