import { EventClientRenderer } from '~/components/Events/new/EventClientRenderer' import { breadcrumbs } from '~/lib/breadcrumbs' import { getLumaEvents, getMdxEvents, getNotionEvents, getOnDemandMdxEvents } from '~/lib/events' import { breadcrumbListSchema, serializeJsonLd } from '~/lib/json-ld' import type { Metadata } from 'next' import { canonicalAlternates } from '@/lib/canonical' export const metadata: Metadata = { alternates: canonicalAlternates('/events'), title: 'View all Supabase events and meetups.', description: 'Find all the upcoming events, webinars and meetups hosted by supabase and its community.', } export const revalidate = 300 export default async function EventsPage() { const [notionEvents, lumaEvents, mdxEvents, onDemandMdxEvents] = await Promise.all([ getNotionEvents(), getLumaEvents(), Promise.resolve(getMdxEvents()), Promise.resolve(getOnDemandMdxEvents()), ]) return ( <>