The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Feat: events october (#29748)
Francesco Sansalvadorea3bb12927902
diff --git a/apps/www/_events/2024-08-21-scale-to-millions-generative-ai-humata.mdx b/apps/www/_events/2024-08-21-scale-to-millions-generative-ai-humata.mdxindex a6413a8126e..5ea1db8ca0d 100644--- a/apps/www/_events/2024-08-21-scale-to-millions-generative-ai-humata.mdx+++ b/apps/www/_events/2024-08-21-scale-to-millions-generative-ai-humata.mdx@@ -12,8 +12,8 @@ company:{name: 'Humata',website_url: 'https://www.humata.ai/',- logo: 'webinars/scale-to-millions-generative-ai-humata/humata-dark.svg',- logo_light: 'webinars/scale-to-millions-generative-ai-humata/humata-light.svg',+ logo: '/images/events/webinars/scale-to-millions-generative-ai-humata/humata-dark.svg',+ logo_light: '/images/events/webinars/scale-to-millions-generative-ai-humata/humata-light.svg',}categories:- webinardiff --git a/apps/www/_events/2024-10-24__supabase-at-next-conf.mdx b/apps/www/_events/2024-10-24__supabase-at-next-conf.mdxnew file mode 100644index 00000000000..c99da201ec3--- /dev/null+++ b/apps/www/_events/2024-10-24__supabase-at-next-conf.mdx@@ -0,0 +1,13 @@+---+title: 'Supabase at Next.js Conf'+subtitle: 'where miami builds cool shit.'+type: 'talk'+onDemand: false+disable_page_build: true+link: { href: https://nextjs.org/conf, target: '_blank' }+date: '2024-10-24T10:00:00.000-07:00'+timezone: 'America/Los_Angeles'+duration: '5 hours'+categories:+ - talk+---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.mdxnew file mode 100644index 00000000000..e4f508dc2eb--- /dev/null+++ b/apps/www/_events/2024-11-22-supabase-ai-hackathon-at-y-combinator.mdx@@ -0,0 +1,42 @@+---+title: 'Supabase AI Hackathon at Y Combinator'+meta_title: 'Supabase AI Hackathon at Y Combinator'+subtitle: 'Join us at Y Combinator for two days of hacking with Supabase.'+meta_description: 'Join us at Y Combinator for two days of hacking with Supabase.'+type: 'hackathon'+onDemand: false+main_cta:+ {+ url: 'https://forms.supabase.com/yai-hackathon',+ target: '_blank',+ label: 'Apply now',+ disabled_label: 'Registrations closed',+ }+date: '2024-11-22T10:00:00.000-07:00'+end_date: '2024-11-23T18:00:00.000-07:00'+timezone: 'America/Los_Angeles'+duration: '2 days'+categories:+ - hackathon+speakers: 'ant_wilson,paul_copplestone'+speakers_label: 'Judges'+---++On November 22 and 23 we're hosting an AI-focused hackathon at Y Combinator in San Francisco.++We've already seen [several 1M+ user AI applications](https://x.com/kiwicopple/status/1754777201092784209) built on Supabase and are hosting this event to support the next wave. YC has generously offered to host the event and will be there to judge projects alongside Supabase founders Copple and Ant.++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.++### Jury++- YC partners+- Ant Wilson - CTO and Co-Founder at Supabse+- Paul Copplestone - CEO and Co-Founder at Supabase++### Prizes++- Supabase credits and swag+- Dinner with Supabase founders++We encourage everyone to apply and hope to see you there!diff --git a/apps/www/pages/events/[slug].tsx b/apps/www/pages/events/[slug].tsxindex 6addee6c8e6..e58f0407d9f 100644--- a/apps/www/pages/events/[slug].tsx+++ b/apps/www/pages/events/[slug].tsx@@ -71,7 +71,9 @@ interface EventData {timezone?: stringtags?: string[]date: string+ end_date?: stringspeakers: string+ speakers_label?: stringimage?: stringthumb?: stringthumb_light?: string@@ -147,15 +149,22 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>return authors.find((author) => author.author_id === speakerId)}).filter(isNotNullOrUndefined)+ const hadEndDate = event.end_date?.length- const IS_REGISTRATION_OPEN = event.onDemand || Date.parse(event.date) > Date.now()+ const IS_REGISTRATION_OPEN =+ event.onDemand ||+ (hadEndDate ? Date.parse(event.end_date!) > Date.now() : Date.parse(event.date) > Date.now())const ogImageUrl = encodeURI(`${process.env.NODE_ENV === 'development' ? 'http://127.0.0.1:54321' : 'https://obuldanrptloktxcffvn.supabase.co'}/functions/v1/og-images?site=events&eventType=${event.type}&title=${event.meta_title ?? event.title}&description=${event.meta_description ?? event.description}&date=${dayjs(event.date).tz(event.timezone).format(`DD MMM YYYY`)}&duration=${event.duration}`)const meta = {- title: `${event.meta_title ?? event.title} | ${dayjs(event.date).tz(event.timezone).format(`DD MMM YYYY`)} | ${capitalize(event.type)}`,+ title: `${event.meta_title ?? event.title} | ${dayjs(event.date)+ .tz(event.timezone)+ .format(+ hadEndDate ? `DD` : `DD MMM YYYY`+ )}${hadEndDate ? dayjs(event.end_date).tz(event.timezone).format(` - DD MMM`) : ''} | ${capitalize(event.type)}`,description: event.meta_description ?? event.description,url: `https://supabase.com/events/${event.slug}`,image: ogImageUrl,@@ -353,7 +362,7 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>className="h-5 aspect-[9/1] transition-opacity opacity-100 hover:opacity-90"><NextImage- src={`/images/events/` + event.company?.logo ?? ''}+ src={event.company?.logo}alt={`${event.company?.name} Logo`}fillsizes="100%"@@ -361,7 +370,7 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =>priority/><NextImage- src={`/images/events/` + event.company?.logo_light ?? ''}+ src={event.company?.logo_light}alt={`${event.company?.name} Logo`}fillsizes="100%"@@ -405,7 +414,9 @@ const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) =><aside className="order-first lg:order-last">{speakers && (<div className="flex flex-col gap-4">- <h2 className="text-foreground-light text-sm font-mono uppercase">Speakers</h2>+ <h2 className="text-foreground-light text-sm font-mono uppercase">+ {event.speakers_label ?? 'Speakers'}+ </h2><ul className="list-none flex flex-col md:flex-row flex-wrap lg:flex-col gap-4 md:gap-8 lg:gap-4">{speakers?.map((speaker) => (<li key={speaker?.author_id}>