The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
LW7: add overlay on ticket bg image
Francesco Sansalvadoreb26696bb0f82
diff --git a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsxindex 63a9c44cd8f..1793212fcb1 100644--- a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx@@ -65,7 +65,7 @@ export default function Ticket({styles['ticket-visual'],styleUtils.appear,styleUtils['appear-fourth'],- username ? 'h-[420px]' : 'h-[395px]',+ username ? 'h-[400px]' : 'h-[395px]','relative flex flex-col gap-2 w-full h-full rounded-xl')}id="wayfinding--ticket-visual-outer-container"diff --git a/apps/www/components/LaunchWeek/Ticket/TicketVisual.tsx b/apps/www/components/LaunchWeek/Ticket/TicketVisual.tsxindex 02fecc11f13..07e5aad52f7 100644--- a/apps/www/components/LaunchWeek/Ticket/TicketVisual.tsx+++ b/apps/www/components/LaunchWeek/Ticket/TicketVisual.tsx@@ -57,28 +57,10 @@ export default function TicketVisual({}}id="wayfinding--ticket-visual-inner-container">- <div id="wayfinding--ticket-dynamic-bg-image">- <Image- src={- golden- ? `${storageBaseFilepath}/golden/_jpg/gold_bg_${goldenImageId}.jpg`- : `${storageBaseFilepath}/_jpg/reg_bg_${bgImageId}.jpg`- }- layout="fill"- objectFit="cover"- placeholder="blur"- blurDataURL="/images/blur.png"- className={[- 'duration-700 ease-in-out rounded-xl',- imageIsLoading ? 'grayscale blur-2xl scale-110' : 'grayscale-0 blur-0 scale-100',- ].join(' ')}- onLoadingComplete={() => setImageIsLoading(false)}- />- </div><div className="relative z-10 flex flex-col items-center justify-between w-full h-full flex-1 md:pr-[110px]">{username && <TicketHeader />}<div- className="flex-1 w-full h-full md:h-auto flex flex-col justify-center"+ className="flex-1 w-full h-full md:h-auto flex md:pl-2 flex-col justify-center"id="wayfinding--TicketProfile-container"><TicketProfile@@ -98,6 +80,40 @@ export default function TicketVisual({<div className="flex md:hidden absolute inset-0"><TicketMonoMobile golden={golden} /></div>+ <div+ id="wayfinding--ticket-dynamic-bg-image"+ className="absolute inset-0 z-0 rounded-2xl overflow-hidden"+ >+ <Image+ src={+ golden+ ? `/images/launchweek/seven/ticket-overlay-gold.png`+ : `/images/launchweek/seven/ticket-overlay-reg.png`+ }+ layout="fill"+ objectFit="cover"+ placeholder="blur"+ blurDataURL="/images/blur.png"+ className="absolute inset-0 z-[1] rounded-xl"+ />++ <Image+ src={+ golden+ ? `${storageBaseFilepath}/golden/_jpg/gold_bg_${goldenImageId}.jpg`+ : `${storageBaseFilepath}/_jpg/reg_bg_${bgImageId}.jpg`+ }+ layout="fill"+ objectFit="cover"+ placeholder="blur"+ blurDataURL="/images/blur.png"+ className={[+ 'duration-700 ease-in-out rounded-xl transform scale-105',+ imageIsLoading ? 'grayscale blur-2xl scale-110' : 'grayscale-0 blur-0',+ ].join(' ')}+ onLoadingComplete={() => setImageIsLoading(false)}+ />+ </div></div>)}diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css b/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.cssindex a7c0d600966..1885b6e8e35 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css+++ b/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css@@ -7,8 +7,8 @@@media (min-width: 768px) {.image {- width: calc(80px * var(--size));- height: calc(80px * var(--size));+ width: calc(100px * var(--size));+ height: calc(100px * var(--size));}}@@ -135,16 +135,16 @@.rounded,.rounded.wrapper::before {- width: 62px;- height: 62px;+ width: 100px;+ height: 100px;border-radius: 50% !important;}@media (min-width: 768px) {.rounded,.rounded.wrapper::before {- width: calc(82px * var(--size));- height: calc(82px * var(--size));+ width: calc(110px * var(--size));+ height: calc(110px * var(--size));border-radius: 50% !important;}}diff --git a/apps/www/public/images/launchweek/seven/ticket-overlay-gold.png b/apps/www/public/images/launchweek/seven/ticket-overlay-gold.pngnew file mode 100644index 00000000000..1a3b3daa55dBinary files /dev/null and b/apps/www/public/images/launchweek/seven/ticket-overlay-gold.png differdiff --git a/apps/www/public/images/launchweek/seven/ticket-overlay-reg.png b/apps/www/public/images/launchweek/seven/ticket-overlay-reg.pngnew file mode 100644index 00000000000..84ea8baed86Binary files /dev/null and b/apps/www/public/images/launchweek/seven/ticket-overlay-reg.png differ