The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Updates
Terry Sutton061e70a08a8a
diff --git a/apps/www/components/LaunchWeek/ReferralIndicator.tsx b/apps/www/components/LaunchWeek/ReferralIndicator.tsxindex 294bf8d4990..d6ecf434969 100644--- a/apps/www/components/LaunchWeek/ReferralIndicator.tsx+++ b/apps/www/components/LaunchWeek/ReferralIndicator.tsx@@ -6,15 +6,15 @@ export default function ReferralIndicator() {const winningChances = useWinningChances()return (- <div className="bg-[#EAEAEA75] rounded-full mt-4 flex">+ <div className="bg-[#EAEAEA75] rounded-full mt-4 flex w-full"><spanclassName={['bg-gradient-to-l from-[#A141E4] to-[#6300F569] rounded-full pl-4 pr-6 py-1.5 text-xs',winningChances === 2 ? 'w-1/2' : '',- winningChances === 3 ? 'w-full' : '',+ winningChances === 3 ? 'w-full bg-gradient-to-l from-[#E4B641] to-[#F5BF0069]' : '',].join(' ')}>- {winningChances}x {winningChances > 1 ? 'chances' : 'chance'}+ {winningChances}x chance</span></div>)diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-copy.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-copy.tsxindex 0023a661936..a66e1a062c1 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-copy.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ticket-copy.tsx@@ -71,6 +71,7 @@ export default function TicketCopy({ username }: Props) {styleUtils['appear-third'],'bg-scaleA-200 h-8 rounded-md border border-scale-1100 w-full')}+ id="wayfinding--ticket-copy"><div className="px-3 h-full flex items-center gap-3 w-full truncate relative pr-20 bg-[#D9D9D94D]"><div className="flex items-center truncate">diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-mono.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-mono.tsxindex c4e5eb46b0f..bd4271d2651 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-mono.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ticket-mono.tsx@@ -7,7 +7,7 @@ export default function TicketMono({ golden = false }: { golden?: boolean }) {<svgwidth="100%"height="100%"- viewBox="0 0 650 330"+ viewBox="0 0 650 290"fill="none"xmlns="http://www.w3.org/2000/svg">@@ -17,7 +17,6 @@ export default function TicketMono({ golden = false }: { golden?: boolean }) {d="M21 5C12.1634 5 5 12.1634 5 21V133.388C20.2981 135.789 32 149.028 32 165C32 180.972 20.2981 194.211 5 196.612V309C5 317.837 12.1634 325 21 325H629C637.837 325 645 317.837 645 309V196.612C629.702 194.211 618 180.972 618 165C618 149.028 629.702 135.789 645 133.388V21C645 12.1634 637.837 5 629 5H21Z"// fill="black"/>- <path d="M512 5V326" stroke={perforationColor} strokeDasharray="4 4" /></svg>)}diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-number.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-number.tsxindex c0979dfb2c1..0f7c29f1e20 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-number.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ticket-number.tsx@@ -1,22 +1,53 @@type Props = {- number: number+ number: number | undefined}export default function TicketNumber({ number }: Props) {const numDigits = `${number}`.lengthconst prefix = `00000000`.slice(numDigits)return (- <div- className="absolute bottom-10 lg:bottom-0 right-24 dark:text-white"- id="wayfinding--ticket-number-outer"- >+ <><div- className="text-4xl leading-[1] w-[380px] text-center bg-clip-text lg:transform lg:rotate-90 lg:translate-y-100 origin-bottom-right bg-gradient-to-r from-white via-white"- id="wayfinding--ticket-number-inner"+ className="absolute bottom-10 lg:bottom-0 right-24 dark:text-white"+ id="wayfinding--ticket-number-outer">- № {prefix}- {number}+ <div+ className="text-[42px] leading-[1] w-[370px] text-center bg-clip-text lg:transform lg:rotate-90 lg:translate-y-100 origin-bottom-right bg-gradient-to-r from-white via-white"+ id="wayfinding--ticket-number-inner"+ >+ № {prefix}+ {number}+ </div></div>- </div>+ <div className="absolute right-28 top-3 w-4 h-[290px]" id="wayfinding--ticket-stitch">+ <svg+ width="2"+ height="328"+ viewBox="0 0 2 328"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ d="M0.601562 0.988281V327.763"+ stroke="url(#paint0_linear_1736_81388)"+ stroke-dasharray="2 2"+ />+ <defs>+ <linearGradient+ id="paint0_linear_1736_81388"+ x1="1.10156"+ y1="0.988281"+ x2="1.10156"+ y2="327.763"+ gradientUnits="userSpaceOnUse"+ >+ <stop stop-color="white" stop-opacity="0" />+ <stop offset="0.53125" stop-color="white" />+ <stop offset="1" stop-color="white" stop-opacity="0" />+ </linearGradient>+ </defs>+ </svg>+ </div>+ </>)}diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsxindex 5fe649962d4..1be2fca5301 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx@@ -63,7 +63,7 @@ export default function TicketVisual({</div>*/}</div></div>- <div className={cn(styles['horizontal-ticket'], 'wayfinding--TicketMono-container')}>+ <div className={cn(styles['horizontal-ticket'])} id="wayfinding--TicketMono-container"><TicketMono golden={golden} /></div><div className={styles['vertical-ticket']}>@@ -83,7 +83,7 @@ export default function TicketVisual({golden={golden}/></div>- {ticketNumber && <TicketNumber number={ticketNumber} />}+ <TicketNumber number={ticketNumber} /></div></>)diff --git a/apps/www/components/LaunchWeek/Ticket/ticket.tsx b/apps/www/components/LaunchWeek/Ticket/ticket.tsxindex c5568aba82e..bbae5af07a7 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ticket.tsx@@ -74,32 +74,39 @@ export default function Ticket({styles['ticket-visual'],styleUtils.appear,styleUtils['appear-fourth'],- 'relative mx-2 rounded-xl h-[390px]'+ username ? 'h-[390px]' : 'h-[350px]',+ 'relative mx-2 rounded-xl')}id="wayfinding--ticket-visual-outer-container"><TicketVisualusername={username ?? undefined}name={name ?? undefined}- ticketNumber={ticketNumber ?? undefined}+ ticketNumber={ticketNumber ?? 0}ticketGenerationState={ticketGenerationState}setTicketGenerationState={setTicketGenerationState}golden={golden}/>+ {username && (+ <div className="mt-4">+ <TicketCopy username={username} />+ </div>+ )}</div>{!sharePage && (<>{username ? (<div className="flex flex-col gap-6 py-4 mx-3">- <div>+ {/* <div><TicketCopy username={username} />- </div>+ </div> */}{/* <div className={`flex flex-col xl:flex-row gap-3 items-center justify-center`}><TicketActions username={username} golden={golden} /></div> */}</div>) : (- <div className={styles['ticket-actions-placeholder']} />+ <></>+ // <div className={styles['ticket-actions-placeholder']} />)}</>)}@@ -145,6 +152,7 @@ export default function Ticket({</p>)}</h1>+<h2 className="text-base max-w-[520px]">{golden ? (<>@@ -152,7 +160,6 @@ export default function Ticket({You got a Golden ticket. This means you’re in, and you also won a Supabase stickerpack!</p>- <p>Referrals: {referrals}</p></>) : (<>@@ -162,8 +169,6 @@ export default function Ticket({Why stop there? Increase your chances of winning by sharing your uniqueticket. Get sharing!</p>-- <ReferralIndicator /></>) : (<p>@@ -174,6 +179,7 @@ export default function Ticket({</>)}</h2>+ {username && <ReferralIndicator />}</div><div className={cn(styleUtils.appear, styleUtils['appear-third'])}>{username && <TicketActions username={username} golden={golden} />}diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsxindex 3c3b9db9dc7..570e4b9d545 100644--- a/apps/www/pages/launch-week/index.tsx+++ b/apps/www/pages/launch-week/index.tsx@@ -130,7 +130,7 @@ export default function TicketHome() {<div className={classNames(styles['bg-lw7-black-transition'], 'h-24 ')}></div></div><div className="bg-black text-white">- <div className="flex gap-4 max-w-7xl mx-auto">+ <div className="flex gap-4 max-w-7xl mx-auto mb-8"><div className=" w-3/5"><div className="grid gap-4 border border-[#484848] rounded-tr-xl rounded-tl-xl overflow-hidden"><div className="relative h-[360px]">