The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: lw7 pre release refinements
Francesco Sansalvadore3482a7d78d42
diff --git a/apps/www/components/LaunchWeek/Releases/LW7/LW7Releases.tsx b/apps/www/components/LaunchWeek/Releases/LW7/LW7Releases.tsxindex f3f8e88087c..8862dd91c25 100644--- a/apps/www/components/LaunchWeek/Releases/LW7/LW7Releases.tsx+++ b/apps/www/components/LaunchWeek/Releases/LW7/LW7Releases.tsx@@ -76,7 +76,7 @@ export default function LW7Releases() {<>{isHackathonLive && (<div className="mb-4">- <a href="#lw-7-prizes" className="flex items-center text-white text-sm my-4 gap-4">+ <a href="#hackathon" className="flex items-center text-white text-sm my-4 gap-4">Join Hackathon{' '}<span className="bounce-loop"><IconArrowDown w={10} h={12} />@@ -85,7 +85,7 @@ export default function LW7Releases() {</div>)}<SectionContainer className="!py-0">- <div className="grid grid-cols-1 gap-4">+ <div className="grid grid-cols-1 lg:grid-cols-2 gap-4 scroll-mt-[105px]" id="hackathon"><SmallCardbgGradientclassName={[isHackathonLive && '!from-[#4635A7] !to-[#A69DC920]'].join(' ')}@@ -124,6 +124,46 @@ export default function LW7Releases() {</div></ChipLink></div>+ {isHackathonLive && (+ <div className="absolute opacity-pulse inset-0 w-full h-full bg-gradient-to-b from-[#1C1C1C40] to-[#1C1C1C60] rounded-2xl overflow-hidden shadow-lg pointer-events-none" />+ )}+ </SmallCard>+ <SmallCard bgGradient>+ <div className="relative flex items-center mb-4 sm:mb-0">+ <div className="flex min-w-[20px]">+ <svg+ width="21"+ height="21"+ viewBox="0 0 21 21"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ fill-rule="evenodd"+ clip-rule="evenodd"+ d="M5.91406 2.17188C6.46635 2.17188 6.91406 2.61959 6.91406 3.17188V4.17188H7.91406C8.46635 4.17188 8.91406 4.61959 8.91406 5.17188C8.91406 5.72416 8.46635 6.17188 7.91406 6.17188H6.91406V7.17188C6.91406 7.72416 6.46635 8.17188 5.91406 8.17188C5.36178 8.17188 4.91406 7.72416 4.91406 7.17188V6.17188H3.91406C3.36178 6.17188 2.91406 5.72416 2.91406 5.17188C2.91406 4.61959 3.36178 4.17188 3.91406 4.17188H4.91406V3.17188C4.91406 2.61959 5.36178 2.17188 5.91406 2.17188ZM5.91406 12.1719C6.46635 12.1719 6.91406 12.6196 6.91406 13.1719V14.1719H7.91406C8.46635 14.1719 8.91406 14.6196 8.91406 15.1719C8.91406 15.7242 8.46635 16.1719 7.91406 16.1719H6.91406V17.1719C6.91406 17.7242 6.46635 18.1719 5.91406 18.1719C5.36178 18.1719 4.91406 17.7242 4.91406 17.1719V16.1719H3.91406C3.36178 16.1719 2.91406 15.7242 2.91406 15.1719C2.91406 14.6196 3.36178 14.1719 3.91406 14.1719H4.91406V13.1719C4.91406 12.6196 5.36178 12.1719 5.91406 12.1719Z"+ fill="#F2F2F2"+ />+ <path+ fill-rule="evenodd"+ clip-rule="evenodd"+ d="M12.914 2.17188C13.3677 2.17188 13.7646 2.47736 13.8807 2.91598L15.0599 7.37081L18.4137 9.30569C18.7233 9.48428 18.914 9.8145 18.914 10.1719C18.914 10.5293 18.7233 10.8595 18.4137 11.0381L15.0599 12.9729L13.8807 17.4278C13.7646 17.8664 13.3677 18.1719 12.914 18.1719C12.4603 18.1719 12.0634 17.8664 11.9473 17.4278L10.7681 12.9729L7.41433 11.0381C7.10478 10.8595 6.91406 10.5293 6.91406 10.1719C6.91406 9.8145 7.10478 9.48428 7.41433 9.30569L10.7681 7.37081L11.9473 2.91598C12.0634 2.47736 12.4603 2.17188 12.914 2.17188Z"+ fill="#F2F2F2"+ />+ </svg>+ </div>+ <div className="flex flex-col lg:flex-row ml-2 sm:ml-4">+ <span className="text-black dark:text-white mr-2">Join the prize draw</span>+ </div>+ </div>+ <div className="flex gap-2 z-10">+ <ChipLink href="#lw-7-prizes">+ Learn more+ <div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">+ <PencilSvg />+ </div>+ </ChipLink>+ </div></SmallCard></div></SectionContainer>@@ -171,7 +211,7 @@ export default function LW7Releases() {}}/><div className="flex items-center text-center lg:text-left lg: justify-between flex-col-reverse lg:flex-row lg:justify-start gap-2 text-black dark:text-white">- <div>{preRelease.steps[0].title}</div>+ <CartTitle>{preRelease.steps[0].title}</CartTitle><StyledArticleBadge className="lg:ml-4">Guide</StyledArticleBadge></div><SectionButtonsdiff --git a/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx b/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsxindex 3a863cdedb5..addafad8fad 100644--- a/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx+++ b/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx@@ -47,6 +47,7 @@ export const LinkSvg = () => (<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"><pathd="M6.875 4.0013H4.20833C3.47195 4.0013 2.875 4.59826 2.875 5.33464V12.0013C2.875 12.7377 3.47195 13.3346 4.20833 13.3346H10.875C11.6114 13.3346 12.2083 12.7377 12.2083 12.0013V9.33464M9.54167 2.66797H13.5417M13.5417 2.66797V6.66797M13.5417 2.66797L6.875 9.33464"+ // stroke="#A69DC9"stroke="#8F8F8F"strokeWidth="1"strokeLinecap="round"@@ -99,15 +100,15 @@ export const StyledArticleBadge = ({children: any}) => (<div- className={[- 'relative bg-gradient-to-br p-[1.5px] from-[#F4FFFA90] to-[#7E7AAD] overflow-hidden rounded-full',- className,- ].join(' ')}+ className={['relative bg-transparent border border-[#F4FFFA90] rounded-full', className].join(+ ' '+ )}>- <div className="!bg-[#1C1C1C] rounded-full !py-1 !px-4 w-full inset-[1px] text-sm border-none dark:from-white dark:to-[#6453C5] dark:border-none backdrop-blur-md">- <span className="text-sm text-transparent bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#7E7AAD]">+ <div className="!bg-transparent rounded-full !py-1 !px-4 w-full inset-[1px] text-sm border-none dark:from-white dark:to-[#6453C5] dark:border-none">+ <span className="text-sm text-[#F4FFFA80] bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#7E7AAD]">{children}</span>+ <div className="absolute inset-0 w-full h-full bg-[#1C1C1C] rounded-full blur-2xl" /></div></div>)@@ -144,7 +145,7 @@ export const AccordionHeader = ({ date, day, title, shipped }: any) => {export const ChipLink = ({ href, children }: { href: string; children: any }) => (<Link href={href} target="_blank" rel="noopener">- <a className="flex items-center border border-slate-400 bg-gradient-to-r text-black dark:text-white from-[#464444] to-[#191919] hover:from-[#4e4e4e] hover:to-[#191919] rounded-full text-sm py-2 pl-3 pr-2">+ <a className="flex items-center border border-slate-400 bg-gradient-to-r text-black dark:text-white from-[#46444480] to-[#19191980] hover:from-[#4e4e4e80] hover:to-[#19191980] backdrop-blur-sm rounded-full text-sm py-2 pl-3 pr-2">{children}</a></Link>@@ -220,8 +221,9 @@ export const SectionButtons = ({}export const CartTitle = ({ children }: { children: any }) => (- <span className="text-transparent bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#675FA7">+ <span className="z-0 relative text-[#F4FFFA] bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#675FA7]">{children}+ <div className="absolute -z-10 inset-0 w-full h-full bg-[#1C1C1C90] rounded-full blur-xl" /></span>)diff --git a/apps/www/components/LaunchWeek/lw7_days.ts b/apps/www/components/LaunchWeek/lw7_days.tsindex bcc7a7e4bd2..1461f54b12c 100644--- a/apps/www/components/LaunchWeek/lw7_days.ts+++ b/apps/www/components/LaunchWeek/lw7_days.ts@@ -82,11 +82,11 @@ const days: WeekDayProps[] = [{title: 'Self-hosted Logs & observability',shipped: false,- date: '10 Apr 2023',+ date: '10 Apr',publishedAt: '2023-04-10T07:00:00.000-07:00',description: 'Supabase Docs',d: 1,- dd: 'Monday',+ dd: 'Mon',youtube_id: 'OpPOaJI_Z28',blogpost: 'https://supabase.com/blog/new-supabase-docs-built-with-nextjs',docs: 'https://supabase.com/docs',@@ -104,11 +104,11 @@ const days: WeekDayProps[] = [{title: 'Self-hosted Edge Functions',shipped: false,- date: '11 Apr 2023',+ date: '11 Apr',publishedAt: '2023-04-11T07:00:00.000-07:00',description: 'Image Transformations',d: 2,- dd: 'Tuesday',+ dd: 'Tue',youtube_id: 'iqZlPtl_b-I',blogpost: 'https://supabase.com/blog',docs: 'https://supabase.com/docs',@@ -133,11 +133,11 @@ const days: WeekDayProps[] = [{title: 'Storage v3 Multipart upload',shipped: false,- date: '12 Apr 2023',+ date: '12 Apr',publishedAt: '2023-04-12T07:00:00.000-07:00',description: 'Storage v3 Multipart upload',d: 3,- dd: 'Wednesday',+ dd: 'Wed',youtube_id: 'CGZr5tybW18',blogpost: 'https://supabase.com/blog',docs: 'https://supabase.com/docs',@@ -155,11 +155,11 @@ const days: WeekDayProps[] = [{title: 'SSO Support for Projects',shipped: false,- date: '13 Apr 2023',+ date: '13 Apr',publishedAt: '2023-04-13T07:00:00.000-07:00',description: 'Supabase Wrappers',d: 4,- dd: 'Thursday',+ dd: 'Thu',youtube_id: 'QA2qC5F-4OU',blogpost: '/blog/postgres-foreign-data-wrappers-rust',docs: 'https://supabase.com/docs',@@ -177,11 +177,11 @@ const days: WeekDayProps[] = [{title: 'Community Highlight',shipped: false,- date: '14 Apr 2023',+ date: '14 Apr',publishedAt: '2023-04-14T07:00:00.000-07:00',description: 'Vault Release',d: 5,- dd: 'Friday',+ dd: 'Fri',youtube_id: '6bGQotxisoY',blogpost: 'https://supabase.com/blog',docs: 'https://supabase.com/docs',diff --git a/apps/www/styles/index.css b/apps/www/styles/index.cssindex 708ecef423d..d2cdc4c0275 100644--- a/apps/www/styles/index.css+++ b/apps/www/styles/index.css@@ -21,7 +21,7 @@}html {- scroll-behavior: smooth;+ scroll-behavior: smooth !important;}body {