The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
lw7: small ui improvements
Francesco Sansalvadore847d51d9c393
diff --git a/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsxindex e78a04ed79e..555e0a893aa 100644--- a/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx+++ b/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx@@ -50,8 +50,9 @@ export default function LaunchWeekPrizeSection({ className }: { className?: striGet your <span className="gradient-text-pink-500">winning ticket</span></h2><p className="radial-gradient-text-scale-500">- Mark your calendars for April 16th and join us on Discord for Launch Week 7's final- day to find out if you're one of the lucky winners. Get sharing!+ Join us on April 16th for Launch Week 7's final day+ <br className="hidden md:inline-block" /> and find out if you are one of the lucky+ winners. Get sharing!</p></motion.div></div>@@ -72,7 +73,7 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri</h4><p className="text-[#707070] mt-1">Increase your chances of winning limited edition 62-Key ISO Custom Mechanical- Keyboard by sharing your ticket on Twitter.+ Keyboard by sharing your ticket on Twitter and Linkedin.</p></>}diff --git a/apps/www/components/LaunchWeek/ReferralIndicator.tsx b/apps/www/components/LaunchWeek/ReferralIndicator.tsxindex 34e178cdb19..fd3a7f4c3fd 100644--- a/apps/www/components/LaunchWeek/ReferralIndicator.tsx+++ b/apps/www/components/LaunchWeek/ReferralIndicator.tsx@@ -9,12 +9,12 @@ export default function ReferralIndicator() {<div className="bg-[#EAEAEA75] rounded-full mt-4 flex w-full"><divclassName={[- '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 bg-gradient-to-l from-[#E4B641] to-[#F5BF0069]' : '',+ 'bg-gradient-to-l from-[#A141E4] w-1/3 to-[#6300F569] flex items-center rounded-full pl-4 pr-6 py-1.5 text-xs shadow-[inset_0_0_2px_#ffffff50,0_0_1px_#00000050]',+ winningChances === 2 && 'w-2/3',+ winningChances === 3 && '!w-full bg-gradient-to-l from-[#E4B641] to-[#F5BF0069]',].join(' ')}>- <span style={{ textShadow: '0 1px 1px rgba(0, 0, 0,0.5)' }}>{winningChances}x chance</span>+ <span style={{ textShadow: '0 0 4px #00000050' }}>{winningChances}x chance</span></div></div>)diff --git a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsxindex 4eb43cbde06..4057bf3c39d 100644--- a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx@@ -79,11 +79,11 @@ export default function Ticket({<divref={divRef}className={[- 'flex flex-col !w-full h-full justify-center gap-6 col-span-full p-2 pt-4 lg:p-0 lg:col-span-4 mt-1 lg:m-0 lg:pr-8 max-h-[400px] rounded-3xl backdrop-blur lg:backdrop-blur-none',+ 'flex flex-col !w-full h-full justify-center col-span-full p-2 pt-4 lg:p-0 lg:col-span-4 mt-1 lg:m-0 lg:pr-8 max-h-[400px] rounded-3xl backdrop-blur lg:backdrop-blur-none',isMobile && styles['ticket-hero'],].join(' ')}>- <div className="text-scale-1200 flex flex-col w-full items-center text-white text-center lg:text-left lg:items-start gap-2 lg:gap-3">+ <div className="text-scale-1200 flex flex-col w-full items-center text-white text-center lg:text-left lg:items-start gap-2 lg:gap-3 mb-3 lg:mb-6"><h1className={cn(styleUtils.appear,@@ -173,7 +173,7 @@ export default function Ticket({{!sharePage && username && <ReferralIndicator />}</div>- <div className={cn(styleUtils.appear, styleUtils['appear-third'])}>+ <div>{username && (<TicketActionsusername={username}diff --git a/apps/www/components/LaunchWeek/Ticket/TicketNumber.tsx b/apps/www/components/LaunchWeek/Ticket/TicketNumber.tsxindex 4a8827aeb27..f06b8d6fd1c 100644--- a/apps/www/components/LaunchWeek/Ticket/TicketNumber.tsx+++ b/apps/www/components/LaunchWeek/Ticket/TicketNumber.tsx@@ -17,7 +17,7 @@ export default function TicketNumber({ number, size }: Props) {<divclassName={['flex flex-col md:flex-row items-center justify-center w-full text-center',- size === 'small' ? 'text-[20px]' : 'text-[34px] md:text-[42px] ',+ size === 'small' ? 'text-[20px]' : 'text-[32px] md:text-[42px] ',].join(' ')}id="wayfinding--ticket-number-inner">@@ -85,12 +85,7 @@ export default function TicketNumber({ number, size }: Props) {</defs></svg></div>- <div- className={[- 'md:absolute px-2 py-8 md:w-[max-content] leading-[1] md:transform md:rotate-90 md:origin-center bg-gradient-to-r from-[#F8F9FA] via-[#F8F9FA] to-[#F8F9FA50] bg-clip-text text-[#F8F9FA50] text-center',- size === 'small' ? 'md:px-12' : 'lg:px-24',- ].join(' ')}- >+ <div className="md:absolute px-2 py-8 md:w-[max-content] leading-[1] md:transform md:rotate-90 md:origin-center bg-gradient-to-r from-[#F8F9FA] via-[#F8F9FA] to-[#F8F9FA50] bg-clip-text text-[#F8F9FA50] text-center">{ticketNumberText}</div></div>diff --git a/apps/www/pages/launch-week/tickets/index.tsx b/apps/www/pages/launch-week/tickets/index.tsxindex cc3b0d57c3f..906f7fe0d97 100644--- a/apps/www/pages/launch-week/tickets/index.tsx+++ b/apps/www/pages/launch-week/tickets/index.tsx@@ -133,8 +133,9 @@ export default function TicketsPage({ users }: Props) {Check out <span className="gradient-text-pink-500">all the tickets</span></h2><p className="radial-gradient-text-scale-500">- Mark your calendars for April 16th and join us on Discord for Launch Week 7's- final day to find out if you're one of the lucky winners. Get sharing!+ Join us on April 16th for Launch Week 7's final day{' '}+ <br className="hidden md:inline-block" /> and find out if you are one of the lucky+ winners. Get sharing!</p><div className="mt-1"><Link href="/launch-week">