The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
d1 (#37100)
Francesco Sansalvadore9eddc55c65bc
diff --git a/apps/www/_blog/2025-06-25-natural-db.mdx b/apps/www/_blog/2025-06-25-natural-db.mdxindex cfd92de2e62..f273cbbcd87 100644--- a/apps/www/_blog/2025-06-25-natural-db.mdx+++ b/apps/www/_blog/2025-06-25-natural-db.mdx@@ -20,7 +20,7 @@ At a high level, the system's flexibility is created by combining these core buiSee it at work in the video below.-<video className="rounded-sm m-0" autoPlay loop muted>+<video className="rounded-sm m-0" autoPlay playsInline loop muted allowfullscreen><sourcesrc="https://xguihxuzqibwxjnimxev.supabase.co/storage/v1/object/public/videos/marketing/blog/natural-db/natural-db-demo-combined.mp4"type="video/mp4"diff --git a/apps/www/_blog/2025-07-14-jwt-signing-keys.mdx b/apps/www/_blog/2025-07-14-jwt-signing-keys.mdxnew file mode 100644index 00000000000..c044c13cabd--- /dev/null+++ b/apps/www/_blog/2025-07-14-jwt-signing-keys.mdx@@ -0,0 +1,147 @@+---+title: 'Introducing JWT Signing Keys'+description: "A new JWT signing keys system based on public key cryptography to improve your project's security and performance."+categories:+ - product+ - launch-week+tags:+ - launch-week+date: '2025-07-14:00:00'+toc_depth: 3+author: stojan+image: launch-week-15/day-1-jwt-signing-keys/og.jpg+thumb: launch-week-15/day-1-jwt-signing-keys/thumb.jpg+launchweek: 15+---++Today we're announcing some long awaited changes in Supabase:++- Support for [asymmetric JWTs with Supabase Auth](/docs/guides/auth/signing-keys).+- [New API keys](/docs/guides/api/api-keys) to help you transition to asymmetric JWTs and improve the security of your apps.++<div className="video-container mb-8">+ <iframe+ className="w-full"+ src="https://www.youtube-nocookie.com/embed/htzj9SkkhhA"+ title="Introducing JWT Signing Keys"+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share"+ allowfullscreen+ />+</div>++## JWT as Open Source Auth++Over the last decade, [JSON Web Tokens](https://jwt.io/introduction) (JWTs) have surfaced as the [universal language](https://supabase.com/docs/guides/auth/sessions#what-are-the-benefits-of-using-access-and-refresh-tokens-instead-of-traditional-sessions) between your business logic and your Auth servers.++Supabase has embraced JWTs since inception. It's the backbone that makes Postgres [Row-Level Security](https://supabase.com/docs/guides/database/postgres/row-level-security) (RLS) policies work. Supabase Auth checks that your users say who they are and issues many JWTs while they use your app. These JWTs are then used by your application or other Supabase products (e.g., Data API, Storage, Realtime) to allow or reject access to your application's data.++To uphold our promise of “scale to billions” we’re making changes to how JWTs are managed for your project.++## Why symmetric JWTs can be risky++Until now, Supabase Auth used **symmetric keys** to sign JWTs. This means a shared secret is used to both create and verify the token. It’s simple and fast, but it comes with serious tradeoffs at scale:++- **You had to call** `supabase.auth.getUser()` **to check if a session was valid**, because only the Auth server could safely verify the token. This added network latency and created a dependency on the Auth server being online.+- **Server-side apps and custom APIs depended on the Auth server**, which made apps hosted on the edge slower and more fragile.+- **To improve performance, you were forced to manually manage the shared secret.** If it leaks, anyone can forge tokens and bypass Row-Level Security. This meant it was hard to keep aligned with security compliance frameworks like SOC2 in your apps.++A better approach is utilizing [**public key cryptography**](https://en.wikipedia.org/wiki/Public-key_cryptography). It provides the ability to use two separate (hence asymmetric) keys when working with JWTs:++- A **private key** to create and sign JWTs (known only to Supabase Auth and not extractable)+- A **public key** to verify and decode the JWT (irreversible and safe to publish on the web)++This model is secure and scalable. You can now verify tokens at any place in your application, without relying on the Auth server. Key revocation and rotation is made safer as you can pull the public keys for your project from the `/auth/v1/.well-known/jwks.json` endpoint.++We’ve based the implementation to match the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) ensuring wide compatibility and the best-in-class security standards. Both RSA and Elliptic Curves (ECC) signing algorithms can be used.++It took us a while, but we're making this available today for all projects!++## Start using asymmetric JWTs today++Asymmetric JWT support is available today as an opt-in feature. Starting October 1, 2025, all _new projects_ will use asymmetric JWTs by default. Existing projects can opt-in at any time. You’re not required to change your JWT secret unless you choose to.++We’ve taken great care to ensure each step is safe and reversible, ensuring zero-downtime key rotations.++### 1. Migrate to get started++Use the [Supabase dashboard](https://supabase.com/dashboard/project/_/settings/jwt/signing-keys) to migrate your existing JWT secret to the new JWT signing keys system.++<Img+ alt="Geo-routing diagram"+ src={{+ dark: '/images/blog/launch-week-15/day-1-jwt-signing-keys/jwt-signing-keys-migration-dark.png',+ light:+ '/images/blog/launch-week-15/day-1-jwt-signing-keys/jwt-signing-keys-migration-light.png',+ }}+/>++Your project continues using its existing symmetric JWT secret, but under the hood, Supabase has prepared your project for asymmetric JWTs.++### 2. A new key pair is generated++Supabase generates a new **standby** key pair: one private key (used to create and sign) and one public key (used to verify tokens). At this point the key is made available for discovery, but no JWT is signedcreated with it yet.++### 3. Rotate to asymmetric JWTs++When you’re ready, rotate the keys. This tells Supabase Auth to begin issuing JWTs signed with the new private key.++Importantly though, `anon`, `service_role` and any existing non-expired Auth JWT **remain valid and accepted**.++### 4. Revoke the old JWT secret++Once you've verified everything is working as expected, you can **revoke the legacy JWT secret**. From that point forward:++- `anon`, `service_role`, and any JWTs signed with the old secret will be rejected.+- Only JWTs signed with the new asymmetric key will be accepted.++## Getting the most benefit++We're providing you with a new client library function:++```tsx+supabase.auth.getClaims()+```++It’s a faster alternative to `getUser()` that you can switch to today! If using a symmetric JWT, it reaches out to the Auth server each time. But, when using an asymmetric key it’ll use the Web Crypto API to verify tokens directly.++It automatically discovers and caches the public key on the edge and in memory, significantly improving your app’s performance while remaining secure and without taking additional risks.++You can also use any other JWT library. Here's an example using the popular `jose` library:++```tsx+import { createRemoteJWKSet, jwtVerify } from 'jose'++const SUPABASE_JWT_ISSUER = 'https://project.supabase.co/auth/v1'+const SUPABASE_JWT_KEYS = createRemoteJWKSet(+ new URL(SUPABASE_JWT_ISSUER + '/.well-known/jwks.json')+)++function verifySupabaseJWT(jwt: string) {+ return jwtVerify(token, SUPABASE_JWT_KEYS, { issuer: SUPABASE_JWT_ISSUER })+}+```++## API keys to fix `anon` and `service_role`++Instead of `anon` and `service_role` we're also launching support for:++- A `publishable` key, to replace the `anon` key.+- `secret` keys, to replace the `service_role` key.++`anon` and `service_role` are your project's legacy API keys. They identify what _application_ (as opposed to which _user_) is accessing your data.++Sadly they're JWTs that expire 10 years after you create your project. And as you're probably guessing, rotating and then revoking the legacy JWT secret will reject them. This is why we're also launching revamped API keys. (And why this took so long!)++You should switch to publishable/secret keys even if you're not taking advantage of the new JWT signing keys feature, as they provide security improvements from feedback collected over the last few years. Plus, we’ve got big plans on adding additional features to these.++They work in place of the `anon` and `service_role` keys for the most part. Check the docs on how best to take advantage of them.++## Timelines++Both of these features are currently released as opt-in. We'd love to hear your feedback on them. Over the next 12 months we'll progressively require switching to the new API keys, while leaving you with a choice whether to use asymmetric JWTs.++| Date | Event |+| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| 1st October 2025 | All existing projects will have the legacy JWT secret automatically migrated to the new JWT signing keys system. All existing secrets remain unchanged -- no action needed. |+| 1st November 2025 | We will start sending you periodic reminders to start using the new API keys (publishable, secret) instead of `anon` and `service_role`. Projects restored after this date will no longer have an `anon` and `service_role` JWT-based API keys. |+| Late 2026, TBC | All projects will be required to move away from `anon` and `service_role` keys and use the new API keys instead. JWT secret does not need to be rotated, though this is encouraged. |diff --git a/apps/www/_blog/2025-07-14-supabase-ui-platform-kit.mdx b/apps/www/_blog/2025-07-14-supabase-ui-platform-kit.mdxnew file mode 100644index 00000000000..e2eef3ebcac--- /dev/null+++ b/apps/www/_blog/2025-07-14-supabase-ui-platform-kit.mdx@@ -0,0 +1,117 @@+---+title: 'Supabase UI: Platform Kit'+description: 'We are launching new components in the Supabase UI Library that makes it incredibly easy to build platforms on top of Supabase.'+categories:+ - product+ - launch-week+tags:+ - launch-week+ - studio+date: '2025-07-14:00:00'+toc_depth: 3+author: saxon_fletcher+image: launch-week-15/day-1-ui-platform-kit/og.jpg+thumb: launch-week-15/day-1-ui-platform-kit/thumb.png+launchweek: 15+---++Today we’re releasing our Platform Kit, new components in the Supabase UI Library that makes it incredibly easy to build platforms on top of Supabase.++## What’s Supabase UI?++Earlier this year we [released the Supabase UI **Library**](https://supabase.com/blog/supabase-ui-library). This was designed mostly for building _apps_. Since we released it, we have had a strange pull - not from _app_ builders, but from _platform_ builders, such as [AI Builders](https://supabase.com/solutions/ai-builders).++## What’s the Platform Kit?++<div className="video-container mb-8">+ <iframe+ className="w-full"+ src="https://xguihxuzqibwxjnimxev.supabase.co/storage/v1/object/public/videos/marketing/blog/platform-kit/platform-kit.mp4"+ title="Supabase UI: Platform Kit"+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share"+ allowfullscreen+ autoplay+ muted+ loop+ playsInline+ />+</div>++You can think of the Platform Kit as a bunch of UI components that sit on top of our Management UI. Who is it for? Well, anyone who is providing Postgres databases to your users.++It includes the following components:++### Database components++Display all the data in your database:++<Img+ alt="Database components"+ src={{+ dark: '/images/blog/launch-week-15/day-1-ui-platform-kit/database-components.png',+ }}+/>++### Storage components++<Img+ alt="Storage components"+ src={{+ dark: '/images/blog/launch-week-15/day-1-ui-platform-kit/storage-components.png',+ }}+/>++### Authentication components++<Img+ alt="Auth settings"+ src={{+ dark: '/images/blog/launch-week-15/day-1-ui-platform-kit/auth-settings.png',+ }}+/>++<Img+ alt="Auth users"+ src={{+ dark: '/images/blog/launch-week-15/day-1-ui-platform-kit/auth-users.png',+ }}+/>++### AI components++<Img+ alt="AI components"+ src={{+ dark: '/images/blog/launch-week-15/day-1-ui-platform-kit/ai-components.png',+ }}+/>++## How does Supabase UI work?++The library is 100% shadcn/ui compatible by leveraging the [component registry](https://x.com/shadcn/status/1829646556318089509) feature. Components are styled with shadcn/ui and Tailwind CSS and are completely customizable. Read the [original launch post](https://supabase.com/blog/supabase-ui-library) for more details, or check out the docs: [ui.supabase.com](https://supabase.com/ui)++## Supabase as a Service++While we started Supabase as Service directly for developers, more and more companies are building on top of Supabase to provide critical infrastructure for their own users. Today, [30% of Supabase sign ups](https://x.com/kiwicopple/status/1894251335224320000) can be attributed to some sort of AI Builder:++<Img+ alt="Supabase signups"+ src={{+ dark: '/images/blog/launch-week-15/day-1-ui-platform-kit/supabase-signups.png',+ }}+/>++We’re in the process of [providing more tools](https://github.com/supabase/supabase/pull/35798) so that you can use Supabase as a “Platform as a Service” for many other tools:++> **\*Platform as a service** (**PaaS**) is a cloud computing model where users run a modular bundle of a computing platform and applications, without the complexity of building and maintaining the infrastructure associated with developing and launching applications.+> Source: [Wikipedia](https://en.wikipedia.org/wiki/Platform_as_a_service).++If you’re building your own plaform, reach out to the team:++[supabase.com/solutions/ai-builders](https://supabase.com/solutions/ai-builders)++## Getting started with Platform UI++Head on over to the docs to get started: [ui.supabase.com](https://supabase.com/ui/docs/platform/platform-kit)++You can also check out the [repo](https://github.com/supabase/supabase-embedded-dashboard) to download and run the app yourself to see how it works, or just pull key files and components to use in your own implementation. The code is yours to use and improve however you see fit.diff --git a/apps/www/app/api-v2/luma-events/route.tsx b/apps/www/app/api-v2/luma-events/route.tsxindex db14d1a1323..9d7fc28ddc6 100644--- a/apps/www/app/api-v2/luma-events/route.tsx+++ b/apps/www/app/api-v2/luma-events/route.tsx@@ -1,6 +1,19 @@import { NextRequest, NextResponse } from 'next/server'-export interface LumaEvent {+export interface LumaGeoAddressJson {+ city: string+ type: string+ region: string+ address: string+ country: string+ latitude: string+ place_id: string+ longitude: string+ city_state: string+ description: string+ full_address: string+}+export interface LumaPayloadEvent {api_id: stringcalendar_api_id: stringname: string@@ -8,6 +21,18 @@ export interface LumaEvent {start_at: stringend_at: stringtimezone: string+ url: string+ visibility: string+ geo_address_json: LumaGeoAddressJson+}+export interface LumaEvent {+ id: string+ calendar_api_id: string+ name: string+ description: string+ start_at: string+ end_at: string+ timezone: stringcity: stringcountry: stringurl: string@@ -15,7 +40,7 @@ export interface LumaEvent {}interface LumaResponse {- entries: { event: LumaEvent }[]+ entries: { event: LumaPayloadEvent }[]has_more: booleannext_cursor?: string}@@ -67,13 +92,14 @@ export async function GET(request: NextRequest) {const data: LumaResponse = await response.json()const launchWeekEvents = data.entries- .filter(({ event }: { event: LumaEvent }) => event.visibility === 'public')- .map(({ event }: { event: LumaEvent }) => ({+ .filter(({ event }: { event: LumaPayloadEvent }) => event.visibility === 'public')+ .map(({ event }: { event: LumaPayloadEvent }) => ({+ id: event.api_id,start_at: event.start_at,end_at: event.end_at,name: event.name,- city: event.city,- country: event.country,+ city: event.geo_address_json?.city,+ country: event.geo_address_json?.country,url: event.url,timezone: event.timezone,}))diff --git a/apps/www/components/Hero/Hero.tsx b/apps/www/components/Hero/Hero.tsxindex eaae6be309b..a10b23f5e28 100644--- a/apps/www/components/Hero/Hero.tsx+++ b/apps/www/components/Hero/Hero.tsx@@ -4,6 +4,7 @@ import { Button } from 'ui'import SectionContainer from '~/components/Layouts/SectionContainer'import { useSendTelemetryEvent } from '~/lib/telemetry'import AnnouncementBadge from '../Announcement/Badge'+import { announcement } from 'ui-patterns'const Hero = () => {const sendTelemetryEvent = useSendTelemetryEvent()@@ -16,18 +17,10 @@ const Hero = () => {<div className="mx-auto max-w-2xl lg:col-span-6 lg:flex lg:items-center justify-center text-center"><div className="relative z-10 lg:h-auto pt-[90px] lg:pt-[90px] lg:min-h-[300px] flex flex-col items-center justify-center sm:mx-auto md:w-3/4 lg:mx-0 lg:w-full gap-4 lg:gap-8"><AnnouncementBadge- url="/launch-week"+ url="/launch-week#main-stage"badge="LW15"- announcement="Claim your ticket"- className="-mt-8- [&_.announcement-overlay]:bg-[url(/images/launchweek/15/lw15-galaxy.png)]- [&_.announcement-overlay]:bg-cover- [&_.announcement-overlay]:bg-center- [&_.announcement-overlay]:bg-no-repeat- [&_.announcement-overlay]:mix-blend-screen- [&_.announcement-overlay]:!opacity-5- [&_.announcement-overlay]:dark:!opacity-10- [&_.announcement-overlay]:group-hover/announcement:!opacity-20"+ announcement={announcement.launch}+ className="lg:-mt-8"hasArrow/><div className="flex flex-col items-center">diff --git a/apps/www/components/LaunchWeek/14/Releases/LWSummary.tsx b/apps/www/components/LaunchWeek/14/Releases/LWSummary.tsxindex 69630dbd9ae..1b8611af83d 100644--- a/apps/www/components/LaunchWeek/14/Releases/LWSummary.tsx+++ b/apps/www/components/LaunchWeek/14/Releases/LWSummary.tsx@@ -14,7 +14,7 @@ const LW14Summary = () => {><div className="w-full p-4 flex justify-between items-center"><Link- href="/launch-week"+ href="/launch-week/14"className="flex items-center text-foreground font-medium gap-1.5 leading-none uppercase text-xs opacity-80 transition-opacity hover:opacity-100">Launch Week 14diff --git a/apps/www/components/LaunchWeek/15/Header.tsx b/apps/www/components/LaunchWeek/15/Header.tsxdeleted file mode 100644index 85668e0330b..00000000000--- a/apps/www/components/LaunchWeek/15/Header.tsx+++ /dev/null@@ -1,131 +0,0 @@-import { ReactNode, useEffect, useState } from 'react'-import { cn } from 'ui'-import SectionContainerWithCn from '~/components/Layouts/SectionContainerWithCn'--export const TicketHeader = ({ children, hidden }: { children: ReactNode; hidden?: boolean }) => {- if (hidden) return null-- return (- <SectionContainerWithCn- height="none"- className="grid lg:grid-cols-[127px_1fr_127px] grid-cols-[1fr_1fr] w-full justify-between gap-6 md:gap-8 px-0"- >- {children}- </SectionContainerWithCn>- )-}--const SingleTick = ({ className }: { className?: string }) => {- return (- <div- className={cn(- 'w-px h-2.5 bg-neutral-500 shadow-[0px_0px_4px_0px_rgba(255,255,255,0.25)]',- className- )}- />- )-}--export const TicketHeaderClaim = () => {- return (- <div className="inline-flex justify-start items-center gap-8 w-full order-1 col-span-2 lg:col-auto lg:order-2">- <div className="hidden gap-4 flex-wrap w-full h-2.5 overflow-hidden justify-end flex-shrink flex-1 md:flex">- {Array.from({ length: 7 }).map((_, i) => (- <SingleTick key={i} />- ))}- </div>- <div className="text-start md:text-center justify-center text-neutral-500 text-sm font-normal uppercase [text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)] lg:text-nowrap flex-grow max-w-[220px] md:max-w-none">- Launch Week is coming. Stay tuned!- </div>- <div className="hidden gap-4 flex-wrap w-full h-2.5 overflow-hidden flex-shrink flex-1 md:flex">- {Array.from({ length: 7 }).map((_, i) => (- <SingleTick key={i} />- ))}- </div>- </div>- )-}--interface TicketHeaderRemainingTimeProps {- targetDate: string | Date-}--export const TicketHeaderRemainingTime = ({- targetDate: extTargetDate,-}: TicketHeaderRemainingTimeProps) => {- const [timeLeft, setTimeLeft] = useState<string>('---------------')-- useEffect(() => {- const calculateTimeLeft = () => {- const targetDate = new Date(extTargetDate)- const now = new Date()-- // Calculate the time difference in milliseconds- const difference = targetDate.getTime() - now.getTime()-- if (difference <= 0) {- setTimeLeft('00D:00H:00M:00S')- return- }-- const days = Math.floor(difference / (1000 * 60 * 60 * 24))- const hours = Math.floor((difference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60))- const minutes = Math.floor((difference % (1000 * 60 * 60)) / (1000 * 60))- const seconds = Math.floor((difference % (1000 * 60)) / 1000)-- // Format the time left- setTimeLeft(- `${days.toString().padStart(2, '0')}D:${hours.toString().padStart(2, '0')}H:${minutes- .toString()- .padStart(2, '0')}M:${seconds.toString().padStart(2, '0')}S`- )- }-- calculateTimeLeft()- const interval = setInterval(calculateTimeLeft, 1000)-- return () => clearInterval(interval)- }, [extTargetDate])-- return (- <div className="flex-1 order-2 lg:order-1">- <div className="text-justify justify-center text-emerald-400 text-sm font-normal uppercase">- {timeLeft}- </div>- <div className="text-neutral-500 text-justify justify-center text-xs font-normal uppercase">- TIME LEFT- </div>- </div>- )-}--export const TicketHeaderDate = () => {- const [time, setTime] = useState<string>('')-- useEffect(() => {- const updateTime = () => {- const now = new Date()- const hours = now.getHours().toString().padStart(2, '0')- const minutes = now.getMinutes().toString().padStart(2, '0')- const seconds = now.getSeconds().toString().padStart(2, '0')- setTime(`${hours}:${minutes}:${seconds}`)- }-- updateTime()- const interval = setInterval(updateTime, 1000)-- return () => clearInterval(interval)- }, [])-- return (- <div className="flex-1 order-3 lg:order-3">- <div className="text-end text-neutral-500 text-sm font-normal uppercase [text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)]">- {time}- </div>-- <div className="text-end text-neutral-500 text-xs font-normal uppercase [text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)] text-nowrap">- LOCAL TIME- </div>- </div>- )-}diff --git a/apps/www/components/LaunchWeek/15/LW15BuildStage.tsx b/apps/www/components/LaunchWeek/15/LW15BuildStage.tsxnew file mode 100644index 00000000000..048880ef078--- /dev/null+++ b/apps/www/components/LaunchWeek/15/LW15BuildStage.tsx@@ -0,0 +1,80 @@+import React, { FC } from 'react'+import Link from 'next/link'+import { motion, useInView } from 'framer-motion'+import { cn } from 'ui'++import { buildDays as days } from 'components/LaunchWeek/15/data'+import SectionContainer from 'components/Layouts/SectionContainer'++const LW15BuildStage: FC = () => {+ const ref = React.useRef(null)+ const isInView = useInView(ref, { margin: '-25%', once: true })++ const variants = {+ reveal: {+ transition: {+ type: 'spring',+ damping: 10,+ mass: 0.75,+ stiffness: 100,+ staggerChildren: 0.08,+ },+ },+ }++ return (+ <>+ <SectionContainer+ className="!max-w-none lg:!container py-8 md:py-8 lw-nav-anchor flex flex-col lg:grid lg:grid-cols-5 gap-4 lg:gap-2"+ id="build-stage"+ >+ <div className="flex flex-col md:gap-2 h-full justify-between col-span-2">+ <h3 className="text-2xl lg:text-3xl">Build Stage</h3>+ <p className="text-xs">+ A collection of <br className="hidden lg:block" />+ surprise releases.+ </p>+ </div>+ <motion.ul+ ref={ref}+ variants={variants}+ animate={isInView ? 'reveal' : 'initial'}+ className="w-full flex flex-col lg:col-span-3"+ >+ {days.map((day, i) => (+ <li+ key={`${day.id}-${i}`}+ data-delay={i}+ className="first:border-t border-b border-strong"+ >+ {day.is_shipped ? (+ <Link+ href={day.links[0].url}+ className={cn(+ 'relative flex text-lg items-center gap-4 w-full dark:border-background-surface-300 p-4 text-foreground-light hover:text-foreground',+ day.className+ )}+ >+ <span className="w-1.5 h-1.5 bg-current" />+ <span>{day.title}</span>+ </Link>+ ) : (+ <div+ className={cn(+ 'relative flex text-lg text-foreground-lighter items-center gap-4 w-full dark:border-background-surface-300 p-4 pointer-events-none',+ day.className+ )}+ >+ <span className="w-1.5 h-1.5 bg-current" />+ <span className="text-lg leading-snug">[ Access locked ]</span>+ </div>+ )}+ </li>+ ))}+ </motion.ul>+ </SectionContainer>+ </>+ )+}++export default LW15BuildStagediff --git a/apps/www/components/LaunchWeek/15/LW15Hackathon.tsx b/apps/www/components/LaunchWeek/15/LW15Hackathon.tsxnew file mode 100644index 00000000000..2560dd53874--- /dev/null+++ b/apps/www/components/LaunchWeek/15/LW15Hackathon.tsx@@ -0,0 +1,123 @@+import React, { FC } from 'react'+import Image from 'next/image'+import Link from 'next/link'+import { motion, useInView } from 'framer-motion'+import { Button, cn } from 'ui'++import SectionContainer from 'components/Layouts/SectionContainer'+import { DEFAULT_EASE } from 'lib/animations'++const MotionImage = motion(Image)++const LW15Hackathon: FC = () => {+ return (+ <>+ <SectionContainer+ className="!max-w-none lg:!container lw-nav-anchor flex flex-col lg:grid lg:grid-cols-5 gap-4 lg:gap-2"+ id="build-stage"+ >+ <LW15HackathonImage className="hidden lg:flex" />+ <div className="w-full h-full flex flex-col justify-between gap-4 lg:col-span-3">+ <div className="flex flex-col h-full gap-4">+ <div className="flex flex-col text-6xl">+ <div className="flex justify-between">+ <span className="text-foreground-lighter">Hackathon</span>+ </div>+ <div>Starts this Friday.</div>+ </div>+ </div>+ <LW15HackathonImage className="lg:hidden" />+ <div className="flex flex-col justify-between gap-4">+ <div className="text-2xl max-w-[600px] text-foreground-lighter">+ <p>Build something amazing in 10 days using Supabase.</p>+ <p>+ Compete solo or in a team,+ <br />+ submit a quick demo and win.+ </p>+ </div>+ </div>+ </div>+ </SectionContainer>+ </>+ )+}++const LW15HackathonImage = ({ className }: { className?: string }) => {+ const ref = React.useRef(null)+ const isInView = useInView(ref, { margin: '-25%', once: true })++ const variants = {+ initial: {},+ reveal: {+ transition: {+ type: 'spring',+ damping: 10,+ mass: 0.75,+ stiffness: 100,+ staggerChildren: 0.15,+ },+ },+ }++ const imageVariants = {+ initial: {+ y: '100%',+ },+ reveal: {+ y: 0,+ transition: {+ ease: DEFAULT_EASE,+ duration: 0.5,+ },+ },+ }++ return (+ <motion.div+ ref={ref}+ variants={variants}+ animate={isInView ? 'reveal' : 'initial'}+ className={cn(+ 'flex flex-col gap-4 h-full justify-between col-span-2 min-h-[500px]',+ className+ )}+ >+ <div className="relative flex-grow-[1] overflow-hidden">+ <MotionImage+ variants={imageVariants}+ src="/images/launchweek/15/lw15-galaxy-hackathon.png"+ alt="Hackathon"+ width={1000}+ height={1000}+ quality={100}+ className="absolute w-full inset-0 h-full object-cover object-top"+ />+ </div>+ <div className="relative flex-grow-[2] overflow-hidden">+ <MotionImage+ variants={imageVariants}+ src="/images/launchweek/15/lw15-galaxy-hackathon.png"+ alt="Hackathon"+ width={1000}+ height={1000}+ quality={100}+ className="absolute w-full inset-0 h-full object-cover object-top"+ />+ </div>+ <div className="relative flex-grow-[3] overflow-hidden">+ <MotionImage+ variants={imageVariants}+ src="/images/launchweek/15/lw15-galaxy-hackathon.png"+ alt="Hackathon"+ width={1000}+ height={1000}+ quality={100}+ className="absolute w-full inset-0 h-full object-cover object-top"+ />+ </div>+ </motion.div>+ )+}++export default LW15Hackathondiff --git a/apps/www/components/LaunchWeek/15/LW15Heading.tsx b/apps/www/components/LaunchWeek/15/LW15Heading.tsxnew file mode 100644index 00000000000..b1e9c587f46--- /dev/null+++ b/apps/www/components/LaunchWeek/15/LW15Heading.tsx@@ -0,0 +1,150 @@+import React, { useEffect, useRef } from 'react'+import { createTimeline } from 'animejs'++import SectionContainer from 'components/Layouts/SectionContainer'+import { FifteenSVG, LW15ThemeSwitcher, LWSVG } from './lw15.components'++const LW15Heading = () => {+ const videoRef = useRef<HTMLVideoElement>(null)++ // Force play video+ useEffect(() => {+ if (!videoRef || !videoRef.current) return++ //open bug since 2017 that you cannot set muted in video element https://github.com/facebook/react/issues/10389+ videoRef.current.defaultMuted = true+ videoRef.current.muted = true++ if (!!videoRef && !!videoRef.current) {+ const promise = videoRef.current.play()+ videoRef.current.play()+ if (promise !== undefined) {+ promise.then(() => {+ // Auto-play started+ videoRef.current?.play()+ })+ }+ }+ }, [videoRef])++ useEffect(() => {+ const tl = createTimeline({ defaults: { duration: 750 } })++ tl.add('.lw15-logo', {+ opacity: [0, 1],+ scale: [0.9, 1],+ translateY: [20, 0],+ easing: 'outQuad',+ duration: 1500,+ })+ .add('.lw15-galaxy', {+ width: ['0%', '100%'],+ flex: [0, 1],+ scale: [0.9, 1],+ opacity: [0, 1],+ easing: 'cubicBezier(0.25, 0.1, 0.25, 1)',+ duration: 500,+ })+ .add(+ '.anim-last',+ {+ opacity: [0, 1],+ translateY: ['100%', 0],+ easing: 'cubicBezier(0.25, 0.1, 0.25, 1)',+ duration: 600,+ },+ '+=300'+ )+ .add(+ '.animate-line',+ {+ width: [0, '100%'],+ easing: 'inOutCubic',+ duration: 400,+ },+ '-=600'+ )+ .add(+ '.animate-cta',+ {+ opacity: [0, 1],+ translateY: [10, 0],+ easing: 'cubicBezier(.1,0,1,1)',+ duration: 1000,+ },+ '-=100'+ )++ const elements = document.querySelectorAll('[data-animate]')+ elements.forEach((element) => {+ if (element.getAttribute('data-animate-processed')) return+ element.setAttribute('data-animate-processed', 'true')++ const originalContent = element.innerHTML || ''+ element.classList.add('overflow-hidden')++ const span = document.createElement('span')+ span.innerHTML = originalContent+ span.style.display = 'inline-block'+ span.style.transform = 'translateY(100%)'+ span.style.transition = 'transform ease-[.25,.25,0,1]'++ element.innerHTML = ''+ element.appendChild(span)++ const delay = parseInt(element.getAttribute('data-animate-delay') || '100')+ const duration = parseInt(element.getAttribute('data-animate-duration') || '900')++ setTimeout(() => {+ setTimeout(() => {+ element.classList.add('opacity-100')+ span.style.transitionDuration = `${duration}ms`+ span.style.transform = 'translateY(0)'+ }, delay)+ // Delay after initial animejs animation+ }, 1500)+ })+ }, [])++ return (+ <header className="border-b">+ <SectionContainer className="flex flex-col justify-between gap-12 !py-8 lg:!py-10 h-full !max-w-none lg:!container">+ <div className="grid md:grid-cols-5 gap-4 delay-100">+ <div+ data-animate+ data-animate-delay={300}+ className="hidden md:inline-block opacity-0 col-span-3 lg:col-span-2 text-xs overflow-hidden h-fit max-w-[400px]"+ >+ Five days of launches to supercharge your development.+ </div>+ <div className="flex flex-col justify-start lg:col-start-4 md:col-span-2 lg:col-span-1 gap-4"></div>+ <div className="col-span-1 text-right text-xs hidden lg:flex justify-end items-start h-fit overflow-hidden">+ <LW15ThemeSwitcher className="opacity-0 anim-last" />+ </div>+ </div>+ <div className="flex flex-col gap-4 xl:mt-24">+ <div className="w-full flex items-center justify-center h-[42px] md:h-[60px] lg:h-[92px] gap-4">+ <h1 className="sr-only">Supabase Launch Week 15</h1>+ <LWSVG className="opacity-0 lw15-logo lw15-logo-left h-full w-auto" />+ <div className="lw15-galaxy opacity-0 relative h-full w-0 flex-0 dark:mix-blend-screen overflow-hidden">+ <video+ ref={videoRef}+ src="/images/launchweek/15/lw15-galaxy.mp4"+ poster="/images/launchweek/15/lw15-galaxy.png"+ autoPlay+ muted+ loop+ playsInline+ controls={false}+ className="h-full w-full object-cover"+ />+ </div>+ <FifteenSVG className="opacity-0 lw15-logo lw15-logo-right h-full w-auto mr-0.5" />+ </div>+ </div>+ </SectionContainer>+ </header>+ )+}++export default LW15Headingdiff --git a/apps/www/components/LaunchWeek/15/LW15MainStage.tsx b/apps/www/components/LaunchWeek/15/LW15MainStage.tsxnew file mode 100644index 00000000000..595843a6dd5--- /dev/null+++ b/apps/www/components/LaunchWeek/15/LW15MainStage.tsx@@ -0,0 +1,190 @@+import 'swiper/css'+import React, { useEffect, useRef, useState } from 'react'+import Image from 'next/image'+import Link from 'next/link'+import { Button, cn } from 'ui'+import { useTheme } from 'next-themes'+import { Swiper, SwiperSlide } from 'swiper/react'++import SectionContainer from 'components/Layouts/SectionContainer'+import { mainDays, WeekDayProps } from './data'+import { useWindowSize } from 'react-use'+import { useBreakpoint } from 'common'+import { DayLink } from './lw15.components'++const LW15MainStage = ({ className }: { className?: string }) => {+ const { resolvedTheme } = useTheme()+ const isDark = resolvedTheme?.includes('dark')+ const days = mainDays(isDark!)++ return (+ <div className="relative pb-8 lg:pb-24 overflow-hidden">+ <SectionContainer+ className={cn(+ 'relative !max-w-none !pb-4 md:pb-4 !pt-8 xl:!pt-10 lg:!container flex flex-col gap-4',+ className+ )}+ id="main-stage"+ >+ <h3 className="text-2xl lg:text-3xl">Main Stage</h3>+ <div className="hidden xl:flex flex-nowrap justify-between gap-2">+ {days.map((day) => (+ <DayCard day={day} key={day.dd} />+ ))}+ </div>+ </SectionContainer>+ <CardsSlider slides={days} className="xl:hidden" />+ </div>+ )+}++const DayCard = ({ day }: { day: WeekDayProps }) =>+ day.shipped ? (+ <DayCardShipped day={day} />+ ) : (+ <div+ className={cn(+ 'group/main block w-full bg-surface-200 dark:bg-transparent h-full xl:flex-1 xl:h-auto xl:aspect-[217/275] relative overflow-hidden rounded border dark:border-muted'+ )}+ >+ <div className="w-full h-full relative z-10 flex flex-col justify-between gap-4">+ <div></div>+ <div className="flex flex-col gap-2 p-4">+ <span className="text-xl text-foreground-lighter">{day.date}</span>+ <span className="text-base leading-snug text-foreground-muted">+ [ Access locked ]+ </span>+ </div>+ </div>+ </div>+ )++const DayCardShipped = ({ day }: { day: WeekDayProps }) => {+ const hiddenRef = useRef<HTMLDivElement>(null)+ const isTablet = useBreakpoint(1024)+ const [hiddenHeight, setHiddenHeight] = useState(0)+ const { width } = useWindowSize()+ const padding = 8++ useEffect(() => {+ if (hiddenRef?.current) {+ const { height } = hiddenRef.current.getBoundingClientRect()+ setHiddenHeight(height + padding)+ }+ }, [hiddenRef, width])++ return (+ <div+ className={cn(+ 'group/main block w-full h-full xl:flex-1 xl:h-auto xl:aspect-[217/275] relative overflow-hidden rounded border border-strong text-white',+ day.isToday && 'ring-1 ring-foreground-lighter ring-offset-2 ring-offset-background'+ )}+ >+ <CardBG day={day} />+ <div className="w-full h-full relative z-10 flex flex-col justify-between gap-4 overflow-hidden">+ <ul className="flex flex-col gap-1 p-4">+ {day.links?.map((link) => (+ <li key={link.href}>+ <DayLink+ {...link}+ className="transition-all duration-300 !ease-[.25,.25,0,1] lg:-translate-y-full lg:opacity-0 group-hover/main:translate-y-0 group-hover/main:opacity-100"+ />+ </li>+ ))}+ </ul>+ <div+ className="flex flex-col p-4 gap-2 relative group-hover/main:!bottom-0 !ease-[.25,.25,0,1] duration-300"+ style={{+ bottom: isTablet ? 0 : -hiddenHeight + 'px',+ }}+ >+ <span className="text-lg opacity-60">{day.date}</span>+ <h4 className="text-xl leading-snug">{day.title}</h4>+ <div+ className="block lg:opacity-0 lg:blur-lg duration-300 group-hover/main:lg:blur-none transition-all group-hover/main:lg:opacity-100"+ ref={hiddenRef}+ >+ <Button type="outline" size="small" className="text-current rounded-sm border-dashed">+ <Link href={day.blog!}>Read more</Link>+ </Button>+ </div>+ </div>+ </div>+ </div>+ )+}++const CardBG = ({ day }: { day: WeekDayProps }) => (+ <div className="absolute inset-0 z-0 w-full h-full">+ {day.steps[0]?.bg_layers &&+ day.steps[0]?.bg_layers?.map((layer, i) => (+ <>+ {!!layer.img && (+ <div+ key={`${day.title}-image-${i}?v=3`}+ className={cn(+ 'absolute inset-0 w-full h-full -z-10',+ 'transition-all duration-300 !ease-[.24,0,.22,.99]',+ 'dark:opacity-50 scale-100',+ 'group-hover/main:dark:opacity-100'+ )}+ >+ <Image+ src={layer.img}+ className={`+ absolute object-cover+ w-full h-full z-0 transition-all duration-300+ object-center sm:object-right+ `}+ fill+ sizes="100%"+ quality={100}+ alt={day.title}+ />+ </div>+ )}+ </>+ ))}+ <div className="absolute inset-0 z-0 w-full h-full bg-gradient-to-b from-black/80 via-black/30 to-black/90" />+ </div>+)++interface Props {+ className?: string+ slides: WeekDayProps[]+}++const CardsSlider: React.FC<Props> = ({ slides, className }) => (+ <div className={cn('relative lg:container mx-auto px-6 lg:px-16', className)}>+ <Swiper+ initialSlide={0}+ spaceBetween={8}+ slidesPerView={1.5}+ breakpoints={{+ 540: {+ slidesPerView: 2.5,+ },+ 720: {+ slidesPerView: 2.8,+ },+ 960: {+ slidesPerView: 3.2,+ },+ }}+ speed={400}+ watchOverflow+ threshold={2}+ updateOnWindowResize+ allowTouchMove+ className="!w-full !overflow-visible"+ >+ {slides.map((day: WeekDayProps, i: number) => (+ <SwiperSlide className={cn('flex w-full aspect-[217/275]')} key={`${day.id}-mobile-${i}`}>+ <DayCard day={day} />+ </SwiperSlide>+ ))}+ </Swiper>+ </div>+)++export default LW15MainStagediff --git a/apps/www/components/LaunchWeek/15/LW15Meetups.tsx b/apps/www/components/LaunchWeek/15/LW15Meetups.tsxnew file mode 100644index 00000000000..e9b09d30349--- /dev/null+++ b/apps/www/components/LaunchWeek/15/LW15Meetups.tsx@@ -0,0 +1,293 @@+import React, { PropsWithChildren, useState, useRef, useCallback, useEffect } from 'react'+import { cn } from 'ui'+import Image from 'next/image'+import Link from 'next/link'+import { motion, useInView } from 'framer-motion'+import { FifteenSVG, LWSVG } from './lw15.components'+import SectionContainer from 'components/Layouts/SectionContainer'+import { DEFAULT_EASE } from 'lib/animations'+import { LumaEvent } from 'app/api-v2/luma-events/route'++interface Props {+ className?: string+ meetups?: LumaEvent[]+}++interface MeetupOverlayCardProps {+ meetup: LumaEvent | null+ mousePosition: { x: number; y: number }+ visible: boolean+}++const MotionLink = motion(Link)++const LW15Meetups = ({ className, meetups = [] }: PropsWithChildren<Props>) => {+ const [mousePosition, setMousePosition] = useState({ x: 0, y: 0 })+ const [globalMousePosition, setGlobalMousePosition] = useState({ x: 0, y: 0 })+ const imageRef = useRef<HTMLDivElement>(null)+ const now = new Date(Date.now())+ const [activeMeetup, setActiveMeetup] = useState<LumaEvent | null>(null)+ const [showOverlay, setShowOverlay] = useState(false)+ const ref = React.useRef(null)+ const isInView = useInView(ref, { margin: '-25%', once: true })++ const variants = {+ reveal: {+ transition: {+ type: 'spring',+ damping: 10,+ mass: 0.75,+ stiffness: 100,+ staggerChildren: 0.018,+ },+ },+ }++ const meetupVariants = {+ initial: {+ y: '100%',+ opacity: 0,+ },+ reveal: {+ y: 0,+ opacity: 1,+ transition: {+ ease: DEFAULT_EASE,+ duration: 0.5,+ },+ },+ }++ const handleMouseMove = useCallback((e: MouseEvent) => {+ // Global mouse position for overlay+ setGlobalMousePosition({+ x: e.clientX,+ y: e.clientY,+ })++ // Relative mouse position for image effects+ if (!imageRef.current) return+ const rect = imageRef.current.getBoundingClientRect()+ const x = e.clientX - rect.left+ const y = e.clientY - rect.top+ setMousePosition({ x, y })+ }, [])++ useEffect(() => {+ window.addEventListener('mousemove', handleMouseMove)++ return () => {+ window.removeEventListener('mousemove', handleMouseMove)+ }+ }, [handleMouseMove])++ function handleSelectMeetup(meetup: LumaEvent) {+ setActiveMeetup(meetup)+ setShowOverlay(true)+ }++ function handleMouseLeave() {+ setActiveMeetup(null)+ setShowOverlay(false)+ }++ // Keep this for OG image generation+ const meetupsFilteredByUniqueCountries = meetups+ .filter((meetup, index, self) => index === self.findIndex((t) => t.country === meetup.country))+ .sort((a, b) => a.country.localeCompare(b.country))++ return (+ <>+ <MeetupOverlayCard+ meetup={activeMeetup}+ mousePosition={globalMousePosition}+ visible={showOverlay}+ />++ <SectionContainer+ className={cn(+ 'relative !max-w-none !pb-0 lg:!container flex flex-col overflow-hidden',+ className+ )}+ id="meetups"+ >+ <div className="w-full leading-none">+ <h3 className="text-2xl lg:text-3xl">LW15 Worldwide Meetups</h3>+ <p className="text-left text-sm text-foreground-light mt-2">+ Join us for community-driven meetups around the world to celebrate Launch Week 15.+ </p>+ </div>+ <motion.div+ ref={ref}+ variants={variants}+ animate={isInView ? 'reveal' : 'initial'}+ onMouseLeave={handleMouseLeave}+ className={cn(+ 'relative w-full z-10 text-3xl lg:text-4xl xl:text-5xl mt-24 flex flex-wrap gap-x-2 md:gap-x-3 gap-y-1',+ activeMeetup && 'text-foreground-muted'+ )}+ >+ {meetups &&+ meetups?.map((meetup: LumaEvent, i: number) => {+ const startAt = new Date(meetup.start_at)+ const endAt = addHours(new Date(meetup.start_at), 3)+ const after = now > startAt+ const before3H = now < endAt+ const liveNow = after && before3H++ return (+ <>+ <MotionLink+ variants={meetupVariants}+ key={`meetup-link-${meetup.id}`}+ href={meetup.url ?? ''}+ target="_blank"+ onClick={() => handleSelectMeetup(meetup)}+ onMouseEnter={() => handleSelectMeetup(meetup)}+ title={liveNow ? 'Live now' : undefined}+ className={cn(+ 'h-10 group inline-flex items-center flex-wrap',+ '!leading-none transition-colors',+ meetup.id === activeMeetup?.id && 'text-foreground'+ // liveNow && 'text-foreground-light'+ )}+ >+ {liveNow && (+ <div className="w-2 h-2 rounded-full bg-brand mr-2 mb-4 animate-pulse" />+ )}+ <span>{getMeetupCity(meetup)}</span>+ </MotionLink>+ {i !== meetups.length - 1 && (+ <motion.span+ variants={meetupVariants}+ className="ml-0 mb-0 my-auto flex text-foreground-lighter"+ >+ /+ </motion.span>+ )}+ </>+ )+ })}+ </motion.div>+ <div+ ref={imageRef}+ className="mx-auto h-[400px] -mt-32 -mb-20 lg:mt-0 lg:mb-0 aspect-square lg:aspect-[2/1] overflow-hidden relative"+ >+ <Image+ src="/images/launchweek/15/lw15-globe-dark.png"+ alt="Meetups Globe"+ width={1000}+ height={1000}+ quality={100}+ className="absolute inset-0 bottom-auto w-full aspect-square hidden dark:block opacity-30"+ />+ <Image+ src="/images/launchweek/15/lw15-globe-dark.png"+ alt="Meetups Globe"+ width={1000}+ height={1000}+ quality={100}+ className="absolute inset-0 bottom-auto w-full aspect-square hidden dark:block opacity-60"+ style={{+ maskImage: `radial-gradient(600px circle at ${mousePosition.x}px ${mousePosition.y}px, white 0%, transparent 100%)`,+ WebkitMaskImage: `radial-gradient(600px circle at ${mousePosition.x}px ${mousePosition.y}px, white 0%, transparent 100%)`,+ }}+ />+ <Image+ src="/images/launchweek/15/lw15-globe-light.png"+ alt="Meetups Globe"+ width={1000}+ height={1000}+ quality={100}+ className="absolute inset-0 bottom-auto w-full aspect-square opacity-30 dark:hidden"+ />+ <Image+ src="/images/launchweek/15/lw15-globe-light.png"+ alt="Meetups Globe"+ width={1000}+ height={1000}+ quality={100}+ className="absolute inset-0 bottom-auto w-full aspect-square dark:hidden opacity-60"+ style={{+ maskImage: `radial-gradient(600px circle at ${mousePosition.x}px ${mousePosition.y}px, white 0%, transparent 100%)`,+ WebkitMaskImage: `radial-gradient(600px circle at ${mousePosition.x}px ${mousePosition.y}px, white 0%, transparent 100%)`,+ }}+ />+ </div>+ </SectionContainer>+ </>+ )+}++const handleCountry = (country: string) => {+ if (country === 'United States') return 'USA'+ if (country === 'United Kingdom') return 'UK'+ if (country === 'United Arab Emirates') return 'UAE'+ if (country === 'Democratic Republic of the Congo') return 'Congo'+ return country+}++const MeetupOverlayCard = ({ meetup, mousePosition, visible }: MeetupOverlayCardProps) => {+ const show = !(!meetup || !visible)++ // Calculate if overlay should appear to the left of cursor+ const overlayWidth = 320+ const distanceToRightEdge =+ typeof window !== 'undefined' ? window.innerWidth - mousePosition.x : 1000+ const shouldPositionLeft = distanceToRightEdge < overlayWidth++ return (+ <div+ className={cn(+ 'fixed z-50 pointer-events-none opacity-0 transition-opacity',+ show && 'opacity-100'+ )}+ style={{+ left: shouldPositionLeft ? mousePosition.x - overlayWidth - 15 : mousePosition.x + 15,+ top: mousePosition.y + 15,+ }}+ >+ <div className="bg-black dark:bg-foreground text-white dark:text-background p-2 rounded-sm shadow-lg border w-screen max-w-xs flex flex-col gap-2">+ <div className="w-full flex justify-between items-start gap-1 h-8">+ <LWSVG className="h-full w-auto" />+ <div className="relative h-full flex-1 overflow-hidden">+ <Image+ src="/images/launchweek/15/lw15-galaxy.png"+ alt="Meetups Galaxy"+ width={1000}+ height={1000}+ className="h-full w-full object-cover object-[0%_30%]"+ />+ </div>+ <FifteenSVG className="h-full w-auto mr-0.5" />+ </div>+ <div className="w-full flex justify-between gap-1 text-lg !leading-none">+ <div className="">Meetup</div>+ <div className="text-right">+ {getMeetupCity(meetup!)}, {getMeetupCountry(meetup!)}+ </div>+ </div>+ </div>+ </div>+ )+}++function addHours(start_at: Date, hours: number) {+ const dateCopy = new Date(start_at)+ dateCopy.setHours(dateCopy.getHours() + hours)++ return dateCopy+}++const getMeetupCity = (meetup: LumaEvent) => {+ if (!meetup) return ''+ return (+ meetup.city ??+ meetup.name.split(',')[0].split('-')[1] ??+ meetup.name.split(',')[0].split(' ')[1] ??+ meetup.name+ )+}+const getMeetupCountry = (meetup: LumaEvent) => handleCountry(meetup?.country ?? '')++export default LW15Meetupsdiff --git a/apps/www/components/LaunchWeek/15/LWSummary.tsx b/apps/www/components/LaunchWeek/15/LWSummary.tsxnew file mode 100644index 00000000000..e79a5a0d256--- /dev/null+++ b/apps/www/components/LaunchWeek/15/LWSummary.tsx@@ -0,0 +1,109 @@+import React from 'react'+import Link from 'next/link'+import { buildDays, mainDays } from './data'+import { Lock } from 'lucide-react'++const LW14Summary = () => {+ const days = mainDays()++ return (+ <div+ style={{+ fontFamily:+ "SuisseIntl-Book, custom-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",+ }}+ className="w-full border bg-alternative flex flex-col rounded text-foreground-lighter mt-12 overflow-hidden"+ >+ <div className="w-full uppercase p-4 flex justify-between items-center">+ <Link+ href="/launch-week"+ className="flex items-center text-foreground font-medium gap-2.5 leading-none text-xs opacity-80 transition-opacity hover:opacity-100"+ >+ Launch Week 15+ </Link>+ <div className=" tracking-wide text-xs">July 14 — 18</div>+ </div>+ <div className="pb-4 border-t p-4 font-mono">+ <ul className="flex flex-col gap-2">+ {days.map((day, i: number) =>+ day.shipped ? (+ <ol key={`main-shipped-${day.id}`}>+ <Link+ href={day.blog}+ className="group flex items-center py-1 gap-2 hover:text-foreground"+ >+ <span className="shrink-0 text-sm leading-6">Day {i + 1}</span>+ <span>-</span>+ <span className="leading-6">{day.title}</span>+ </Link>+ </ol>+ ) : (+ <ol key={`main-not-shipped-${day.id}`}>+ <Link+ href={day.blog}+ className="group flex items-center gap-2 py-1 text-foreground-muted pointer-events-none"+ >+ <span className="shrink-0 text-sm leading-6">Day {i + 1}</span>+ <span>-</span>+ <Lock className="w-3 h-3" />+ </Link>+ </ol>+ )+ )}+ </ul>+ </div>+ <div className="w-[calc(100%+2px)] bg-alternative-200/20 flex flex-col gap-2 -m-px border font-mono">+ <div className="p-4">+ <div className="text-xs text-foreground tracking-wide">Build Stage</div>+ <ul className="flex flex-col gap-2 mt-4">+ {buildDays.map((day, i: number) =>+ day.is_shipped ? (+ <ol key={`build-shipped-${day.id}`}>+ <Link+ href={day.links[0].url}+ className="relative flex items-center justify-between group w-full py-1 hover:text-foreground"+ >+ <span className="relative flex items-center gap-2">+ <span className="">+ {i + 1 < 10 ? '0' : ''}+ {i + 1}+ </span>+ <span>-</span>+ {day.title}+ </span>+ </Link>+ </ol>+ ) : (+ <ol key={`build-not-shipped-${day.id}`}>+ <Link+ href={day.links[0].url}+ className="relative flex items-center justify-between group w-full py-1 text-foreground-muted pointer-events-none"+ >+ <span className="relative flex items-center gap-2">+ <span className="">+ {i + 1 < 10 ? '0' : ''}+ {i + 1}+ </span>+ <span>-</span>+ <Lock className="w-3 h-3" />+ </span>+ </Link>+ </ol>+ )+ )}+ <ol className="border-t pt-4 mt-2">+ <Link+ href="/events?category=meetup"+ className="relative flex items-center justify-between group w-full py-1 hover:text-foreground"+ >+ Community Meetups+ </Link>+ </ol>+ </ul>+ </div>+ </div>+ </div>+ )+}++export default LW14Summarydiff --git a/apps/www/components/LaunchWeek/15/Ticketing/LW15LandingPage.tsx b/apps/www/components/LaunchWeek/15/Ticketing/LW15LandingPage.tsxdeleted file mode 100644index ef1589eca7e..00000000000--- a/apps/www/components/LaunchWeek/15/Ticketing/LW15LandingPage.tsx+++ /dev/null@@ -1,285 +0,0 @@-import React, { useEffect, useRef, useState } from 'react'-import Link from 'next/link'-import { LoaderCircle } from 'lucide-react'-import { Button, cn, Tooltip, TooltipContent, TooltipTrigger } from 'ui'-import { useRegistration } from '../hooks/use-registration'-import useUserPresence from '../hooks/useUserPresence'-import { createTimeline } from 'animejs'--import SectionContainer from 'components/Layouts/SectionContainer'-import useLw15ConfData from 'components/LaunchWeek/15/hooks/use-conf-data'-import { FifteenSVG, LW15ThemeSwitcher, LWSVG } from '../lw15.components'--const LW15LandingPage = () => {- const onlineUsers = useUserPresence()- const videoRef = useRef<HTMLVideoElement>(null)- const register = useRegistration()- const [state] = useLw15ConfData()- const user = state.userTicketData- const isLoading = !state.sessionLoaded-- const [detectedTimezone, setDetectedTimezone] = useState('')- const [currentTime, setCurrentTime] = useState('')- const year = '2025'-- const centerColClassNames = cn(- 'md:col-start-6 md:col-span-6',- 'xl:col-start-7 xl:col-span-5',- '2xl:col-start-8 2xl:col-span-4'- )-- const handleClaimTicket = () => register.signIn()-- // Detect user's timezone- useEffect(() => {- try {- const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone- const now = new Date()-- const offsetString = now- .toLocaleString('en', {- timeZoneName: 'short',- })- .split(' ')- .pop()-- setDetectedTimezone(`${offsetString}`)- } catch (error) {- setDetectedTimezone('Unknown')- }- }, [])-- useEffect(() => {- const updateTime = () => {- const now = new Date()- const hours = now.getHours().toString().padStart(2, '0')- const minutes = now.getMinutes().toString().padStart(2, '0')- const seconds = now.getSeconds().toString().padStart(2, '0')- setCurrentTime(`${hours}:${minutes}:${seconds}`)- }-- updateTime()-- const interval = setInterval(updateTime, 1000)-- return () => clearInterval(interval)- }, [])-- // Force play video- useEffect(() => {- if (!videoRef || !videoRef.current) return-- //open bug since 2017 that you cannot set muted in video element https://github.com/facebook/react/issues/10389- videoRef.current.defaultMuted = true- videoRef.current.muted = true-- if (!!videoRef && !!videoRef.current) {- const promise = videoRef.current.play()- videoRef.current.play()- if (promise !== undefined) {- promise.then(() => {- // Auto-play started- videoRef.current?.play()- })- }- }- }, [videoRef])-- useEffect(() => {- const tl = createTimeline({ defaults: { duration: 750 } })-- tl.add('.lw15-logo', {- opacity: [0, 1],- scale: [0.9, 1],- translateY: [20, 0],- easing: 'outQuad',- duration: 1500,- })- .add('.lw15-galaxy', {- width: ['0%', '100%'],- flex: [0, 1],- scale: [0.9, 1],- opacity: [0, 1],- easing: 'cubicBezier(0.25, 0.1, 0.25, 1)',- duration: 500,- })- .add(- '.anim-last',- {- opacity: [0, 1],- translateY: ['100%', 0],- easing: 'cubicBezier(0.25, 0.1, 0.25, 1)',- duration: 600,- },- '+=300'- )- .add(- '.animate-line',- {- width: [0, '100%'],- easing: 'inOutCubic',- duration: 400,- },- '-=600'- )- .add(- '.animate-cta',- {- opacity: [0, 1],- translateY: [10, 0],- easing: 'cubicBezier(.1,0,1,1)',- duration: 1000,- },- '-=100'- )-- const elements = document.querySelectorAll('[data-animate]')- elements.forEach((element) => {- if (element.getAttribute('data-animate-processed')) return- element.setAttribute('data-animate-processed', 'true')-- const originalContent = element.innerHTML || ''- element.classList.add('overflow-hidden')-- const span = document.createElement('span')- span.innerHTML = originalContent- span.style.display = 'inline-block'- span.style.transform = 'translateY(100%)'- span.style.transition = 'transform ease-[.25,.25,0,1]'-- element.innerHTML = ''- element.appendChild(span)-- const delay = parseInt(element.getAttribute('data-animate-delay') || '100')- const duration = parseInt(element.getAttribute('data-animate-duration') || '900')-- setTimeout(() => {- setTimeout(() => {- element.classList.add('opacity-100')- span.style.transitionDuration = `${duration}ms`- span.style.transform = 'translateY(0)'- }, delay)- // Delay after initial animejs animation- }, 1500)- })- }, [])-- return (- <SectionContainer className="flex flex-col justify-between gap-12 !py-10 h-full">- <div className="flex justify-between items-start text-xs">- <div className="flex flex-col">- <div className="overflow-hidden">- <span className="opacity-0 anim-last inline-block">- Detected timezone: {detectedTimezone}- </span>- </div>- <div className="overflow-hidden">- <span className="opacity-0 anim-last inline-block">Time: {currentTime}</span>- </div>- </div>- <div className="overflow-hidden">- <LW15ThemeSwitcher className="opacity-0 anim-last" />- </div>- </div>- <div className="flex flex-col gap-4">- <div className="w-full flex items-center justify-center h-[60px] md:h-[100px] lg:h-[120px] xl:h-[145px] gap-4">- <h1 className="sr-only">Supabase Launch Week 15</h1>- <LWSVG className="opacity-0 lw15-logo lw15-logo-left h-full w-auto" />- <div className="lw15-galaxy opacity-0 relative h-full w-0 flex-0 dark:mix-blend-screen overflow-hidden">- <video- ref={videoRef}- src="/images/launchweek/15/lw15-galaxy.mp4"- poster="/images/launchweek/15/lw15-galaxy.png"- autoPlay- muted- loop- playsInline- controls={false}- className="h-full w-full object-cover"- />- </div>- <FifteenSVG className="opacity-0 lw15-logo lw15-logo-right h-full w-auto mr-0.5" />- </div>- <div className="grid md:grid-cols-12 gap-4 delay-100">- <div- data-animate- data-animate-delay={300}- className="hidden md:inline-block opacity-0 md:col-span-4 text-xs overflow-hidden h-fit"- >- Celebrate our launch week with exciting new features designed to take your development- skills to the next level.- </div>- <div className={cn('flex flex-col items-start gap-4', centerColClassNames)}>- <h2- data-animate- data-animate-delay={400}- data-animate-duration={800}- className="text-3xl lg:text-4xl opacity-0 tracking-[-0.25px]"- >- Five days of launches- <br /> to supercharge- <br /> your development.- </h2>- <div className="opacity-0 animate-cta">- {user.id ? (- <Tooltip>- <TooltipTrigger asChild>- <Button className="h-auto py-1 px-2" type="secondary" size="medium" asChild>- <Link href="/launch-week/ticket">- {isLoading ? (- <LoaderCircle className="w-4 h-4 animate-spinner" />- ) : (- 'View your ticket'- )}- </Link>- </Button>- </TooltipTrigger>- <TooltipContent side="right">- You claimed a ticket as @{user.username}- </TooltipContent>- </Tooltip>- ) : (- <Button- className="h-auto py-1 px-2 min-w-[125px] min-h-[28px]"- type="secondary"- size="medium"- onClick={handleClaimTicket}- >- {isLoading ? (- <LoaderCircle className="w-4 h-4 animate-spinner" />- ) : (- 'Claim your ticket'- )}- </Button>- )}- </div>- </div>- <div- data-animate- data-animate-delay={300}- className="md:col-start-12 text-right hidden md:block h-fit opacity-0"- >- {year}- </div>- </div>- </div>- <div className="grid grid-cols-2 md:grid-cols-12 gap-4 text-xs items-end">- <div className="md:col-span-4 hidden md:block">- <div className="w-0 h-px bg-foreground animate-line" />- </div>- <div className={cn(centerColClassNames)}>- <p data-animate data-animate-delay={1200} className="opacity-0">- {user.id- ? `Nice to see you back, ${user.name?.split(' ')[0]}`- : 'Claim your ticket to enter LW15'}- </p>- </div>- <div className="md:col-start-12 text-right text-nowrap items-end overflow-hidden">- <span className="opacity-0 anim-last inline-block">Online: {onlineUsers}</span>- </div>- </div>- </SectionContainer>- )-}--export default LW15LandingPagediff --git a/apps/www/components/LaunchWeek/15/data/index.ts b/apps/www/components/LaunchWeek/15/data/index.tsnew file mode 100644index 00000000000..41792d54f43--- /dev/null+++ b/apps/www/components/LaunchWeek/15/data/index.ts@@ -0,0 +1,4 @@+export { default as mainDays } from './lw15_data'+export type { StepProps, StepLink, WeekDayProps } from './lw15_data'+export { days as buildDays } from './lw15_build_stage'+export type { BuildDay } from './lw15_build_stage'diff --git a/apps/www/components/LaunchWeek/15/data/lw15_build_stage.tsx b/apps/www/components/LaunchWeek/15/data/lw15_build_stage.tsxnew file mode 100644index 00000000000..915c217e25a--- /dev/null+++ b/apps/www/components/LaunchWeek/15/data/lw15_build_stage.tsx@@ -0,0 +1,93 @@+// see apps/www/components/LaunchWeek/13/Releases/data/lw13_build_stage.tsx for reference++import { ReactNode } from 'react'+import { type ClassValue } from 'clsx'+import { PRODUCT_MODULES } from 'shared-data/products'+import { AppWindow, Database, Globe } from 'lucide-react'++export interface BuildDay {+ icon?: ReactNode // use svg jsx with 34x34px viewport+ className?: ClassValue | string+ id: string+ title: string+ description?: string+ is_shipped: boolean+ links: BuildDayLink[]+ icons?: BuildDayLink[]+ type?: string+}++export interface BuildDayLink {+ url: string+ label?: string+ icon?: any+ target?: '_blank'+}++export const days: BuildDay[] = [+ {+ title: 'Supabase UI: Platform Kit',+ description: '',+ id: 'platform-kit',+ is_shipped: true,+ links: [+ {+ url: '/blog/supabase-ui-platform-kit',+ label: 'Blog post',+ target: '_blank',+ },+ ],+ },+ {+ title: '',+ description: '',+ id: '',+ is_shipped: false,+ links: [+ {+ url: '/blog/',+ label: 'Blog post',+ target: '_blank',+ },+ ],+ },+ {+ title: '',+ description: '',+ id: '',+ is_shipped: false,+ links: [+ {+ url: '/blog/',+ label: 'Blog post',+ target: '_blank',+ },+ ],+ },+ {+ title: '',+ description: '',+ id: '',+ is_shipped: false,+ links: [+ {+ url: '/blog/',+ label: 'Blog post',+ target: '_blank',+ },+ ],+ },+ {+ title: '',+ description: '',+ id: '',+ is_shipped: false,+ links: [+ {+ url: '/blog/',+ label: 'Blog post',+ target: '_blank',+ },+ ],+ },+]diff --git a/apps/www/components/LaunchWeek/15/data/lw15_data.tsx b/apps/www/components/LaunchWeek/15/data/lw15_data.tsxnew file mode 100644index 00000000000..d73b1ceb0e7--- /dev/null+++ b/apps/www/components/LaunchWeek/15/data/lw15_data.tsx@@ -0,0 +1,232 @@+import { ReactNode } from 'react'++type StepLinkType = 'productHunt' | 'video' | 'docs' | 'xSpace' | 'blog' | 'podcast'++export interface StepLink {+ type: StepLinkType+ text?: string+ icon?: any+ href: string+}++export interface StepProps {+ title: string+ icon?: string+ badge?: string+ blog?: string+ docs?: string+ description?: string+ github?: string+ hackernews?: string+ product_hunt?: string+ thumb?: string+ url?: string+ video?: string+ twitter_spaces?: string+ className?: string+ hideInBlog?: boolean+ bg_layers?: {+ img?: string+ mobileImg?: string+ imgLight?: string+ mobileImgLight?: string+ className?: string+ }[]+ steps?: StepProps[] | []+ links?: StepLink[]+}++export interface WeekDayProps {+ id: string+ title: string+ date: string+ d: number+ dd: string+ published_at: string+ shipped: boolean // show card in layout+ isToday?: boolean // current active day+ hasCountdown?: boolean // use countdown only on "tomorrow"+ description: string | ReactNode+ links?: StepLink[] // types = 'productHunt' | 'video' | 'docs' | 'xSpace' | 'blog' | 'podcast'+ videoId?: string // youtube id+ videoThumbnail?: string+ blog: string+ steps: StepProps[] | []+}++export const endOfLW13Hackathon = '2025-04-04T23:59:59.999-08:00'++const days: (isDark?: boolean) => WeekDayProps[] = (isDark = true) => [+ {+ id: 'day-1',+ d: 1,+ dd: 'Mon',+ shipped: true,+ isToday: true,+ hasCountdown: false,+ blog: '/blog/jwt-signing-keys',+ date: 'Monday',+ published_at: '2025-03-31T07:00:00.000-07:00',+ title: 'Introducing JWT Signing Keys',+ description: '',+ links: [+ {+ type: 'video',+ href: 'htzj9SkkhhA',+ },+ ],+ steps: [+ {+ title: '',+ url: '#',+ blog: '#',+ bg_layers: [+ {+ img: '/images/launchweek/15/d1.png',+ },+ ],+ },+ ],+ },+ {+ id: 'day-2',+ d: 2,+ dd: 'Tue',+ shipped: false,+ isToday: false,+ hasCountdown: false,+ blog: '/blog/',+ date: 'Tuesday',+ published_at: '2025-04-01T07:00:00.000-07:00',+ title: 'Lorem ipsum dolor sit amet',+ description: <></>,+ links: [+ {+ type: 'video',+ href: '',+ },+ {+ type: 'xSpace',+ href: 'https://twitter.com/i/spaces/',+ },+ ],+ steps: [+ {+ title: '',+ url: '#',+ blog: '#',+ bg_layers: [+ {+ img: '/images/launchweek/15/d2.png',+ },+ ],+ },+ ],+ },+ {+ id: 'day-3',+ d: 3,+ dd: 'Wed',+ shipped: false,+ isToday: false,+ hasCountdown: false,+ blog: '/blog/',+ date: 'Wednesday',+ published_at: '2025-04-02T07:00:00.000-07:00',+ title: 'Lorem ipsum dolor sit amet',+ description: <></>,+ links: [+ {+ type: 'video',+ href: '',+ },+ {+ type: 'xSpace',+ href: 'https://twitter.com/i/spaces/',+ },+ ],+ steps: [+ {+ title: '',+ url: '#',+ blog: '#',+ bg_layers: [+ {+ img: '/images/launchweek/15/d3.png',+ },+ ],+ },+ ],+ },+ {+ id: 'day-4',+ d: 4,+ dd: 'Thu',+ shipped: false,+ isToday: false,+ hasCountdown: false,+ blog: '/blog/',+ date: 'Thursday',+ published_at: '2025-04-03T07:00:00.000-07:00',+ title: 'Lorem ipsum dolor sit amet',+ description: <></>,+ links: [+ {+ type: 'video',+ href: '',+ },+ {+ type: 'xSpace',+ href: 'https://twitter.com/i/spaces/',+ },+ ],+ steps: [+ {+ title: '',+ url: '#',+ blog: '#',+ bg_layers: [+ {+ img: '/images/launchweek/15/d4.png',+ },+ ],+ },+ ],+ },+ {+ id: 'day-5',+ d: 5,+ dd: 'Fri',+ shipped: false,+ isToday: false,+ hasCountdown: false,+ blog: '/blog/',+ date: 'Friday',+ published_at: '2025-04-04T07:00:00.000-07:00',+ title: 'Lorem ipsum dolor sit amet',+ description: '',+ links: [+ {+ type: 'video',+ href: '',+ },+ {+ type: 'xSpace',+ href: 'https://twitter.com/i/spaces/',+ },+ ],+ steps: [+ {+ title: '',+ url: '#',+ blog: '#',+ bg_layers: [+ {+ img: '/images/launchweek/15/d5.png',+ },+ ],+ },+ ],+ },+]+export default daysdiff --git a/apps/www/components/LaunchWeek/15/lw15.components.tsx b/apps/www/components/LaunchWeek/15/lw15.components.tsxindex af5aeabb2e8..0ad4a5bb761 100644--- a/apps/www/components/LaunchWeek/15/lw15.components.tsx+++ b/apps/www/components/LaunchWeek/15/lw15.components.tsx@@ -1,5 +1,11 @@+import { useEffect, useState } from 'react'+import { IconDocumentation, IconMicSolid, IconProductHunt, IconYoutubeSolid, cn } from 'ui'+import { Music } from 'lucide-react'++import Link from 'next/link'+import { StepLink } from './data/lw15_data'+import { ExpandableVideo } from 'ui-patterns/ExpandableVideo'import { useTheme } from 'next-themes'-import { cn } from 'ui'export const LWSVG = (props: React.SVGProps<SVGSVGElement>) => {return (@@ -68,3 +74,77 @@ export const LW15ThemeSwitcher = ({</div>)}++interface DayLink extends StepLink {+ className?: string+}++export const DayLink = ({ type, icon, text, href = '', className }: DayLink) => {+ const [isMounted, setIsMounted] = useState(false)++ useEffect(() => {+ setIsMounted(true)+ }, [])++ if (!isMounted) return null++ const linkTypes = {+ blog: {+ icon: IconDocumentation,+ text: 'Blog Post',+ },+ docs: {+ icon: IconDocumentation,+ text: 'Docs',+ },+ productHunt: {+ icon: IconProductHunt,+ text: 'Product Hunt',+ },+ video: {+ icon: IconYoutubeSolid,+ text: 'Watch video',+ },+ podcast: {+ icon: Music,+ text: 'Podcast',+ },+ xSpace: {+ icon: IconMicSolid,+ text: 'X Space',+ },+ }+ const isTargetBlank = () => {+ switch (type) {+ case 'productHunt':+ case 'xSpace':+ case 'docs':+ return true+ }+ }+ const Text = () => <>{text ?? linkTypes[type]?.text}</>++ const Component = type === 'video' ? 'div' : Link++ const Trigger = ({ component: Comp, ...props }: any) => (+ <Comp+ className={cn(+ 'py-1 flex gap-2 items-center text-white/70 hover:text-white transition-colors text-sm !leading-none',+ className+ )}+ {...props}+ >+ <span className="w-1.5 h-1.5 bg-current flex items-center justify-center" />+ <Text />+ </Comp>+ )++ if (type === 'video')+ return <ExpandableVideo videoId={href} trigger={<Trigger component={Component} />} />++ return <Trigger href={href} target={isTargetBlank() ? '_blank' : '_self'} component={Component} />+}++export default {+ DayLink,+}diff --git a/apps/www/pages/blog/[slug].tsx b/apps/www/pages/blog/[slug].tsxindex 749df534396..bf2abfe5cb0 100644--- a/apps/www/pages/blog/[slug].tsx+++ b/apps/www/pages/blog/[slug].tsx@@ -10,20 +10,21 @@ import { Badge } from 'ui'import dayjs from 'dayjs'import authors from 'lib/authors.json'-import { generateReadingTime, isNotNullOrUndefined } from '~/lib/helpers'-import mdxComponents from '~/lib/mdx/mdxComponents'-import { mdxSerialize } from '~/lib/mdx/mdxSerialize'-import { getAllPostSlugs, getPostdata, getSortedPosts } from '~/lib/posts'+import { generateReadingTime, isNotNullOrUndefined } from 'lib/helpers'+import mdxComponents from 'lib/mdx/mdxComponents'+import { mdxSerialize } from 'lib/mdx/mdxSerialize'+import { getAllPostSlugs, getPostdata, getSortedPosts } from 'lib/posts'-import ShareArticleActions from '~/components/Blog/ShareArticleActions'-import CTABanner from '~/components/CTABanner'-import LW11Summary from '~/components/LaunchWeek/11/LW11Summary'-import LW12Summary from '~/components/LaunchWeek/12/LWSummary'-import LW13Summary from '~/components/LaunchWeek/13/Releases/LWSummary'-import LW14Summary from '~/components/LaunchWeek/14/Releases/LWSummary'-import BlogLinks from '~/components/LaunchWeek/7/BlogLinks'-import LWXSummary from '~/components/LaunchWeek/X/LWXSummary'-import DefaultLayout from '~/components/Layouts/Default'+import ShareArticleActions from 'components/Blog/ShareArticleActions'+import CTABanner from 'components/CTABanner'+import LW11Summary from 'components/LaunchWeek/11/LW11Summary'+import LW12Summary from 'components/LaunchWeek/12/LWSummary'+import LW13Summary from 'components/LaunchWeek/13/Releases/LWSummary'+import LW14Summary from 'components/LaunchWeek/14/Releases/LWSummary'+import LW15Summary from 'components/LaunchWeek/15/LWSummary'+import BlogLinks from 'components/LaunchWeek/7/BlogLinks'+import LWXSummary from 'components/LaunchWeek/X/LWXSummary'+import DefaultLayout from 'components/Layouts/Default'import { ChevronLeft } from 'lucide-react'type Post = ReturnType<typeof getSortedPosts>[number]@@ -139,6 +140,7 @@ function BlogPostPage(props: InferGetStaticPropsType<typeof getStaticProps>) {const isLaunchWeek12 = props.blog.launchweek?.toString().toLocaleLowerCase() === '12'const isLaunchWeek13 = props.blog.launchweek?.toString().toLocaleLowerCase() === '13'const isLaunchWeek14 = props.blog.launchweek?.toString().toLocaleLowerCase() === '14'+ const isLaunchWeek15 = props.blog.launchweek?.toString().toLocaleLowerCase() === '15'const author = authorArray.map((authorId) => {@@ -353,6 +355,7 @@ function BlogPostPage(props: InferGetStaticPropsType<typeof getStaticProps>) {{isLaunchWeek12 && <LW12Summary />}{isLaunchWeek13 && <LW13Summary />}{isLaunchWeek14 && <LW14Summary />}+ {isLaunchWeek15 && <LW15Summary />}<div className="block lg:hidden py-8"><div className="text-foreground-lighter text-sm">Share this article</div><ShareArticleActions title={props.blog.title} slug={props.blog.slug} />diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsxindex 57cc60d26e7..5d0e8b726fe 100644--- a/apps/www/pages/launch-week/index.tsx+++ b/apps/www/pages/launch-week/index.tsx@@ -1,12 +1,24 @@+import dynamic from 'next/dynamic'import { NextSeo } from 'next-seo'import { LW15_DATE, LW15_TITLE, LW15_URL, SITE_ORIGIN } from 'lib/constants'import { useRouter } from 'next/router'-import { Lw15ConfDataProvider } from 'components/LaunchWeek/15/hooks/use-conf-data'import DefaultLayout from 'components/Layouts/Default'-import LW15LandingPage from 'components/LaunchWeek/15/Ticketing/LW15LandingPage'+import LW15Heading from 'components/LaunchWeek/15/LW15Heading'+import LW15MainStage from 'components/LaunchWeek/15/LW15MainStage'-const Lw15Page = () => {+import type { GetServerSideProps } from 'next'+import type { LumaEvent } from 'app/api-v2/luma-events/route'++const LW15BuildStage = dynamic(() => import('components/LaunchWeek/15/LW15BuildStage'))+const LW15Hackathon = dynamic(() => import('components/LaunchWeek/15/LW15Hackathon'))+const LW15Meetups = dynamic(() => import('components/LaunchWeek/15/LW15Meetups'))++interface Props {+ meetups: LumaEvent[]+}++const Lw15Page = ({ meetups }: Props) => {const TITLE = `${LW15_TITLE} | ${LW15_DATE}`const DESCRIPTION = 'Join us for a week of announcing new features, every day at 8AM PT.'const OG_IMAGE = `${SITE_ORIGIN}/images/launchweek/15/lw15-og.png?lw=15`@@ -38,21 +50,53 @@ const Lw15Page = () => {}}/>- <Lw15ConfDataProvider initState={{ userTicketData: defaultUserData }}>- <DefaultLayout className="!min-h-[calc(100dvh-66px)] h-[calc(100dvh-66px)] dark:bg-black">- <div- style={{- fontFamily:- "SuisseIntl-Book, custom-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",- }}- className="h-full"- >- <LW15LandingPage />- </div>+ <div+ style={{+ fontFamily:+ "SuisseIntl-Book, custom-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",+ }}+ >+ <DefaultLayout className="dark:bg-black">+ <LW15Heading />+ <LW15MainStage />+ <LW15BuildStage />+ <LW15Hackathon />+ <LW15Meetups meetups={meetups} /></DefaultLayout>- </Lw15ConfDataProvider>+ </div></>)}+export const getServerSideProps: GetServerSideProps = async () => {+ try {+ // Date range for Launch Week 15: July 14th, 2025 to September 1st, 2025+ const afterDate = '2025-07-14T00:00:00.000Z'+ const beforeDate = '2025-09-01T23:59:59.999Z'++ const url = new URL(`${SITE_ORIGIN}/api-v2/luma-events`)+ url.searchParams.append('after', afterDate)+ url.searchParams.append('before', beforeDate)++ const res = await fetch(url.toString())+ const data = await res.json()++ if (data.success) {+ return {+ props: {+ meetups: data.events.filter((event: LumaEvent) =>+ event.name?.toLowerCase().includes('lw15')+ ),+ },+ }+ } else {+ console.error('Failed to fetch meetups:', data.error)+ return { props: { meetups: [] } }+ }+ } catch (error) {+ console.error('Error fetching meetups:', error)+ return { props: { meetups: [] } }+ }+}+export default Lw15Pagediff --git a/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/jwt-signing-keys-migration-dark.png b/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/jwt-signing-keys-migration-dark.pngnew file mode 100644index 00000000000..ae479fc0f6dBinary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/jwt-signing-keys-migration-dark.png differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/jwt-signing-keys-migration-light.png b/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/jwt-signing-keys-migration-light.pngnew file mode 100644index 00000000000..f7a528e5a26Binary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/jwt-signing-keys-migration-light.png differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/og.jpg b/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/og.jpgnew file mode 100644index 00000000000..7b8ca262fdaBinary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/og.jpg differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/thumb.jpg b/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/thumb.jpgnew file mode 100644index 00000000000..c3bacf37ccfBinary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-jwt-signing-keys/thumb.jpg differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/ai-components.png b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/ai-components.pngnew file mode 100644index 00000000000..baf6865e3caBinary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/ai-components.png differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/auth-settings.png b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/auth-settings.pngnew file mode 100644index 00000000000..5a373591c80Binary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/auth-settings.png differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/auth-users.png b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/auth-users.pngnew file mode 100644index 00000000000..3c69fe69064Binary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/auth-users.png differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/database-components.png b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/database-components.pngnew file mode 100644index 00000000000..9f853d1c199Binary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/database-components.png differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/og.jpg b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/og.jpgnew file mode 100644index 00000000000..8ae679d0339Binary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/og.jpg differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/storage-components.png b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/storage-components.pngnew file mode 100644index 00000000000..54eafa19687Binary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/storage-components.png differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/supabase-signups.png b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/supabase-signups.pngnew file mode 100644index 00000000000..15b8217aeb3Binary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/supabase-signups.png differdiff --git a/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/thumb.png b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/thumb.pngnew file mode 100644index 00000000000..6976fc0e6e7Binary files /dev/null and b/apps/www/public/images/blog/launch-week-15/day-1-ui-platform-kit/thumb.png differdiff --git a/apps/www/public/images/launchweek/15/d1.png b/apps/www/public/images/launchweek/15/d1.pngnew file mode 100644index 00000000000..64b75e1239fBinary files /dev/null and b/apps/www/public/images/launchweek/15/d1.png differdiff --git a/apps/www/public/images/launchweek/15/d2.png b/apps/www/public/images/launchweek/15/d2.pngnew file mode 100644index 00000000000..f037136f10cBinary files /dev/null and b/apps/www/public/images/launchweek/15/d2.png differdiff --git a/apps/www/public/images/launchweek/15/d3.png b/apps/www/public/images/launchweek/15/d3.pngnew file mode 100644index 00000000000..c09a947fbbdBinary files /dev/null and b/apps/www/public/images/launchweek/15/d3.png differdiff --git a/apps/www/public/images/launchweek/15/d4.png b/apps/www/public/images/launchweek/15/d4.pngnew file mode 100644index 00000000000..55768776c55Binary files /dev/null and b/apps/www/public/images/launchweek/15/d4.png differdiff --git a/apps/www/public/images/launchweek/15/d5.png b/apps/www/public/images/launchweek/15/d5.pngnew file mode 100644index 00000000000..239caa8f887Binary files /dev/null and b/apps/www/public/images/launchweek/15/d5.png differdiff --git a/apps/www/public/images/launchweek/15/lw15-galaxy-hackathon.png b/apps/www/public/images/launchweek/15/lw15-galaxy-hackathon.pngnew file mode 100644index 00000000000..cb040d7e115Binary files /dev/null and b/apps/www/public/images/launchweek/15/lw15-galaxy-hackathon.png differdiff --git a/apps/www/public/images/launchweek/15/lw15-globe-dark.png b/apps/www/public/images/launchweek/15/lw15-globe-dark.pngnew file mode 100644index 00000000000..183d8f64b60Binary files /dev/null and b/apps/www/public/images/launchweek/15/lw15-globe-dark.png differdiff --git a/apps/www/public/images/launchweek/15/lw15-globe-light.png b/apps/www/public/images/launchweek/15/lw15-globe-light.pngnew file mode 100644index 00000000000..e21422a0856Binary files /dev/null and b/apps/www/public/images/launchweek/15/lw15-globe-light.png differdiff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xmlindex 08f5d8d9f20..07c36a0072b 100644--- a/apps/www/public/rss.xml+++ b/apps/www/public/rss.xml@@ -5,9 +5,23 @@<link>https://supabase.com</link><description>Latest news from Supabase</description><language>en</language>- <lastBuildDate>Wed, 25 Jun 2025 00:00:00 -0700</lastBuildDate>+ <lastBuildDate>Mon, 14 Jul 2025 00:00:00 -0700</lastBuildDate><atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/><item>+ <guid>https://supabase.com/blog/jwt-signing-keys</guid>+ <title>Introducing JWT Signing Keys</title>+ <link>https://supabase.com/blog/jwt-signing-keys</link>+ <description>A new JWT signing keys system based on public key cryptography to improve your project's security and performance.</description>+ <pubDate>Mon, 14 Jul 2025 00:00:00 -0700</pubDate>+</item>+<item>+ <guid>https://supabase.com/blog/supabase-ui-platform-kit</guid>+ <title>Supabase UI: Platform Kit</title>+ <link>https://supabase.com/blog/supabase-ui-platform-kit</link>+ <description>We are launching new components in the Supabase UI Library that makes it incredibly easy to build platforms on top of Supabase.</description>+ <pubDate>Mon, 14 Jul 2025 00:00:00 -0700</pubDate>+</item>+<item><guid>https://supabase.com/blog/natural-db</guid><title>Build a Personalized AI Assistant with Postgres</title><link>https://supabase.com/blog/natural-db</link>diff --git a/packages/ui-patterns/Banners/index.ts b/packages/ui-patterns/Banners/index.tsdeleted file mode 100644index b8edf723c4c..00000000000--- a/packages/ui-patterns/Banners/index.ts+++ /dev/null@@ -1 +0,0 @@-export * from './AnnouncementBanner'diff --git a/packages/ui-patterns/index.tsx b/packages/ui-patterns/index.tsxindex 1e91aa70c0a..ecf00760de6 100644--- a/packages/ui-patterns/index.tsx+++ b/packages/ui-patterns/index.tsx@@ -5,13 +5,13 @@export * from './src/admonition'export * from './src/AssistantChat/AssistantChatForm'export * from './src/AuthenticatedDropdownMenu'-export * from './Banners'+export * from './src/Banners'export * from './src/CommandMenu'export * from './src/ComputeBadge'export * from './src/FilterBar'export * from './src/GlassPanel'export * from './src/InnerSideMenu'-export * from './PopupFrame'+export * from './src/PopupFrame'export * from './src/ShimmeringLoader'export * from './src/TimestampInfo'export * from './src/Toc'diff --git a/packages/ui-patterns/Banners/AnnouncementBanner.tsx b/packages/ui-patterns/src/Banners/AnnouncementBanner.tsxsimilarity index 74%rename from packages/ui-patterns/Banners/AnnouncementBanner.tsxrename to packages/ui-patterns/src/Banners/AnnouncementBanner.tsxindex af0275e408e..a3d2190a667 100644--- a/packages/ui-patterns/Banners/AnnouncementBanner.tsx+++ b/packages/ui-patterns/src/Banners/AnnouncementBanner.tsx@@ -1,5 +1,8 @@import { Announcement } from 'ui/src/layout/banners'import LW15Banner from './LW15Banner'+import announcementJSON from './data.json'++export const announcement = announcementJSONexport const AnnouncementBanner = () => {return (diff --git a/packages/ui-patterns/src/Banners/LW14Announcement.tsx b/packages/ui-patterns/src/Banners/LW14Announcement.tsxdeleted file mode 100644index 69ad2dfcc7a..00000000000--- a/packages/ui-patterns/src/Banners/LW14Announcement.tsx+++ /dev/null@@ -1,10 +0,0 @@-import { Announcement } from 'ui/src/layout/banners'-import LW14Banner from './LW14Banner'--export const LW14Announcement = () => {- return (- <Announcement show={true} announcementKey="announcement_lw14_countdown">- <LW14Banner />- </Announcement>- )-}diff --git a/packages/ui-patterns/src/Banners/LW14Banner.tsx b/packages/ui-patterns/src/Banners/LW14Banner.tsxdeleted file mode 100644index a323d2704f6..00000000000--- a/packages/ui-patterns/src/Banners/LW14Banner.tsx+++ /dev/null@@ -1,45 +0,0 @@-'use client'--import Link from 'next/link'-import { usePathname } from 'next/navigation'-import announcement from './data.json'-import Image from 'next/image'-import { useTheme } from 'next-themes'-import { Button } from 'ui/src/components/Button'-import { cn } from 'ui'--export function LW14Banner() {- const pathname = usePathname()- const { resolvedTheme } = useTheme()- const isHomePage = pathname === '/'- const isLaunchWeekPage =- pathname === '/launch-week' || pathname?.includes('/launch-week/tickets/')- const isLaunchWeekSection =- (pathname?.includes('/launch-week') || pathname?.includes('/launch-week')) ?? false-- if (isLaunchWeekPage || isHomePage) return null-- return (- <div- style={{ fontFamily: 'Departure Mono, Source Code Pro, Office Code Pro, Menlo, monospace' }}- className="relative w-full p-2 flex items-center group justify-center text-foreground bg-alternative border-b border-muted transition-colors overflow-hidden"- >- <div className="relative z-10 flex items-center justify-center">- <div- className={cn(- 'w-full flex gap-5 md:gap-10 items-center md:justify-center text-sm',- isLaunchWeekSection && '!justify-center'- )}- >- <p className="flex gap-1.5 items-center ">{announcement.text}</p>- <div className="hidden lg:block text-foreground-lighter">Top 10 Launches</div>- <Button size="tiny" type="default" className="px-2 !leading-none text-xs" asChild>- <Link href={announcement.link}>{announcement.cta}</Link>- </Button>- </div>- </div>- </div>- )-}--export default LW14Bannerdiff --git a/packages/ui-patterns/Banners/LW15Banner.tsx b/packages/ui-patterns/src/Banners/LW15Banner.tsxsimilarity index 60%rename from packages/ui-patterns/Banners/LW15Banner.tsxrename to packages/ui-patterns/src/Banners/LW15Banner.tsxindex b9c07a1e2bd..f6f00e58290 100644--- a/packages/ui-patterns/Banners/LW15Banner.tsx+++ b/packages/ui-patterns/src/Banners/LW15Banner.tsx@@ -1,37 +1,63 @@'use client'+import { useRef, useEffect } from 'react'import Link from 'next/link'import { usePathname } from 'next/navigation'import { Button } from 'ui/src/components/Button'+import announcement from '../Banners/data.json'export function LW15Banner() {const pathname = usePathname()const isHomePage = pathname === '/'const isLWPage = pathname?.includes('/launch-week')+ const videoRef = useRef<HTMLVideoElement>(null)++ // Force play video+ useEffect(() => {+ if (!videoRef || !videoRef.current) return++ //open bug since 2017 that you cannot set muted in video element https://github.com/facebook/react/issues/10389+ videoRef.current.defaultMuted = true+ videoRef.current.muted = true++ if (!!videoRef && !!videoRef.current) {+ const promise = videoRef.current.play()+ videoRef.current.play()+ if (promise !== undefined) {+ promise.then(() => {+ // Auto-play started+ videoRef.current?.play()+ })+ }+ }+ }, [videoRef])if (isHomePage || isLWPage) return nullreturn (<div className="relative w-full p-2 flex items-center group justify-center text-foreground bg-alternative border-b border-muted transition-colors overflow-hidden"><video+ ref={videoRef}src={`${process.env.NEXT_PUBLIC_SUPABASE_URL}/storage/v1/object/public/images/launch-week/lw15/assets/lw15-galaxy.mp4`}+ poster={`${process.env.NEXT_PUBLIC_SUPABASE_URL}/storage/v1/object/public/images/launch-week/lw15/assets/lw15-galaxy.png`}autoPlayloopmuted+ playsInline+ controls={false}className="absolute w-full h-full inset-0 object-cover z-0"style={{opacity: 0.05,}}- poster={`${process.env.NEXT_PUBLIC_SUPABASE_URL}/storage/v1/object/public/images/launch-week/lw15/assets/lw15-galaxy.png`}/><div className="relative z-10 flex items-center justify-center"><div className="w-full flex gap-5 md:gap-10 items-center md:justify-center text-sm"><p className="flex gap-1.5 items-center font-mono uppercase tracking-widest text-sm">- <span className="hidden sm:inline">Launch Week</span>- <span className="inline sm:hidden">LW</span> 15 / July 14—18+ {announcement.text}</p>+ <p className="text-sm">{announcement.launch}</p><Button size="tiny" type="default" className="px-2 !leading-none text-xs" asChild>- <Link href="/launch-week">Claim your ticket</Link>+ <Link href={announcement.link}>{announcement.cta}</Link></Button></div></div>diff --git a/packages/ui-patterns/src/Banners/data.json b/packages/ui-patterns/src/Banners/data.jsonindex 3d14c3cbe25..1b21e512a03 100644--- a/packages/ui-patterns/src/Banners/data.json+++ b/packages/ui-patterns/src/Banners/data.json@@ -1,6 +1,7 @@{- "text": "Launch Week 15",+ "text": "LW15: Day 1",+ "launch": "JWT Signing Keys","launchDate": "2025-07-14T08:00:00.000-07:00",- "link": "/launch-week",- "cta": "Claim your ticket"+ "link": "/launch-week#main-stage",+ "cta": "Learn more"}diff --git a/packages/ui-patterns/src/Banners/index.ts b/packages/ui-patterns/src/Banners/index.tsnew file mode 100644index 00000000000..282b54e3a8d--- /dev/null+++ b/packages/ui-patterns/src/Banners/index.ts@@ -0,0 +1,5 @@+import { AnnouncementBanner, announcement } from './AnnouncementBanner'++export { AnnouncementBanner, announcement }++export default AnnouncementBannerdiff --git a/packages/ui-patterns/PopupFrame/index.tsx b/packages/ui-patterns/src/PopupFrame/index.tsxsimilarity index 100%rename from packages/ui-patterns/PopupFrame/index.tsxrename to packages/ui-patterns/src/PopupFrame/index.tsx