The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: mamba layout (#34498)
Goszczu616b90f78743
diff --git a/apps/www/components/LaunchWeek/14/LwView.tsx b/apps/www/components/LaunchWeek/14/LwView.tsxindex 49291b39475..b6654a47f36 100644--- a/apps/www/components/LaunchWeek/14/LwView.tsx+++ b/apps/www/components/LaunchWeek/14/LwView.tsx@@ -20,6 +20,7 @@ import { Tunnel } from '~/components/LaunchWeek/14/Tunnel'import { TicketShareLayout } from '~/components/LaunchWeek/14/TicketShareLayout'import { useRegistration } from '~/components/LaunchWeek/14/hooks/use-registration'import useConfData from './hooks/use-conf-data'+import { cn } from 'ui'const dates = [new Date('2025-03-31T07:00:00.000-08:00')]@@ -78,7 +79,12 @@ export const LwView = () => {</>)}- <div className="w-full absolute bottom-[55%] md:bottom-[25%] lg:-bottom-8 left-0 right-0 -z-20">+ <div+ className={cn(+ 'w-full absolute bottom-[50%] md:bottom-[25%] lg:-bottom-8 xl:-bottom-16 left-0 right-0 -z-20 overflow-hidden flex justify-center',+ { ['hidden']: state.claimFormState === 'visible' }+ )}+ ><Tunnel /></div></TicketLayoutCanvas>diff --git a/apps/www/components/LaunchWeek/14/TicketCanvas.tsx b/apps/www/components/LaunchWeek/14/TicketCanvas.tsxindex 7d1e5c39356..a301935c297 100644--- a/apps/www/components/LaunchWeek/14/TicketCanvas.tsx+++ b/apps/www/components/LaunchWeek/14/TicketCanvas.tsx@@ -105,7 +105,7 @@ const TicketCanvas = ({ className, onUpgradeToSecret, narrow }: TicketCanvasPropreturn (<divclassName={cn(- 'absolute inset-0 flex justify-center items-center overflow-hidden w-full h-full z-0',+ 'absolute sm:inset-0 flex justify-center items-center overflow-hidden w-full h-full z-0',className)}>diff --git a/apps/www/components/LaunchWeek/14/TicketClaim.tsx b/apps/www/components/LaunchWeek/14/TicketClaim.tsxindex 0a588d852ad..011a49021d1 100644--- a/apps/www/components/LaunchWeek/14/TicketClaim.tsx+++ b/apps/www/components/LaunchWeek/14/TicketClaim.tsx@@ -2,7 +2,7 @@ import { ReactNode } from 'react'import useConfData from './hooks/use-conf-data'export const TicketClaim = ({ children, narrow }: { children: ReactNode; narrow?: boolean }) => {- return <div className={'flex '}>{children}</div>+ return <div className={'flex px-6'}>{children}</div>}export const TicketClaimContent = ({ children }: { children?: ReactNode }) => {diff --git a/apps/www/components/LaunchWeek/14/TicketLayout.tsx b/apps/www/components/LaunchWeek/14/TicketLayout.tsxindex 705d6aa17f3..5dbf0073513 100644--- a/apps/www/components/LaunchWeek/14/TicketLayout.tsx+++ b/apps/www/components/LaunchWeek/14/TicketLayout.tsx@@ -4,7 +4,7 @@ import SectionContainerWithCn from '~/components/Layouts/SectionContainerWithCn'export const TicketLayout = ({ children }: { children: ReactNode }) => {return (- <SectionContainerWithCn height="narrow" className="font-mono z-20 relative">+ <SectionContainerWithCn height="narrow" className="font-mono z-20 relative px-0">{children}</SectionContainerWithCn>)diff --git a/apps/www/components/LaunchWeek/14/TicketShareLayout.tsx b/apps/www/components/LaunchWeek/14/TicketShareLayout.tsxindex e5fad924bd9..d03964e6305 100644--- a/apps/www/components/LaunchWeek/14/TicketShareLayout.tsx+++ b/apps/www/components/LaunchWeek/14/TicketShareLayout.tsx@@ -17,7 +17,7 @@ export const TicketShareLayout = ({return (<divclassName={cn(- 'absolute lg:relative lg:flex lg:flex-col lg:max-w-[450px] xl:max-w-[500px] lg:h-full left-0 right-0 grid justify-center gap-2 md:px-5 lg:px-0',+ 'absolute lg:relative lg:flex lg:flex-col lg:max-w-[450px] xl:max-w-[500px] lg:h-full left-0 right-0 grid justify-center gap-2 md:px-5 lg:px-0 px-6',narrow? 'top-[280px] md:top-[360px] lg:top-0 lg:left-0 lg:right-auto lg:justify-center': 'top-[250px] xs:top-[290px] md:top-auto md:bottom-10 xl:bottom-16 2xl:bottom-20'diff --git a/apps/www/components/LaunchWeek/14/Tunnel.tsx b/apps/www/components/LaunchWeek/14/Tunnel.tsxindex e729ac34f16..c8527cc0dcc 100644--- a/apps/www/components/LaunchWeek/14/Tunnel.tsx+++ b/apps/www/components/LaunchWeek/14/Tunnel.tsx@@ -9,5 +9,13 @@ interface TunnelProps {}export const Tunnel: React.FC<TunnelProps> = ({ className = '' }) => {- return <Image src={tunnelImage} alt="" width="1120" height="380" className="w-full h-auto" />+ return (+ <Image+ src={tunnelImage}+ alt=""+ width="1120"+ height="380"+ className="w-full h-auto min-w-[700px]"+ />+ )}diff --git a/apps/www/components/LaunchWeek/14/scenes/TicketScene.ts b/apps/www/components/LaunchWeek/14/scenes/TicketScene.tsindex 260891ebed7..af785a1b8f1 100644--- a/apps/www/components/LaunchWeek/14/scenes/TicketScene.ts+++ b/apps/www/components/LaunchWeek/14/scenes/TicketScene.ts@@ -209,7 +209,7 @@ class TicketScene implements BaseScene {narrowResolutions = {0: {ticketPosition: new Vector3(0, 0, -1.6),- ticketScale: new Vector3(0.55, 0.55, 0.55),+ ticketScale: new Vector3(0.65, 0.65, 0.65),},480: {@@ -723,9 +723,9 @@ class TicketScene implements BaseScene {private _updateTicketSize() {if (this.state.visible) {- this._ticket?.scale.lerp(this._internalState.naturalScale, 0.01)+ this._ticket?.scale.lerp(this._internalState.naturalScale, 0.1)} else {- this._ticket?.scale.lerp(this._invisibleScaleVector, 0.01)+ this._ticket?.scale.lerp(this._invisibleScaleVector, 0.1)}// Update world matrices after scaling to ensure raycaster works correctlydiff --git a/packages/ui-patterns/PromoToast/PromoToast.tsx b/packages/ui-patterns/PromoToast/PromoToast.tsxindex 7895bef4a40..cea759e21bf 100644--- a/packages/ui-patterns/PromoToast/PromoToast.tsx+++ b/packages/ui-patterns/PromoToast/PromoToast.tsx@@ -42,7 +42,7 @@ const PromoToast = () => {)}><div className="relative z-10 text-foreground-lighter uppercase flex flex-col text-sm w-full font-mono mb-2">- <span className="mb-1">31 APR - 04 MAR / 7AM PT</span>+ <span className="mb-1">MAR 31 - APR 04 / 7AM PT</span><pstyle={{