The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
webinar page (#28441)
Francesco Sansalvadore3ec49c7e0da8
diff --git a/apps/www/_events/scale-to-billions-generative-ai-humata.mdx b/apps/www/_events/scale-to-billions-generative-ai-humata.mdxnew file mode 100644index 00000000000..c79c40b8be0--- /dev/null+++ b/apps/www/_events/scale-to-billions-generative-ai-humata.mdx@@ -0,0 +1,33 @@+---+title: 'Scale to Billions: Generative AI/Humata'+meta_title: 'Scale to Billions: Generative AI/Humata | 21 Aug 2024 | Webinar'+subtitle: 'Quickly and cost effectively build Generative AI applications that you can use to chat with your company’s documents.'+meta_description: 'Quickly and cost effectively build Generative AI applications that you can use to chat with your company’s documents.'+type: 'webinar'+thumb: 'webinars/scale-to-billions-generative-ai-humata.png'+date: '2024-08-21T10:00:00.000-07:00'+timezone: 'America/Los_Angeles'+duration: '45 mins'+categories:+ - webinar+main_cta:+ {+ url: 'https://zoom.us/webinar/register/WN_cTcp6uv4S2OI63jDrOb1Ng',+ target: '_blank',+ label: 'Register now',+ }+speakers: 'gregnr,khajvandi'+---++Is your organization still using search to find information stored in your business documents? Learn about building modern Generative AI applications that allow you to chat with your PDFs to provide customer support, summarize complex text, answer contract questions, or deliver business intelligence.++Over the past year, Supabase has helped several companies like Humata go from Generative AI concept to launching and scaling to over one million users. We’ll hear from Supabase AI engineer, Greg Richardson, how Supabase features like Vector and Edge Functions, combined with a one-of-a-kind developer experience, makes it easy to build Generative AI applications, while also delivering a cost effective solution on par or better than purpose-built vector database solutions.++Cyrus Khajvani, co-founder & CEO of Google-backed Humata, will share how his company harnesses the power of large language models (LLMs), combined with Supabase, to help millions of experts quickly find the information they need, simply by asking their document a question in plain English (or 80 other languages).++In this session, we'll explore:++- The advantages of using a vector database to drive conversational queries with your business documents.+- Why Supabase’s unique set of features and developer experience make it possible to build highly scalable applications in a fraction of the time and cost required by traditional cloud providers.++Join us live to participate in the Q&A afterwards. Can’t make it to the event? Don’t worry, we'll send you the recording.diff --git a/apps/www/components/Announcement/Badge.tsx b/apps/www/components/Announcement/Badge.tsxindex a9c208c6164..29c6cc69a93 100644--- a/apps/www/components/Announcement/Badge.tsx+++ b/apps/www/components/Announcement/Badge.tsx@@ -20,17 +20,13 @@ const AnnouncementBadge = ({className,hasArrow = true,}: Props) => (- <div- className={cn(- 'relative w-full max-w-xl flex justify-center opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]',- className- )}- >+ <div className={cn('relative w-fit max-w-xl flex justify-center', className)}><Linkhref={url}target={target}className={cn(`+ announcement-linkgroup/announcementrelativeflex flex-row@@ -54,13 +50,13 @@ const AnnouncementBadge = ({)}>{badge && (- <Badge variant="brand" size="large" className="py-1">+ <Badge variant="brand" size="large" className="py-1 announcement-badge">{badge}</Badge>)}- <span className="text-foreground">{announcement}</span>+ <span className="text-foreground announcement-text">{announcement}</span>{hasArrow && (- <ArrowNarrowRightIcon className="h-4 ml-2 -translate-x-1 text-foreground transition-transform group-hover/announcement:translate-x-0" />+ <ArrowNarrowRightIcon className="announcement-icon h-4 ml-2 -translate-x-1 text-foreground transition-transform group-hover/announcement:translate-x-0" />)}<divclassName="absolute inset-0 -z-10 bg-gradient-to-brdiff --git a/apps/www/components/Blog/BlogFilters.tsx b/apps/www/components/Blog/BlogFilters.tsxindex 55ebfcf5b0f..6a243ba7721 100644--- a/apps/www/components/Blog/BlogFilters.tsx+++ b/apps/www/components/Blog/BlogFilters.tsx@@ -47,8 +47,8 @@ function BlogFilters({ allPosts, setPosts, view, setView }: Props) {const router = useRouter()const searchParams = useSearchParams()- const q = searchParams.get('q')- const activeCategory = searchParams.get('category')+ const q = searchParams?.get('q')+ const activeCategory = searchParams?.get('category')const isMobile = useBreakpoint(1023)const is2XL = useBreakpoint(1535)@@ -119,7 +119,7 @@ function BlogFilters({ allPosts, setPosts, view, setView }: Props) {const handleSearchByText = (text: string) => {setSearchTerm(text)- searchParams.has('q') && router.replace('/blog', undefined, { shallow: true, scroll: false })+ searchParams?.has('q') && router.replace('/blog', undefined, { shallow: true, scroll: false })router.replace(`/blog?q=${text}`, undefined, { shallow: true, scroll: false })if (text.length < 1) router.replace('/blog', undefined, { shallow: true, scroll: false })diff --git a/apps/www/components/Blog/ShareArticleActions.tsx b/apps/www/components/Blog/ShareArticleActions.tsxindex c04f435f905..b95a64a94d1 100644--- a/apps/www/components/Blog/ShareArticleActions.tsx+++ b/apps/www/components/Blog/ShareArticleActions.tsx@@ -1,34 +1,49 @@import Link from 'next/link'import { IconLinkedinSolid, IconTwitterX, IconYCombinator } from 'ui'-const ShareArticleActions = ({ title, slug }: { title: string; slug: string }) => (- <div className="mt-4 flex items-center space-x-4">- <Link- aria-label="Share on X"- href={`https://twitter.com/share?text=${title}&url=https://supabase.com/blog/${slug}`}- target="_blank"- className="text-foreground-lighter hover:text-foreground"- >- <IconTwitterX size={24} />- </Link>+const ShareArticleActions = ({+ title,+ slug,+ iconSize = 20,+ basePath = 'https://supabase.com/blog/',+}: {+ title: string+ slug: string+ iconSize?: number+ basePath?: string+}) => {+ const permalink = encodeURIComponent(`${basePath}${slug}`)+ const encodedTitle = encodeURIComponent(title)- <Link- aria-label="Share on Linkedin"- href={`https://www.linkedin.com/shareArticle?url=https://supabase.com/blog/${slug}&title=${title}`}- target="_blank"- className="text-foreground-lighter hover:text-foreground"- >- <IconLinkedinSolid size={24} />- </Link>- <Link- aria-label="Share on Hacker News"- href={`https://news.ycombinator.com/submitlink?u=https://supabase.com/blog/${slug}&t=${title}`}- target="_blank"- className="text-foreground-lighter hover:text-foreground"- >- <IconYCombinator size={24} />- </Link>- </div>-)+ return (+ <div className="mt-4 flex items-center gap-4">+ <Link+ aria-label="Share on X"+ href={`https://twitter.com/intent/tweet?url=${permalink}&text=${encodedTitle}`}+ target="_blank"+ className="text-foreground-lighter hover:text-foreground"+ >+ <IconTwitterX size={iconSize} />+ </Link>++ <Link+ aria-label="Share on Linkedin"+ href={`https://www.linkedin.com/shareArticle?url=${permalink}&text=${encodedTitle}`}+ target="_blank"+ className="text-foreground-lighter hover:text-foreground"+ >+ <IconLinkedinSolid size={iconSize} />+ </Link>+ <Link+ aria-label="Share on Hacker News"+ href={`https://news.ycombinator.com/submitlink?u=${permalink}&t=${encodedTitle}`}+ target="_blank"+ className="text-foreground-lighter hover:text-foreground"+ >+ <IconYCombinator size={iconSize} />+ </Link>+ </div>+ )+}export default ShareArticleActionsdiff --git a/apps/www/components/CustomerStories/index.tsx b/apps/www/components/CustomerStories/index.tsxindex 59afe135857..f25d53925b9 100644--- a/apps/www/components/CustomerStories/index.tsx+++ b/apps/www/components/CustomerStories/index.tsx@@ -6,6 +6,7 @@ import TextLink from '../TextLink'import SectionHeader from 'components/UI/SectionHeader'import customerStories from '~/data/CustomerStories'import Panel from '../Panel'+import EventCallout from '../EventCallout'const CustomerStories = () => {// const selection = ['Pebblely', 'Chatbase', 'Mendable.ai']@@ -54,8 +55,9 @@ const CustomerStories = () => {</Link>))}</div>- <div className="mt-12">+ <div className="mt-12 flex flex-col md:flex-row gap-8 justify-between"><TextLink url="/customers" label="Explore more" />+ <EventCallout size="small" className="border-t pt-8 md:border-t-0 md:pt-3" /></div></SectionContainer>)diff --git a/apps/www/components/EventCallout.tsx b/apps/www/components/EventCallout.tsxnew file mode 100644index 00000000000..5cf483edc97--- /dev/null+++ b/apps/www/components/EventCallout.tsx@@ -0,0 +1,84 @@+import React, { PropsWithChildren } from 'react'+import Link from 'next/link'+import { cn, TextLink } from 'ui'+import Panel from './Panel'+import { ChevronRightIcon, VideoCameraIcon } from '@heroicons/react/solid'++interface Props {+ className?: string+ size?: 'tiny' | 'small' | 'large'+}++const EVENT_LINK = '/events/scale-to-billions-generative-ai-humata'++const EventCallout = ({ className, size = 'tiny', ...props }: PropsWithChildren<Props>) => {+ switch (size) {+ case 'tiny':+ return (+ <Link+ href={EVENT_LINK}+ className={cn(+ 'group flex items-center flex-wrap text-sm text-foreground-light hover:text-foreground transition-opacity',+ className+ )}+ {...props}+ >+ <span className="py-1 uppercase text-brand font-mono">Webinar</span>+ <span className="py-1 uppercase mx-3 px-3 border-x">21 Aug</span>+ <span className="py-1">Scale to Billions: Generative AI/Humata</span>+ </Link>+ )+ case 'small':+ return (+ <Link+ href={EVENT_LINK}+ className={cn(+ 'group flex items-center flex-wrap text-sm text-foreground-light hover:text-foreground transition-opacity',+ className+ )}+ {...props}+ >+ <VideoCameraIcon className="w-4 h-4 text-brand mr-2" />+ <span className="py-1 uppercase text-brand font-mono">Upcoming Webinar</span>+ <span className="py-1 uppercase mx-3 px-3 border-x">21 Aug</span>+ <span className="py-1">Scale to Billions: Generative AI/Humata</span>+ <ChevronRightIcon className="translate-x-0 transition-transform group-hover:translate-x-0.5 w-3 h-3 ml-1.5" />+ </Link>+ )+ case 'large':+ return (+ <Link href={EVENT_LINK} className={cn('w-full', className)} {...props}>+ <Panel+ outerClassName="w-full"+ innerClassName="relative p-4 lg:p-8 h-full flex flex-col md:flex-row gap-4 md:gap-8"+ >+ <div className="relative h-52 lg:h-44 xl:h-52 aspect-[2/1] md:!aspect-[3/2] rounded-lg border">+ {/* <Image+ src=""+ fill+ sizes="100%"+ quality={100}+ className="object-cover"+ alt="event thumbnail"+ /> */}+ </div>+ <div className="flex flex-col gap-2 md:gap-3 flex-grow max-w-xl xl:justify-center">+ <div className="flex flex-row text-sm">+ <span className="uppercase text-brand font-mono">Webinar</span>+ <span className="mx-3 pl-3 border-l">21 Aug 2024 at 8PM PST</span>+ </div>++ <span className="text-foreground text-3xl">Scale to Millions</span>+ <p>+ Quickly and cost effectively build Generative AI applications that you can use to+ chat with your company’s documents.+ </p>+ <TextLink label="Register now" />+ </div>+ </Panel>+ </Link>+ )+ }+}++export default EventCalloutdiff --git a/apps/www/components/Examples/ExamplesCarousel.tsx b/apps/www/components/Examples/ExamplesCarousel.tsxindex 24f47e6d237..b562973160e 100644--- a/apps/www/components/Examples/ExamplesCarousel.tsx+++ b/apps/www/components/Examples/ExamplesCarousel.tsx@@ -2,7 +2,7 @@ import 'swiper/css'import { useRef } from 'react'import { ArrowLeft, ArrowRight } from 'lucide-react'-import { Button } from 'ui'+import { Button, cn } from 'ui'import Link from 'next/link'import { CTA } from '~/types/common'@@ -85,7 +85,7 @@ const ExamplesCarousel = ({})}</Swiper><div className="container mx-auto mt-3 hidden flex-row justify-between md:flex">- <div ref={prevRef} className="p ml-4 cursor-pointer">+ <div ref={prevRef} className={cn('p ml-4 cursor-pointer')}><ArrowLeft /></div><div ref={nextRef} className="p mr-4 cursor-pointer">diff --git a/apps/www/components/Hero/Hero.tsx b/apps/www/components/Hero/Hero.tsxindex 0a6341df01d..51c0f579130 100644--- a/apps/www/components/Hero/Hero.tsx+++ b/apps/www/components/Hero/Hero.tsx@@ -22,7 +22,7 @@ const Hero = () => {<div className="mx-auto max-w-2xl lg:col-span-6 lg:flex lg:items-center justify-center text-center"><div className="relative z-10 lg:h-auto pt-[90px] lg:pt-[90px] lg:min-h-[300px] flex flex-col items-center justify-center sm:mx-auto md:w-3/4 lg:mx-0 lg:w-full gap-4 lg:gap-8"><div className="flex flex-col items-center">- <div className="z-40 w-full flex justify-center mb-8 lg:mb-8">+ <div className="z-40 w-full flex flex-col gap-4 items-center justify-center -mt-4 md:-mt-8 mb-8 lg:mb-8"><AnnouncementBadgeurl="/launch-week"badge="Launch Week 12"diff --git a/apps/www/components/Nav/ProductDropdown.tsx b/apps/www/components/Nav/ProductDropdown.tsxindex 06524cb21d8..e7ae5643202 100644--- a/apps/www/components/Nav/ProductDropdown.tsx+++ b/apps/www/components/Nav/ProductDropdown.tsx@@ -11,6 +11,8 @@ import MenuItem from './MenuItem'import ComparisonsData from 'data/Comparisons'import CustomersData from 'data/CustomerStories'import SolutionsData from 'data/Solutions'+import EventCallout from '../EventCallout'+import Panel from '../Panel'const ProductDropdown = () => {const { basePath } = useRouter()@@ -66,22 +68,29 @@ const ProductDropdown = () => {))}</ul></div>- <div className="col-span-2">- <p className="text-foreground-lighter text-xs uppercase tracking-widest font-mono mb-6">- {ComparisonsData.label}- </p>- <ul className="flex flex-col gap-2">- {ComparisonsData.comparisons.map((link) => (- <li key={link.text}>- <TextLink- chevronAnimation="fadeIn"- url={link.url}- label={link.text}- className="mt-0 hover:text-foreground focus-visible:text-foreground focus-visible:ring-offset-4 focus-visible:ring-offset-background-overlay"- />- </li>- ))}- </ul>+ <div className="col-span-2 grid grid-cols-1 xl:grid-cols-2 gap-6 xl:gap-2">+ <div>+ <p className="text-foreground-lighter text-xs uppercase tracking-widest font-mono mb-6">+ {ComparisonsData.label}+ </p>+ <ul className="flex flex-col gap-2">+ {ComparisonsData.comparisons.map((link) => (+ <li key={link.text}>+ <TextLink+ chevronAnimation="fadeIn"+ url={link.url}+ label={link.text}+ className="mt-0 hover:text-foreground focus-visible:text-foreground focus-visible:ring-offset-4 focus-visible:ring-offset-background-overlay"+ />+ </li>+ ))}+ </ul>+ </div>+ <div>+ <Panel outerClassName="rounded-md" innerClassName="bg-surface-100 rounded-md">+ <EventCallout className="px-4 py-2" />+ </Panel>+ </div></div></div></div>diff --git a/apps/www/components/UI/SectionHeader.tsx b/apps/www/components/UI/SectionHeader.tsxindex e28cd3a06ae..e64e34d66a0 100644--- a/apps/www/components/UI/SectionHeader.tsx+++ b/apps/www/components/UI/SectionHeader.tsx@@ -2,7 +2,7 @@ const SectionHeader = (props: any) => {return (<div className={props.className}><div className="space-y-4">- <span className="text-muted block font-mono text-xs uppercase tracking-widest">+ <span className="text-foreground-lighter block font-mono text-xs uppercase tracking-widest">{props.subtitle}</span><h3 className="h2">diff --git a/apps/www/internals/generate-sitemap.mjs b/apps/www/internals/generate-sitemap.mjsindex d939020a4c6..b1ef7263aad 100644--- a/apps/www/internals/generate-sitemap.mjs+++ b/apps/www/internals/generate-sitemap.mjs@@ -18,6 +18,7 @@ async function generate() {'_blog/*.mdx','_case-studies/*.mdx','_customers/*.mdx',+ '_events/*.mdx','_alternatives/*.mdx','!pages/index.tsx','!data/*.mdx',@@ -32,6 +33,7 @@ async function generate() {const blogUrl = 'blog'const caseStudiesUrl = 'case-studies'const customerStoriesUrl = 'customers'+ const eventsUrl = 'events'const sitemap = `<?xml version="1.0" encoding="UTF-8"?>@@ -47,6 +49,7 @@ async function generate() {.replace('_blog', `/${blogUrl}`).replace('_case-studies', `/${caseStudiesUrl}`).replace('_customers', `/${customerStoriesUrl}`)+ .replace('_events', `/${eventsUrl}`).replace('_alternatives', '/alternatives').replace('.tsx', '').replace('.mdx', '')@@ -64,6 +67,7 @@ async function generate() {if (route === '/partners/[slug]') return nullif (route === '/case-studies/[slug]') return nullif (route === '/customers/[slug]') return null+ if (route === '/events/[slug]') return nullif (route === '/launch-week/ticket-image') return null/**diff --git a/apps/www/lib/authors.json b/apps/www/lib/authors.jsonindex e836a3f53fd..e8ef0df1a87 100644--- a/apps/www/lib/authors.json+++ b/apps/www/lib/authors.json@@ -477,5 +477,13 @@"position": "Guest Author","author_url": "https://github.com/PeerRich","author_image_url": "https://github.com/PeerRich.png"+ },+ {+ "author_id": "khajvandi",+ "author": "Cyrus Khajvandi",+ "username": "khajvandi",+ "position": "Co-Founder & CEO, Humata",+ "author_url": "https://www.linkedin.com/in/khajvandi/",+ "author_image_url": "https://media.licdn.com/dms/image/v2/D5603AQGZst2tvV47PA/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1694666298155?e=1728518400&v=beta&t=Jkt6ii4cV8FsvU4qONEGFVUADw-Zc_WI1h-pSrenxGg"}]diff --git a/apps/www/lib/gaEvents.ts b/apps/www/lib/gaEvents.tsindex 497b32088d6..a9a2ac7111e 100644--- a/apps/www/lib/gaEvents.ts+++ b/apps/www/lib/gaEvents.ts@@ -85,6 +85,11 @@ const TelemetryEvents: TelemetryEventType = {category: 'www_pricing_comparison',label: 'enterprise',},+ www_event_main_cta: {+ action: 'click',+ category: 'www_event_page',+ label: 'main_cta',+ },}export default TelemetryEventsdiff --git a/apps/www/lib/posts.tsx b/apps/www/lib/posts.tsxindex 6e59efce7fd..4f56beb4141 100644--- a/apps/www/lib/posts.tsx+++ b/apps/www/lib/posts.tsx@@ -3,7 +3,7 @@ import path from 'path'import matter from 'gray-matter'import { generateReadingTime } from './helpers'-type Directories = '_blog' | '_case-studies' | '_customers' | '_alternatives'+type Directories = '_blog' | '_case-studies' | '_customers' | '_alternatives' | '_events'// substring amount for file names// based on YYYY-MM-DD formatdiff --git a/apps/www/next-env.d.ts b/apps/www/next-env.d.tsindex 4f11a03dc6c..fd36f9494e2 100644--- a/apps/www/next-env.d.ts+++ b/apps/www/next-env.d.ts@@ -1,5 +1,6 @@/// <reference types="next" />/// <reference types="next/image-types/global" />+/// <reference types="next/navigation-types/compat/navigation" />// NOTE: This file should not be edited// see https://nextjs.org/docs/basic-features/typescript for more information.diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjsindex 8f8938c6b96..ce79046850a 100644--- a/apps/www/next.config.mjs+++ b/apps/www/next.config.mjs@@ -65,6 +65,7 @@ const nextConfig = {'s3-us-west-2.amazonaws.com','supabase.com','user-images.githubusercontent.com',+ 'media.licdn.com',],},async headers() {diff --git a/apps/www/package.json b/apps/www/package.jsonindex ed28fb6d69c..575e8f9fdf3 100644--- a/apps/www/package.json+++ b/apps/www/package.json@@ -37,7 +37,7 @@"config": "*","contentlayer2": "0.4.6","dat.gui": "^0.7.9",- "dayjs": "^1.11.10",+ "dayjs": "^1.11.12","eslint-config-supabase": "*","framer-motion": "^11.0.3","globby": "^13.2.2",diff --git a/apps/www/pages/events/[slug].tsx b/apps/www/pages/events/[slug].tsxnew file mode 100644index 00000000000..b99330b9129--- /dev/null+++ b/apps/www/pages/events/[slug].tsx@@ -0,0 +1,326 @@+import React from 'react'+import Link from 'next/link'+import Image from 'next/image'+import { useRouter } from 'next/router'+import type { GetStaticProps, InferGetStaticPropsType } from 'next'+import { MDXRemote } from 'next-mdx-remote'+import { NextSeo } from 'next-seo'+import dayjs from 'dayjs'+import matter from 'gray-matter'+import { VideoCameraIcon } from '@heroicons/react/solid'++import authors from 'lib/authors.json'+import { isNotNullOrUndefined } from '~/lib/helpers'+import mdxComponents from '~/lib/mdx/mdxComponents'+import { mdxSerialize } from '~/lib/mdx/mdxSerialize'+import { getAllPostSlugs, getPostdata } from '~/lib/posts'+import { isBrowser, useTelemetryProps } from 'common'+import Telemetry, { TelemetryEvent } from '~/lib/telemetry'+import gaEvents from '~/lib/gaEvents'++import { Button } from 'ui'+import DefaultLayout from '~/components/Layouts/Default'+import SectionContainer from '~/components/Layouts/SectionContainer'+import ShareArticleActions from '~/components/Blog/ShareArticleActions'++import utc from 'dayjs/plugin/utc'+import timezone from 'dayjs/plugin/timezone'+import advancedFormat from 'dayjs/plugin/advancedFormat'++dayjs.extend(utc)+dayjs.extend(timezone)+dayjs.extend(advancedFormat)++type EventType = 'webinar' | 'launch_week' | 'conference'++type CTA = {+ url: string+ label?: string+ target?: '_blank' | '_self'+}++interface EventData {+ title: string+ subtitle?: string+ main_cta?: CTA+ description: string+ type: EventType+ duration?: string+ timezone?: string+ tags?: string[]+ date: string+ speakers: string+ image?: string+ thumb?: string+ youtubeHero?: string+ author_url?: string+ launchweek?: number | string+ meta_title?: string+ meta_description?: string+ video?: string+}++type EventPageProps = {+ event: Event & EventData+}++type MatterReturn = {+ data: EventData+ content: string+}++type Event = {+ slug: string+ source: string+ content: any+}++type Params = {+ slug: string+}++export async function getStaticPaths() {+ const paths = getAllPostSlugs('_events')+ return {+ paths,+ fallback: false,+ }+}++export const getStaticProps: GetStaticProps<EventPageProps, Params> = async ({ params }) => {+ if (params?.slug === undefined) {+ throw new Error('Missing slug for pages/event/[slug].tsx')+ }++ const filePath = `${params.slug}`+ const postContent = await getPostdata(filePath, '_events')+ const { data, content } = matter(postContent) as unknown as MatterReturn++ const mdxSource: any = await mdxSerialize(content)++ return {+ props: {+ event: {+ slug: `${params.slug}`,+ source: content,+ ...data,+ content: mdxSource,+ },+ },+ }+}++const EventPage = ({ event }: InferGetStaticPropsType<typeof getStaticProps>) => {+ const content = event.content+ const speakersArray = event.speakers?.split(',')+ const speakers = speakersArray+ ?.map((speakerId: string) => {+ return authors.find((author) => author.author_id === speakerId)+ })+ .filter(isNotNullOrUndefined)++ const IS_REGISTRATION_OPEN = Date.parse(event.date) > Date.now()++ const meta = {+ title: event.meta_title ?? event.title,+ description: event.meta_description ?? event.description,+ url: `https://supabase.com/events/${event.slug}`,+ }++ const eventIcons = {+ webinar: (props: any) => <VideoCameraIcon {...props} />,+ conference: (props: any) => <VideoCameraIcon {...props} />,+ launch_week: (props: any) => <VideoCameraIcon {...props} />,+ }++ const Icon = eventIcons[event.type]++ const router = useRouter()+ const telemetryProps = useTelemetryProps()+ const sendTelemetryEvent = async (event: TelemetryEvent) => {+ await Telemetry.sendEvent(event, telemetryProps, router)+ }++ const origin = isBrowser+ ? location.origin+ : process.env.VERCEL_URL+ ? process.env.VERCEL_URL+ : 'https://supabase.com'++ return (+ <>+ <NextSeo+ title={meta.title}+ description={meta.description}+ openGraph={{+ title: meta.title,+ description: meta.description,+ url: meta.url,+ type: 'article',+ images: [+ {+ url: `${origin}${router.basePath}/images/events/${event.thumb ? event.thumb : event.image}`,+ alt: `${event.title} thumbnail`,+ width: 1200,+ height: 627,+ },+ ],+ videos: event.video+ ? [+ {+ // youtube based video meta+ url: event.video,+ type: 'application/x-shockwave-flash',+ width: 640,+ height: 385,+ },+ ]+ : undefined,+ article: {+ publishedTime: event.date,+ tags: event.tags?.map((cat: string) => {+ return cat+ }),+ },+ }}+ />+ <DefaultLayout>+ <div className="flex flex-col w-full">+ <header className="relative bg-alternative w-full overflow-hidden">+ <Image+ src="/images/events/events-bg-dark.svg"+ alt=""+ fill+ sizes="100%"+ className="not-sr-only hidden dark:block w-full h-full absolute inset-0 object-cover object-bottom"+ />+ <Image+ src="/images/events/events-bg-light.svg"+ alt=""+ fill+ sizes="100%"+ className="not-sr-only block dark:hidden w-full h-full absolute inset-0 object-cover object-bottom"+ />+ <SectionContainer className="relative z-10 grid lg:min-h-[400px] h-full grid-cols-1 lg:grid-cols-2 gap-8 text-foreground-light">+ <div className="h-full flex flex-col justify-between">+ <div className="flex flex-col gap-2 md:gap-3 items-start mb-8">+ <div className="flex flex-row text-sm items-center flex-wrap">+ <Icon className="hidden sm:inline-block w-4 h-4 text-brand mr-2" />+ <span className="uppercase text-brand font-mono">{event.type}</span>+ <span className="mx-3 px-3 border-x">+ {dayjs(event.date).tz(event.timezone).format(`DD MMM YYYY [at] hA z`)}+ </span>+ <span className="">Duration: {event.duration}</span>+ </div>++ <h1 className="text-foreground text-3xl lg:text-4xl">{event.title}</h1>+ <p>{event.subtitle}</p>+ <Button+ type="primary"+ size="medium"+ className="mt-2"+ disabled={!IS_REGISTRATION_OPEN}+ asChild+ >+ <Link+ href={event.main_cta?.url ?? '#'}+ target={event.main_cta?.target ? event.main_cta?.target : undefined}+ onClick={() => sendTelemetryEvent(gaEvents['www_event'])}+ >+ {IS_REGISTRATION_OPEN+ ? event.main_cta?.label+ ? event.main_cta?.label+ : 'Register to this event'+ : 'Registrations are closed'}+ </Link>+ </Button>+ </div>+ <div className="flex flex-col text-sm">+ <span>Share on</span>+ <ShareArticleActions title={meta.title} slug={meta.url} basePath="" />+ </div>+ </div>+ {!!event.image && (+ <div className="relative w-full aspect-[2/1] lg:aspect-[3/2] overflow-auto rounded-lg border z-10">+ <Image+ src={`/images/events/` + event.image}+ fill+ sizes="100%"+ quality={100}+ className="object-cover object-center"+ alt={`${event.title} thumbnail`}+ />+ </div>+ )}+ </SectionContainer>+ </header>+ <SectionContainer className="grid lg:grid-cols-3 gap-12">+ <main className="lg:col-span-2">+ <div className="prose prose-docs">+ <h2 className="text-foreground-light text-sm font-mono uppercase">+ About this event+ </h2>+ <MDXRemote {...content} components={mdxComponents()} />+ </div>+ <aside className="mt-8">+ <Button+ type="primary"+ size="medium"+ className="mt-2"+ disabled={!IS_REGISTRATION_OPEN}+ asChild+ >+ <Link+ href={event.main_cta?.url ?? '#'}+ aria-disabled={!IS_REGISTRATION_OPEN}+ target={event.main_cta?.target ? event.main_cta?.target : undefined}+ >+ {IS_REGISTRATION_OPEN+ ? event.main_cta?.label+ ? event.main_cta?.label+ : 'Register now'+ : 'Registrations are closed'}+ </Link>+ </Button>+ </aside>+ </main>+ <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>+ <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}>+ <Link href={speaker.author_url} target="_blank" className="flex gap-4">+ <div className="relative ring-background w-10 h-10 md:w-12 md:h-12 rounded-full ring-2 cursor-pointer">+ {speaker?.author_image_url && (+ <Image+ src={speaker.author_image_url}+ className="rounded-full object-cover border border-default w-full h-full"+ alt={`${speaker.author} avatar`}+ fill+ draggable={false}+ />+ )}+ </div>+ <div className="flex flex-col gap-1">+ <p>{speaker?.author}</p>+ <span className="text-xs text-foreground-light">+ {speaker?.position}+ </span>+ </div>+ </Link>+ </li>+ ))}+ </ul>+ </div>+ )}+ </aside>+ </SectionContainer>+ </div>+ </DefaultLayout>+ </>+ )+}++export default EventPagediff --git a/apps/www/public/images/events/events-bg-dark.svg b/apps/www/public/images/events/events-bg-dark.svgnew file mode 100644index 00000000000..f496517f5c2--- /dev/null+++ b/apps/www/public/images/events/events-bg-dark.svg@@ -0,0 +1,108 @@+<svg width="1680" height="712" viewBox="0 0 1680 712" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_102_14286)">+<rect x="1170.53" y="599.434" width="518.092" height="37.3916" fill="#0F0F0F"/>+<rect x="1170.53" y="599.434" width="518.092" height="37.3916" fill="#121212"/>+<rect x="1081.83" y="674.581" width="266.106" height="37.3916" fill="#0F0F0F"/>+<rect x="1081.83" y="674.581" width="266.106" height="37.3916" fill="#121212"/>+<rect x="1081.83" y="523.546" width="354.808" height="37.3916" fill="#0F0F0F"/>+<rect x="1081.83" y="523.546" width="354.808" height="37.3916" fill="#121212"/>+<rect x="1436.64" y="447.657" width="251.986" height="37.3916" fill="#0F0F0F"/>+<rect x="1436.64" y="447.657" width="251.986" height="37.3916" fill="#121212"/>+<rect x="1081.83" y="675.203" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="904.428" y="408.487" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1259.24" y="675.203" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1170.53" y="675.203" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1081.83" y="370.398" width="88.702" height="38.0886" fill="#0F0F0F"/>+<rect x="1081.83" y="370.398" width="88.702" height="38.0886" fill="#121212"/>+<rect x="1081.83" y="370.398" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="993.13" y="294.221" width="88.702" height="38.0886" fill="#0F0F0F"/>+<rect x="993.13" y="294.221" width="88.702" height="38.0886" fill="#121212"/>+<rect x="993.13" y="294.221" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1436.64" y="675.203" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1170.53" y="599.026" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1259.24" y="599.026" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1347.94" y="599.026" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1436.64" y="599.026" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1525.34" y="599.026" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1614.04" y="599.026" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1347.94" y="408.487" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1259.24" y="332.31" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1436.64" y="370.398" width="88.702" height="38.0886" fill="#0F0F0F"/>+<rect x="1436.64" y="370.398" width="88.702" height="38.0886" fill="#121212"/>+<rect x="1436.64" y="370.398" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1436.64" y="294.221" width="88.702" height="38.0886" fill="#0F0F0F"/>+<rect x="1436.64" y="294.221" width="88.702" height="38.0886" fill="#121212"/>+<rect x="1436.64" y="294.221" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1436.64" y="446.576" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1525.34" y="446.576" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1614.04" y="446.576" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1347.94" y="484.664" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1436.64" y="484.664" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1525.34" y="484.664" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1614.04" y="484.664" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="460.918" y="522.849" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="549.62" y="484.664" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="638.322" y="522.849" width="88.702" height="38.0886" fill="#0F0F0F"/>+<rect x="638.322" y="522.849" width="88.702" height="38.0886" fill="#121212"/>+<rect x="638.322" y="522.849" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="727.024" y="522.849" width="88.702" height="38.0886" fill="#0F0F0F"/>+<rect x="727.024" y="522.849" width="88.702" height="38.0886" fill="#121212"/>+<rect x="727.024" y="522.849" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="904.428" y="522.849" width="88.702" height="38.0886" fill="#0F0F0F"/>+<rect x="904.428" y="522.849" width="88.702" height="38.0886" fill="#121212"/>+<rect x="904.428" y="522.849" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1081.83" y="522.849" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1170.53" y="522.849" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1259.24" y="522.849" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1347.94" y="522.849" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="815.726" y="637.114" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1170.53" y="637.114" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1259.24" y="637.114" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1347.94" y="637.114" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1436.64" y="637.114" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="815.726" y="560.937" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="904.428" y="599.026" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="993.13" y="560.937" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1081.83" y="560.937" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1170.53" y="560.937" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1259.24" y="560.937" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1347.94" y="560.937" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1436.64" y="560.937" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<rect x="1525.34" y="560.937" width="88.702" height="38.0886" stroke="#242424" stroke-width="0.860678"/>+<path opacity="0.5" d="M904.428 637.756L904.428 561.483" stroke="url(#paint0_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M815.726 599.122L815.726 522.849" stroke="url(#paint1_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M1436.64 539.558L1436.64 446.576" stroke="url(#paint2_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M1436.64 693.277L1436.64 600.295" stroke="url(#paint3_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M1347.94 577.743L1347.94 484.76" stroke="url(#paint4_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M1614.04 655.189L1614.04 562.206" stroke="url(#paint5_linear_102_14286)" stroke-width="1.29102"/>+</g>+<defs>+<linearGradient id="paint0_linear_102_14286" x1="903.928" y1="637.756" x2="903.928" y2="561.483" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint1_linear_102_14286" x1="815.226" y1="599.122" x2="815.226" y2="522.849" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint2_linear_102_14286" x1="1436.14" y1="539.558" x2="1436.14" y2="446.576" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint3_linear_102_14286" x1="1436.14" y1="693.277" x2="1436.14" y2="600.295" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint4_linear_102_14286" x1="1347.44" y1="577.743" x2="1347.44" y2="484.76" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint5_linear_102_14286" x1="1613.54" y1="655.189" x2="1613.54" y2="562.206" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<clipPath id="clip0_102_14286">+<rect width="1680" height="712" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/apps/www/public/images/events/events-bg-light.svg b/apps/www/public/images/events/events-bg-light.svgnew file mode 100644index 00000000000..c70c833926e--- /dev/null+++ b/apps/www/public/images/events/events-bg-light.svg@@ -0,0 +1,108 @@+<svg width="1680" height="712" viewBox="0 0 1680 712" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_102_14286)">+<rect x="1170.53" y="599.434" width="518.092" height="37.3916" fill="#FDFDFD"/>+<rect x="1170.53" y="599.434" width="518.092" height="37.3916" fill="#FCFCFC"/>+<rect x="1081.83" y="674.581" width="266.106" height="37.3916" fill="#FDFDFD"/>+<rect x="1081.83" y="674.581" width="266.106" height="37.3916" fill="#FCFCFC"/>+<rect x="1081.83" y="523.546" width="354.808" height="37.3916" fill="#FDFDFD"/>+<rect x="1081.83" y="523.546" width="354.808" height="37.3916" fill="#FCFCFC"/>+<rect x="1436.64" y="447.657" width="251.986" height="37.3916" fill="#FDFDFD"/>+<rect x="1436.64" y="447.657" width="251.986" height="37.3916" fill="#FCFCFC"/>+<rect x="1081.83" y="675.203" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="904.428" y="408.487" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1259.24" y="675.203" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1170.53" y="675.203" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1081.83" y="370.398" width="88.702" height="38.0886" fill="#FDFDFD"/>+<rect x="1081.83" y="370.398" width="88.702" height="38.0886" fill="#FCFCFC"/>+<rect x="1081.83" y="370.398" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="993.13" y="294.221" width="88.702" height="38.0886" fill="#FDFDFD"/>+<rect x="993.13" y="294.221" width="88.702" height="38.0886" fill="#FCFCFC"/>+<rect x="993.13" y="294.221" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1436.64" y="675.203" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1170.53" y="599.026" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1259.24" y="599.026" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1347.94" y="599.026" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1436.64" y="599.026" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1525.34" y="599.026" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1614.04" y="599.026" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1347.94" y="408.487" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1259.24" y="332.31" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1436.64" y="370.398" width="88.702" height="38.0886" fill="#FDFDFD"/>+<rect x="1436.64" y="370.398" width="88.702" height="38.0886" fill="#FCFCFC"/>+<rect x="1436.64" y="370.398" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1436.64" y="294.221" width="88.702" height="38.0886" fill="#FDFDFD"/>+<rect x="1436.64" y="294.221" width="88.702" height="38.0886" fill="#FCFCFC"/>+<rect x="1436.64" y="294.221" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1436.64" y="446.576" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1525.34" y="446.576" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1614.04" y="446.576" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1347.94" y="484.664" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1436.64" y="484.664" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1525.34" y="484.664" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1614.04" y="484.664" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="460.918" y="522.849" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="549.62" y="484.664" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="638.322" y="522.849" width="88.702" height="38.0886" fill="#FDFDFD"/>+<rect x="638.322" y="522.849" width="88.702" height="38.0886" fill="#FCFCFC"/>+<rect x="638.322" y="522.849" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="727.024" y="522.849" width="88.702" height="38.0886" fill="#FDFDFD"/>+<rect x="727.024" y="522.849" width="88.702" height="38.0886" fill="#FCFCFC"/>+<rect x="727.024" y="522.849" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="904.428" y="522.849" width="88.702" height="38.0886" fill="#FDFDFD"/>+<rect x="904.428" y="522.849" width="88.702" height="38.0886" fill="#FCFCFC"/>+<rect x="904.428" y="522.849" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1081.83" y="522.849" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1170.53" y="522.849" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1259.24" y="522.849" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1347.94" y="522.849" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="815.726" y="637.114" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1170.53" y="637.114" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1259.24" y="637.114" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1347.94" y="637.114" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1436.64" y="637.114" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="815.726" y="560.937" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="904.428" y="599.026" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="993.13" y="560.937" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1081.83" y="560.937" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1170.53" y="560.937" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1259.24" y="560.937" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1347.94" y="560.937" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1436.64" y="560.937" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<rect x="1525.34" y="560.937" width="88.702" height="38.0886" stroke="#EDEDED" stroke-width="0.860678"/>+<path opacity="0.5" d="M904.428 637.756L904.428 561.483" stroke="url(#paint0_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M815.726 599.122L815.726 522.849" stroke="url(#paint1_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M1436.64 539.558L1436.64 446.576" stroke="url(#paint2_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M1436.64 693.277L1436.64 600.295" stroke="url(#paint3_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M1347.94 577.743L1347.94 484.76" stroke="url(#paint4_linear_102_14286)" stroke-width="1.29102"/>+<path opacity="0.5" d="M1614.04 655.189L1614.04 562.206" stroke="url(#paint5_linear_102_14286)" stroke-width="1.29102"/>+</g>+<defs>+<linearGradient id="paint0_linear_102_14286" x1="903.928" y1="637.756" x2="903.928" y2="561.483" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint1_linear_102_14286" x1="815.226" y1="599.122" x2="815.226" y2="522.849" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint2_linear_102_14286" x1="1436.14" y1="539.558" x2="1436.14" y2="446.576" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint3_linear_102_14286" x1="1436.14" y1="693.277" x2="1436.14" y2="600.295" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint4_linear_102_14286" x1="1347.44" y1="577.743" x2="1347.44" y2="484.76" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<linearGradient id="paint5_linear_102_14286" x1="1613.54" y1="655.189" x2="1613.54" y2="562.206" gradientUnits="userSpaceOnUse">+<stop stop-color="#676C6A" stop-opacity="0"/>+<stop offset="0.67" stop-color="white"/>+</linearGradient>+<clipPath id="clip0_102_14286">+<rect width="1680" height="712" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/apps/www/public/images/events/webinars/scale-to-billions-generative-ai-humata.png b/apps/www/public/images/events/webinars/scale-to-billions-generative-ai-humata.pngnew file mode 100644index 00000000000..4ff0e4e97d2Binary files /dev/null and b/apps/www/public/images/events/webinars/scale-to-billions-generative-ai-humata.png differdiff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xmlindex 992d6d44d2b..b3582a21561 100644--- a/apps/www/public/rss.xml+++ b/apps/www/public/rss.xml@@ -5,9 +5,37 @@<link>https://supabase.com</link><description>Latest news from Supabase</description><language>en</language>- <lastBuildDate>Tue, 25 Jun 2024 22:00:00 GMT</lastBuildDate>+ <lastBuildDate>Mon, 15 Jul 2024 22:00:00 GMT</lastBuildDate><atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/><item>+ <guid>https://supabase.com/blog/supabase-js-on-jsr</guid>+ <title>Announcing Supabase on JSR</title>+ <link>https://supabase.com/blog/supabase-js-on-jsr</link>+ <description>Supabase is now available on the open source JavaScript Registry (JSR).</description>+ <pubDate>Mon, 15 Jul 2024 22:00:00 GMT</pubDate>+</item>+<item>+ <guid>https://supabase.com/blog/range-columns</guid>+ <title>Simplifying Time-Based Queries with Range Columns</title>+ <link>https://supabase.com/blog/range-columns</link>+ <description>Learn how to use range columns in Postgres to simplify time-based queries and add constraints to prevent overlaps.</description>+ <pubDate>Wed, 10 Jul 2024 22:00:00 GMT</pubDate>+</item>+<item>+ <guid>https://supabase.com/blog/hardening-supabase</guid>+ <title>Supabase Security Suite</title>+ <link>https://supabase.com/blog/hardening-supabase</link>+ <description>Learn how to use range columns in Postgres to simplify time-based queries and add constraints to prevent overlaps.</description>+ <pubDate>Wed, 10 Jul 2024 22:00:00 GMT</pubDate>+</item>+<item>+ <guid>https://supabase.com/blog/postgres-realtime-location-sharing-with-maplibre</guid>+ <title>Postgres Realtime location sharing with MapLibre</title>+ <link>https://supabase.com/blog/postgres-realtime-location-sharing-with-maplibre</link>+ <description>Use Supabase Realtime to draw live location data onto the map with MapLibre GL JS.</description>+ <pubDate>Wed, 03 Jul 2024 22:00:00 GMT</pubDate>+</item>+<item><guid>https://supabase.com/blog/postgis-generate-vector-tiles</guid><title>Generate Vector Tiles with PostGIS</title><link>https://supabase.com/blog/postgis-generate-vector-tiles</link>@@ -478,7 +506,7 @@</item><item><guid>https://supabase.com/blog/organization-based-billing</guid>- <title>Organization-based Billing, Project Transfers, Team plan</title>+ <title>Organization-based Billing, Project Transfers, Team Plan</title><link>https://supabase.com/blog/organization-based-billing</link><description>Introducing the new Organization-based Billing</description><pubDate>Wed, 30 Aug 2023 22:00:00 GMT</pubDate>diff --git a/apps/www/public/sitemap_www.xml b/apps/www/public/sitemap_www.xmlindex b3ad05d1ca6..139c3e902da 100644--- a/apps/www/public/sitemap_www.xml+++ b/apps/www/public/sitemap_www.xml@@ -1748,6 +1748,24 @@<priority>0.5</priority></url>+ <url>+ <loc>https://supabase.com/blog/hardening-supabase</loc>+ <changefreq>weekly</changefreq>+ <priority>0.5</priority>+ </url>++ <url>+ <loc>https://supabase.com/blog/range-columns</loc>+ <changefreq>weekly</changefreq>+ <priority>0.5</priority>+ </url>++ <url>+ <loc>https://supabase.com/blog/supabase-js-on-jsr</loc>+ <changefreq>weekly</changefreq>+ <priority>0.5</priority>+ </url>+<url><loc>https://supabase.com/customers/berriai</loc><changefreq>weekly</changefreq>@@ -1850,6 +1868,12 @@<priority>0.5</priority></url>+ <url>+ <loc>https://supabase.com/events/scale-to-billions-generative-ai-humata</loc>+ <changefreq>weekly</changefreq>+ <priority>0.5</priority>+ </url>+<url><loc>https://supabase.com/alternatives/supabase-vs-auth0</loc><changefreq>weekly</changefreq>diff --git a/package-lock.json b/package-lock.jsonindex c683788549d..ec9f240db55 100644--- a/package-lock.json+++ b/package-lock.json@@ -2786,7 +2786,7 @@"config": "*","contentlayer2": "0.4.6","dat.gui": "^0.7.9",- "dayjs": "^1.11.10",+ "dayjs": "^1.11.12","eslint-config-supabase": "*","framer-motion": "^11.0.3","globby": "^13.2.2",@@ -19055,7 +19055,9 @@}},"node_modules/dayjs": {- "version": "1.11.10",+ "version": "1.11.12",+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.12.tgz",+ "integrity": "sha512-Rt2g+nTbLlDWZTwwrIXjy9MeiZmSDI375FvZs72ngxx8PDC6YXOeR3q5LAuPzjZQxhiWdRKac7RKV+YyQYfYIg==","license": "MIT"},"node_modules/debounce": {