Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Trinity (#19671)

Francesco Sansalvadore0f71a2a2cf86
diff --git a/apps/www/_blog/2023-12-13-supabase-branching.mdx b/apps/www/_blog/2023-12-13-supabase-branching.mdx
new file mode 100644
index 00000000000..ac9574e40ef
--- /dev/null
+++ b/apps/www/_blog/2023-12-13-supabase-branching.mdx
@@ -0,0 +1,157 @@
+---
+title: 'Supabase Branching'
+description: 'A Postgres database for every Pull Request.'
+launchweek: X
+categories:
+ - product
+tags:
+ - launch-week
+ - supavisor
+ - postgres
+date: '2023-12-13'
+published_at: '2023-12-13:00:00.000-09:00'
+toc_depth: 3
+author: qiao,jonny
+image: lwx-supabase-branching/branching-og.png
+thumb: lwx-supabase-branching/branching-thumb.png
+---
+
+A few months ago we mentioned that we were working on Branching with a (somewhat ambitious) early-access form.
+
+Today we are rolling out access to early-access subscribers. Internally, we were hoping to make this public access for this Launch Week but, well, [_we did say this was hard_](/blog/supabase-local-dev#supabase-branching-is-hard).
+
+We're operating on a first-signed-up, first-served basis, rolling it out in batches to paid orgs in who registered for early access.
+
+<Img
+ src={{
+ light: '/images/blog/lwx-supabase-branching/branching-ui--light.png',
+ dark: '/images/blog/lwx-supabase-branching/branching-ui--dark.png',
+ }}
+ wide={true}
+ caption="New Branching UI in the Supabase dashboard"
+ captionAlign="left"
+/>
+
+## What's Branching?
+
+At some point during development, you will probably need to experiment with your Postgres database. Today that's possible on your local development machine using the Supabase CLI. When you run `supabase start` with the CLI to get the entire Supabase stack running locally. You can play around with ideas and run `supabase db reset` whenever you want to start again. When you want to capture your changes in a database migration, you can run `supabase db diff`.
+
+Branching is a natural extension of this, but instead of experimenting with a just a _local_ database you also get _remote_ database. You continue to use the workflow above, and then when you commit your changes to Git we'll run them on a Supabase Preview Branch.
+
+<Img
+ alt="Tweet showing Guillermo Rauch mentioning Supabase as one of the companies compatible with the Next.js App Router"
+ src={{
+ light: '/images/blog/lwx-supabase-branching/feat-branches-examples--light.png',
+ dark: '/images/blog/lwx-supabase-branching/feat-branches-examples--dark.png',
+ }}
+ caption="Each Git branch has a corresponding Supabase Preview."
+ captionAlign="left"
+/>
+
+Each Git branch has a corresponding Supabase Preview, which automatically updates whenever you push an update. The rest of the workflow should feel familiar: when you merge a Pull Request into your main Git branch, Supabase will run your database migrations inside your Production database.
+
+Your project's Preview Branches are designed with safety in mind. They are isolated instances, each with a distinct set of API keys and passwords. Each instance contains every Supabase feature: a Postgres database, Auth, File Storage, Realtime, Edge Functions, and Data APIs.
+
+<Img
+ alt="Tweet showing Guillermo Rauch mentioning Supabase as one of the companies compatible with the Next.js App Router"
+ src={{
+ light: '/images/blog/lwx-supabase-branching/isolated-instances--light.png',
+ dark: '/images/blog/lwx-supabase-branching/isolated-instances--dark.png',
+ }}
+ caption="Every Supabase Preview is a dedicated instance, with a full suite of Supabase services."
+ captionAlign="left"
+/>
+
+Even in relaxed developer environments, if one of your team accidentally leak a key it won't affect your Production branch.
+
+### Support for Vercel Previews
+
+We've designed Supabase Branching to work perfectly with Vercel's [Preview](https://vercel.com/features/previews) deployments. This means that you get an _entire stack_ with Branching.
+
+<Img
+ alt="Tweet showing Guillermo Rauch mentioning Supabase as one of the companies compatible with the Next.js App Router"
+ src={{
+ light: '/images/blog/lwx-supabase-branching/vercel-support--light.png',
+ dark: '/images/blog/lwx-supabase-branching/vercel-support--dark.png',
+ }}
+ caption=""
+ captionAlign="left"
+/>
+
+We've made several improvements to our [Vercel Integration](https://vercel.com/integrations/supabase-v2) to make the Vercel experience seamless. For example, since we provide distinct, secure database credentials for every Supabase Preview Branch, we automatically populate the environment variables on Vercel with the connection secrets your app needs to connect to the Preview Branch.
+
+<Img
+ alt="Tweet showing Guillermo Rauch mentioning Supabase as one of the companies compatible with the Next.js App Router"
+ src={{
+ light: '/images/blog/lwx-supabase-branching/vercel-env-var-settings--light.png',
+ dark: '/images/blog/lwx-supabase-branching/vercel-env-var-settings--dark.png',
+ }}
+ wide={true}
+ captionAlign="left"
+/>
+
+### Developing on the hosted Preview Branch
+
+One of the most-loved features of Supabase is the dashboard. Even if we [beg](/docs/guides/platform/maturity-model#in-production), it seems that developers simply want to use it for everything - even in production.
+
+The cool thing about Branching is that every Supabase Preview can be managed from the Dashboard. You can make schema changes, access the SQL Editor, and use the [new AI Assistant](/blog/studio-introducing-assistant). Once you're happy with your changes, you simply run `supabase db diff` on your local maching to pull the changes and you can commit them to Git.
+
+Just note that we _still_ want you to develop locally! You should treat the Preview Branches [like cattle, not pets](https://devops.stackexchange.com/questions/653/what-is-the-definition-of-cattle-not-pets). Your Preview changes can be wiped at any time if one of your team pushes a destructive migration.
+
+### Database migrations
+
+We've developed Branching to work with a Git provider, starting with GitHub.
+
+Our [GitHub app](https://github.com/apps/supabase) observes changes within a connected GitHub repository. When you open a Pull Request, it launches a Preview Branch and runs the migrations in `./supabase/migrations`. If there are any errors they are logged to the [Check Run](https://docs.github.com/en/rest/checks/runs?apiVersion=2022-11-28) associated with that git commit. When all checks turn green, your new Preview Branch is ready to use.
+
+When you push a new migration file to the Git branch, the app runs it incrementally in your Preview Branch. This allows you verify schema changes easily on existing seed data.
+
+Finally, when you merge that PR, the app runs the new migrations on your Production environment. If you have other PRs already open, make sure to update those migration files to a later timestamp than the ones in Production branch following a [standard migration practice](/docs/guides/cli/managing-environments).
+
+### Data seeding
+
+You can seed your Preview branch in the same way that you [seed your local development environment](/docs/guides/cli/seeding-your-database). Just add `./supabase/seed.sql` in your repo and the seed script will run when the Preview Branch is created.
+
+Optionally, you can reset the database by running `supabase db reset --db-url <branch-connection-string>`. The branch connection string can be retrieved using your Personal Access Token with Supabase CLI's [branch management](/docs/reference/cli/supabase-branches-get) commands.
+
+We're investigating data masking techniques with a copy-on-write system so that you can emulate a production workload inside your Preview Branches. We plan for this to work with File Storage too.
+
+<Admonition type="note" label="Testing with product workloads today?">
+
+If you need to test with production workloads today, check out [Snaplet](https://www.snaplet.dev/) and [Postgres.ai](http://Postgres.ai). Both are great partners of Supabase.
+
+</Admonition>
+
+## Future considerations
+
+That's already a lot for Branching v0. Branching will be a core part of the developer workflow in the future. These are the themes we'll explore next:
+
+### Declarative config
+
+We're still working on “configuration in code”. For example, you might want to try a different Google Auth in your Preview Branch than the one you use in Product. This would be a lot easier if the code was declarative, inside the [config.toml](/docs/guides/cli/config) file.
+
+### Automatic dashboard commits
+
+In the current version, when you use the dashboard to create a change on a Preview Branch, you need to run `db diff` locally to pull that change into your Git repository. We plan to work on a feature to automatically capture your changes in a Git repo that you've connected.
+
+### Extended seeding behavior
+
+There are a multitude of different strategies for populating seed data. We've dabbled with AI to generate a seed data, which was fun. We also like the approach of [postgresql-anonymizer](https://postgresql-anonymizer.readthedocs.io/en/stable/) and [Snaplet](https://docs.snaplet.dev/recipes/supabase), who specialize in cloning production data while anonymizing the data for safe development.
+
+### Copy-on-write
+
+We have something in development :). CoW means you can branch from database snapshot and then run tests on “production-like” workloads. This is the approach that [Postgres.ai](http://Postgres.ai) uses. As we mention above, we need to figure out an approach that also works with [File Storage](/storage).
+
+## Interested in using Branching?
+
+We still have our early-access form open, and we'll be onboarding organizations in batches over the next few weeks, and working with these early users on Pricing.
+
+Check out the [Branching docs](/docs/guides/platform/branching) and also if you have any feedback, [you can join the discussion](https://github.com/orgs/supabase/discussions/18937).
+
+## More Launch Week X
+
+- [Day 1 - Supabase Studio update: AI Assistant and User Impersonation](https://supabase.com/blog/studio-introducing-assistant)
+- [Day 2 - Edge Functions: Node and native npm compatibility](https://supabase.com/blog/edge-functions-node-npm)
+- [Postgres Language Server: implementing the Parser](https://supabase.com/blog/postgres-language-server-implementing-parser)
+- [The Supabase Album](https://www.youtube.com/watch?v=r1POD-IdG-I)
+- [Launch Week X Hackathon](https://supabase.com/blog/supabase-hackathon-lwx)
diff --git a/apps/www/components/Hero/Hero.tsx b/apps/www/components/Hero/Hero.tsx
index 904954de81b..a91693acfc9 100644
--- a/apps/www/components/Hero/Hero.tsx
+++ b/apps/www/components/Hero/Hero.tsx
@@ -32,8 +32,8 @@ const Hero = () => {
<div className="flex flex-col items-center">
<div className="z-40 w-full flex justify-center mb-8 lg:mb-8">
<AnnouncementBadge
- announcement="Launch Week X — Day 2"
- url="/launch-week#day-2"
+ announcement="Launch Week X — Day 3"
+ url="/launch-week#day-3"
badge="Live"
/>
</div>
diff --git a/apps/www/components/LaunchWeek/7/LaunchSection/TicketBrickWallSlider.tsx b/apps/www/components/LaunchWeek/7/LaunchSection/TicketBrickWallSlider.tsx
index 070a8ff3658..022ecfa2de0 100644
--- a/apps/www/components/LaunchWeek/7/LaunchSection/TicketBrickWallSlider.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchSection/TicketBrickWallSlider.tsx
@@ -75,12 +75,10 @@ export function TicketBrickWallSlider({ users, reverse, speed = 10000 }: Props)
<Image
src={getOgUrl(user.username!, !!user.golden)}
alt={user.username ?? ''}
- layout="fill"
- objectFit="cover"
- objectPosition="center"
+ fill
placeholder="blur"
blurDataURL="/images/blur.png"
- className="absolute inset-[1px] rounded-md md:rounded-lg"
+ className="absolute inset-[1px] rounded-md md:rounded-lg object-cover object-center"
/>
</div>
</div>
diff --git a/apps/www/components/LaunchWeek/7/LaunchWeekPrizeCard.tsx b/apps/www/components/LaunchWeek/7/LaunchWeekPrizeCard.tsx
index f4cb0e62a17..1dff1d322d6 100644
--- a/apps/www/components/LaunchWeek/7/LaunchWeekPrizeCard.tsx
+++ b/apps/www/components/LaunchWeek/7/LaunchWeekPrizeCard.tsx
@@ -56,8 +56,8 @@ export default function LaunchWeekPrizeCard({
>
<Image
src={imageUrl}
- layout="fill"
- objectFit="cover"
+ fill
+ className="object-cover"
objectPosition={imgObjectPosition}
alt=""
/>
diff --git a/apps/www/components/LaunchWeek/7/Releases/Day5.tsx b/apps/www/components/LaunchWeek/7/Releases/Day5.tsx
index 32d4da7f3a4..d4772d7aaad 100644
--- a/apps/www/components/LaunchWeek/7/Releases/Day5.tsx
+++ b/apps/www/components/LaunchWeek/7/Releases/Day5.tsx
@@ -77,12 +77,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isTablet ? '50% 50%' : '50% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -138,12 +137,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isMobile ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isMobile ? '50% 50%' : '80% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -188,12 +186,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isMobile ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isMobile ? '50% 50%' : '80% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -240,12 +237,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isMobile ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={isMobile ? '50% 70%' : '50% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -292,12 +288,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={isMobile ? '50% 90%' : '50% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -344,12 +339,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isTablet ? '50% 50%' : '50% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -396,12 +390,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isTablet ? '50% 50%' : '50% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -451,7 +444,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
' '
)}
- layout="fill"
+ fill
objectPosition={isMobile ? '0% 50%' : isDesktop ? '100% 50%' : '0% 50%'}
objectFit={isMobile ? 'cover' : isDesktop ? 'contain' : 'cover'}
quality={100}
@@ -500,12 +493,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isTablet ? '50% 50%' : '50% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -552,12 +544,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isTablet ? '50% 50%' : '50% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -604,12 +595,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isTablet ? '50% 50%' : '50% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -656,12 +646,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isTablet ? '50% 50%' : '50% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -703,12 +692,11 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
>
<Image
src={!!layer.mobileImg && isMobile ? (layer.mobileImg as any) : layer.img}
- className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
- ' '
- )}
- layout="fill"
+ className={[
+ `absolute w-full h-full -z-10 transition-all duration-300 object-cover`,
+ ].join(' ')}
+ fill
objectPosition={!!layer.mobileImg && isMobile ? '50% 50%' : '80% 50%'}
- objectFit="cover"
quality={100}
alt=""
/>
@@ -747,7 +735,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => {
className={[`absolute w-full h-full -z-10 transition-all duration-300`].join(
' '
)}
- layout="fill"
+ fill
objectPosition={
i == 1 && !!layer.mobileImg && isMobile ? '50% 60%' : '80% 50%'
}
diff --git a/apps/www/components/LaunchWeek/X/Album/Player.tsx b/apps/www/components/LaunchWeek/X/Album/Player.tsx
index 551b9b9e25e..d7a1d16afad 100644
--- a/apps/www/components/LaunchWeek/X/Album/Player.tsx
+++ b/apps/www/components/LaunchWeek/X/Album/Player.tsx
@@ -4,7 +4,7 @@ import { IconArrowRight, cn } from 'ui'
const Player = () => {
const [audio, state, controls, ref] = useAudio({
- src: 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/audio/supabase-album/HAL.m4a',
+ src: 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/audio/supabase-album/Trinity.m4a',
loop: true,
})
diff --git a/apps/www/components/LaunchWeek/X/Releases/LWAnnouncement.tsx b/apps/www/components/LaunchWeek/X/Releases/LWAnnouncement.tsx
deleted file mode 100644
index 4e31433da68..00000000000
--- a/apps/www/components/LaunchWeek/X/Releases/LWAnnouncement.tsx
+++ /dev/null
@@ -1,61 +0,0 @@
-import React from 'react'
-import { SmallCard } from './components'
-import Link from 'next/link'
-import Image from 'next/image'
-// import days from './lw8_data'
-// import { ExpandableVideo } from 'ui'
-
-const LWAnnouncement = ({
- title,
- isLaunchWeekPage,
-}: {
- title?: string
- isLaunchWeekPage?: boolean
-}) => {
- const announcement = (
- <>
- <div className="relative flex-shrink flex items-center p-2 w-2/3 md:w-auto">
- <div className="flex flex-col gap-1 sm:pl-2">
- <div className="flex items-center gap-2">
- <span className="text-foreground">Launch Week X</span>
- </div>
- <span className="text-foreground-light">Explore all the announcements</span>
- </div>
- </div>
- <div className="relative flex items-center justify-center !aspect-video h-[80px] md:h-[80px] gap-2 z-10 rounded overflow-hidden">
- {/* <div className="absolute z-10 w-4 h-4 text-white opacity-70">
- <svg viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M76.5621 37.998C82.3369 41.3321 82.3369 49.6673 76.5621 53.0014L13.2198 89.5721C7.44504 92.9062 0.226562 88.7386 0.226562 82.0704L0.226566 8.92901C0.226566 2.26085 7.44506 -1.90673 13.2199 1.42735L76.5621 37.998Z"
- fill="currentColor"
- />
- </svg>
- </div> */}
- <Image
- src="/images/launchweek/8/lw8-og.jpg"
- alt="Launch Week 8"
- layout="fill"
- objectFit="cover"
- />
- </div>
- </>
- )
-
- return (
- <div className="w-full max-w-xl opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]">
- <SmallCard
- className="border hover:border-stronger transition-colors"
- innerClassName="bg-opacity-70 items-stretch"
- >
- <Link
- href="/launch-week#today"
- className="flex flex-row justify-between items-center w-full h-full gap-2 text-left"
- >
- {announcement}
- </Link>
- </SmallCard>
- </div>
- )
-}
-
-export default LWAnnouncement
diff --git a/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx b/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx
index 561b46da052..003eb5219aa 100644
--- a/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/LWXStickyNav.tsx
@@ -79,7 +79,7 @@ const LWXStickyNav: FC = () => {
{day.dd}{' '}
{day.isToday && (
<span
- title="Is Live"
+ title="Live"
className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand mb-2 block"
/>
)}
diff --git a/apps/www/components/LaunchWeek/X/Releases/data/lwx_data.tsx b/apps/www/components/LaunchWeek/X/Releases/data/lwx_data.tsx
index 27bd763d26a..5eb002e6d56 100644
--- a/apps/www/components/LaunchWeek/X/Releases/data/lwx_data.tsx
+++ b/apps/www/components/LaunchWeek/X/Releases/data/lwx_data.tsx
@@ -107,7 +107,6 @@ const days: WeekDayProps[] = [
dd: 'Tue',
title: 'Edge Functions',
shipped: true,
- isToday: true,
hasCountdown: false,
blog: '/blog/edge-functions-node-npm',
date: '12 Dec',
@@ -149,20 +148,45 @@ const days: WeekDayProps[] = [
id: 'day-3',
d: 3,
dd: 'Wed',
- title: '',
- shipped: false,
- hasCountdown: true,
- blog: '',
+ title: 'Supabase Branching',
+ shipped: true,
+ isToday: true,
+ hasCountdown: false,
+ blog: '/blog/supabase-branching',
date: '13 Dec',
published_at: '2023-12-13T08:00:00.000-08:00',
- description: '',
+ description: (
+ <>
+ Introducing Supabase <strong>Branching</strong>, a Postgres database for every pull request
+ </>
+ ),
links: [
+ {
+ type: 'blog',
+ href: '/blog/supabase-branching',
+ },
+ {
+ type: 'video',
+ href: 'peXKxavGnBo',
+ },
{
type: 'xSpace',
href: 'https://twitter.com/i/spaces/1eaKbgDBgyoGX',
},
],
- steps: [],
+ steps: [
+ {
+ title: '',
+ blog: '/blog/supabase-branching',
+ bg_layers: [
+ {
+ img: '/images/launchweek/lwx/day3/branching.svg',
+ mobileImg: '/images/launchweek/lwx/day3/branching_mobile.svg',
+ },
+ ],
+ steps: [],
+ },
+ ],
},
{
id: 'day-4',
@@ -170,6 +194,7 @@ const days: WeekDayProps[] = [
dd: 'Thu',
title: '',
shipped: false,
+ hasCountdown: true,
blog: '',
date: '14 Dec',
published_at: '2023-12-14T08:00:00.000-08:00',
diff --git a/apps/www/components/Nav/ProductDropdown.tsx b/apps/www/components/Nav/ProductDropdown.tsx
index 25a32fdbadf..fb94a0935b4 100644
--- a/apps/www/components/Nav/ProductDropdown.tsx
+++ b/apps/www/components/Nav/ProductDropdown.tsx
@@ -52,9 +52,8 @@ const ProductDropdown = () => {
<Image
src={`${basePath}/${customer.imgUrl}`}
alt={customer.title}
- layout="fill"
- objectFit="contain"
- className="!p-4 brightness-70 contrast-[.35] filter"
+ fill
+ className="!p-4 object-contain brightness-70 contrast-[.35] filter"
/>
</div>
<div className="flex flex-col">
diff --git a/apps/www/lib/mdx/mdxComponents.tsx b/apps/www/lib/mdx/mdxComponents.tsx
index 192f77d606d..78b85defdad 100644
--- a/apps/www/lib/mdx/mdxComponents.tsx
+++ b/apps/www/lib/mdx/mdxComponents.tsx
@@ -15,6 +15,7 @@ import {
IconTriangle,
cn,
ThemeImage,
+ Admonition,
} from 'ui'
import ImageFadeStack from '~/components/ImageFadeStack'
import ZoomableImg from '~/components/ZoomableImg/ZoomableImg'
@@ -122,6 +123,7 @@ export default function mdxComponents(type?: 'blog' | 'lp' | undefined) {
),
code: (props: any) => <InlineCodeTag>{props.children}</InlineCodeTag>,
BlogCollapsible: (props: any) => <BlogCollapsible {...props} />,
+ Admonition,
}
return components as any
diff --git a/apps/www/next-env.d.ts b/apps/www/next-env.d.ts
index fd36f9494e2..4f11a03dc6c 100644
--- a/apps/www/next-env.d.ts
+++ b/apps/www/next-env.d.ts
@@ -1,6 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
-/// <reference types="next/navigation-types/compat/navigation" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/apps/www/pages/launch-week/6/index.tsx b/apps/www/pages/launch-week/6/index.tsx
index a6da7a49101..2ee0b96a45b 100644
--- a/apps/www/pages/launch-week/6/index.tsx
+++ b/apps/www/pages/launch-week/6/index.tsx
@@ -406,8 +406,8 @@ export default function launchweek() {
<div className="absolute top-0 right-0 w-full h-full -z-20 ">
<Image
src={'/images/launchweek/mfa-dark.png'}
- layout="fill"
- objectFit="cover"
+ fill
+ className="object-cover"
quality={100}
priority
/>
@@ -415,8 +415,8 @@ export default function launchweek() {
<div className="absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover:opacity-100 duration-500 transition-all">
<Image
src={'/images/launchweek/mfa-dark-hover.png'}
- layout="fill"
- objectFit="cover"
+ fill
+ className="object-cover"
quality={100}
/>
</div>
@@ -457,11 +457,10 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/wrappers-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -469,10 +468,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/wrappers-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex items-center flex-col-reverse lg:flex-row text-white">
@@ -516,11 +514,10 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/vault-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -528,10 +525,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/vault-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex items-center flex-col-reverse lg:flex-row">
@@ -548,11 +544,10 @@ export default function launchweek() {
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
src={'/images/launchweek/TCE-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -560,10 +555,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/TCE-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
@@ -585,11 +579,10 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/community-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -597,10 +590,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/community-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex items-center flex-col-reverse lg:flex-row">
@@ -682,11 +674,10 @@ export default function launchweek() {
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
src={'/images/launchweek/PgGraphql-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -694,10 +685,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/PgGraphql-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
@@ -717,11 +707,10 @@ export default function launchweek() {
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
src={'/images/launchweek/custom-domains-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -729,10 +718,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/custom-domains-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
@@ -752,11 +740,10 @@ export default function launchweek() {
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
src={'/images/launchweek/PITR-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -764,10 +751,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/PITR-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
@@ -787,11 +773,10 @@ export default function launchweek() {
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
src={'/images/launchweek/pg_crdt-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -799,10 +784,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/pg_crdt-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
@@ -822,11 +806,10 @@ export default function launchweek() {
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
src={'/images/launchweek/postgres-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -834,10 +817,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/postgres-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
@@ -857,11 +839,10 @@ export default function launchweek() {
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
src={'/images/launchweek/PostgREST11-visual.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
priority
- className="left-16"
+ className="left-16 object-cover"
/>
</div>
<div
@@ -869,10 +850,9 @@ export default function launchweek() {
>
<Image
src={'/images/launchweek/PostgREST11-visual-hover.svg'}
- layout="fill"
- objectFit="cover"
+ fill
quality={100}
- className="test"
+ className="test object-cover"
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
@@ -1081,7 +1061,7 @@ export default function launchweek() {
<div className="absolute -inset-0.5 bg-brand-600 rounded-full opacity-75 group-hover:opacity-100 group-hover:blur-sm transition duration-500"></div>
<a href={creator.link} target="_blank" rel="noopener">
<img
- className="relative rounded-full w-12 h-12 border border-[#2E2E2E] border-brand hover:shadow-md"
+ className="relative rounded-full w-12 h-12 border border-brand hover:shadow-md"
src={creator.profile_picture}
/>
</a>
diff --git a/apps/www/pages/launch-week/8/index.tsx b/apps/www/pages/launch-week/8/index.tsx
index 9c2577fe526..a0c1364e38a 100644
--- a/apps/www/pages/launch-week/8/index.tsx
+++ b/apps/www/pages/launch-week/8/index.tsx
@@ -145,9 +145,7 @@ export default function TicketHome({ users, meetups }: Props) {
<Image
src="/images/launchweek/8/stars.svg"
alt="starts background"
- layout="fill"
- objectFit="cover"
- className="opacity-70 pointer-events-none"
+ className="opacity-70 object-cover pointer-events-none"
draggable={false}
/>
</div>
@@ -156,9 +154,8 @@ export default function TicketHome({ users, meetups }: Props) {
<div className="absolute w-full aspect-[1/1] md:aspect-[1.5/1] lg:aspect-[2.5/1] inset-0 z-0">
<Image
src="/images/launchweek/8/LW8-gradient.png"
- layout="fill"
- objectFit="cover"
- objectPosition="top"
+ fill
+ className="object-cover object-top"
priority
draggable={false}
alt="Launch Week 8 gradient background"
diff --git a/apps/www/pages/launch-week/8/tickets/index.tsx b/apps/www/pages/launch-week/8/tickets/index.tsx
index 97959b9e885..c3757b8f056 100644
--- a/apps/www/pages/launch-week/8/tickets/index.tsx
+++ b/apps/www/pages/launch-week/8/tickets/index.tsx
@@ -151,12 +151,11 @@ export default function TicketsPage({ users }: Props) {
<div className="absolute w-full aspect-[1/1] md:aspect-[1.5/1] lg:aspect-[2.5/1] inset-0 z-0 pointer-events-none">
<Image
src="/images/launchweek/8/LW8-gradient.png"
- layout="fill"
- objectFit="cover"
- objectPosition="top"
+ fill
priority
draggable={false}
alt=""
+ className="object-cover object-top"
/>
</div>
</div>
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/branching-og.png b/apps/www/public/images/blog/lwx-supabase-branching/branching-og.png
new file mode 100644
index 00000000000..f19c8c6f2df
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/branching-og.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/branching-thumb.png b/apps/www/public/images/blog/lwx-supabase-branching/branching-thumb.png
new file mode 100644
index 00000000000..0911dd9f9b6
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/branching-thumb.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/branching-ui--dark.png b/apps/www/public/images/blog/lwx-supabase-branching/branching-ui--dark.png
new file mode 100644
index 00000000000..9a6e7db2518
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/branching-ui--dark.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/branching-ui--light.png b/apps/www/public/images/blog/lwx-supabase-branching/branching-ui--light.png
new file mode 100644
index 00000000000..bc8d5f4117a
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/branching-ui--light.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/feat-branches-examples--dark.png b/apps/www/public/images/blog/lwx-supabase-branching/feat-branches-examples--dark.png
new file mode 100644
index 00000000000..203bd807490
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/feat-branches-examples--dark.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/feat-branches-examples--light.png b/apps/www/public/images/blog/lwx-supabase-branching/feat-branches-examples--light.png
new file mode 100644
index 00000000000..e72879887ac
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/feat-branches-examples--light.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/isolated-instances--dark.png b/apps/www/public/images/blog/lwx-supabase-branching/isolated-instances--dark.png
new file mode 100644
index 00000000000..f094760d396
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/isolated-instances--dark.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/isolated-instances--light.png b/apps/www/public/images/blog/lwx-supabase-branching/isolated-instances--light.png
new file mode 100644
index 00000000000..5832b324ea2
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/isolated-instances--light.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/vercel-env-var-settings--dark.png b/apps/www/public/images/blog/lwx-supabase-branching/vercel-env-var-settings--dark.png
new file mode 100644
index 00000000000..92832906d0f
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/vercel-env-var-settings--dark.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/vercel-env-var-settings--light.png b/apps/www/public/images/blog/lwx-supabase-branching/vercel-env-var-settings--light.png
new file mode 100644
index 00000000000..c07978fce43
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/vercel-env-var-settings--light.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/vercel-support--dark.png b/apps/www/public/images/blog/lwx-supabase-branching/vercel-support--dark.png
new file mode 100644
index 00000000000..2369d69f145
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/vercel-support--dark.png differ
diff --git a/apps/www/public/images/blog/lwx-supabase-branching/vercel-support--light.png b/apps/www/public/images/blog/lwx-supabase-branching/vercel-support--light.png
new file mode 100644
index 00000000000..953e3e0f1a0
Binary files /dev/null and b/apps/www/public/images/blog/lwx-supabase-branching/vercel-support--light.png differ
diff --git a/apps/www/public/images/launchweek/lwx/day3/branching.svg b/apps/www/public/images/launchweek/lwx/day3/branching.svg
new file mode 100644
index 00000000000..12c0a227bd5
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/day3/branching.svg
@@ -0,0 +1,45 @@
+<svg width="765" height="208" viewBox="0 0 765 208" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_1006_6991)">
+<rect width="764" height="208" transform="translate(0.517578)" fill="#121516"/>
+<path d="M407.665 37.8906H897.497" stroke="#575E61" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M468.754 37.8907H493.055C502.015 37.8907 510.506 41.8956 516.205 48.8098L528.075 63.2104C534.154 70.5855 543.211 74.8574 552.768 74.8574L585.052 74.8574" stroke="#575E61" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M468.505 37.8903H487.321C494.63 37.8903 501.462 41.5201 505.552 47.577L533.651 89.1809C539.36 97.633 548.893 102.698 559.092 102.698H813.682" stroke="#575E61" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M564.505 102.698H582.018C590.033 102.698 597.413 107.057 601.283 114.075L630.027 166.204C635.427 175.998 645.726 182.08 656.911 182.08H909.682" stroke="#575E61" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M564.505 102.698H582.018C590.033 102.698 597.413 107.057 601.283 114.075L607.586 125.506" stroke="url(#paint0_linear_1006_6991)" stroke-width="0.5" stroke-linecap="round"/>
+<rect x="583.838" y="65.001" width="125.134" height="19.7929" rx="9.89647" fill="#191D1E"/>
+<rect x="583.838" y="65.001" width="125.134" height="19.7929" rx="9.89647" stroke="#172021" stroke-width="0.5"/>
+<path d="M610.36 77.3975V71.8075H613.875V72.629H611.334V74.2298H613.494V75.0514H611.334V77.3975H610.36ZM615.718 77.3975V71.8075H619.25V72.629H616.692V74.0773H618.861V74.8989H616.692V76.5674H619.335V77.3975H615.718ZM620.509 77.3975L622.305 71.8075H623.448L625.244 77.3975H624.21L623.778 75.8729H621.94L621.5 77.3975H620.509ZM622.152 75.1022H623.567L623.372 74.4077C623.202 73.8148 623.033 73.188 622.872 72.5697H622.838C622.686 73.188 622.516 73.8148 622.347 74.4077L622.152 75.1022ZM627.883 77.3975V72.629H626.147V71.8075H630.61V72.629H628.865V77.3975H627.883ZM631.649 77.7108L635.274 71.384H636.112L632.479 77.7108H631.649ZM637.472 77.3975V71.8075H638.463L639.954 74.9751L640.471 76.1609H640.496C640.454 75.5849 640.361 74.882 640.361 74.2637V71.8075H641.292V77.3975H640.293L638.811 74.2213L638.294 73.044H638.269C638.311 73.6369 638.404 74.306 638.404 74.9243V77.3975H637.472ZM643.228 77.3975V71.8075H646.76V72.629H644.203V74.0773H646.371V74.8989H644.203V76.5674H646.845V77.3975H643.228ZM648.697 77.3975L647.9 71.799H648.891L649.205 75.0514C649.222 75.5257 649.256 75.9915 649.281 76.4573H649.306C649.408 75.9915 649.527 75.5172 649.628 75.0514L650.111 73.2388H650.738L651.212 75.0514C651.305 75.5087 651.432 75.983 651.534 76.4573H651.568L651.644 75.0514L651.941 71.799H652.864L652.11 77.3975H651.068L650.577 75.3309C650.509 74.9921 650.441 74.6279 650.399 74.2975H650.374C650.323 74.6279 650.264 74.9921 650.187 75.3309L649.721 77.3975H648.697ZM654.004 74.9497V74.2467H657.773V74.9497H654.004ZM659.447 77.3975V71.8075H660.488L661.259 73.9926L661.53 74.8311H661.564L661.818 73.9926L662.589 71.8075H663.631V77.3975H662.801V74.882C662.801 74.3484 662.877 73.2981 662.928 72.773H662.894L662.47 74.1366L661.767 75.8899H661.293L660.581 74.1366L660.158 72.773H660.133C660.175 73.2981 660.26 74.3484 660.26 74.882V77.3975H659.447ZM665.534 77.3975V71.8075H669.066V72.629H666.508V74.0773H668.677V74.8989H666.508V76.5674H669.151V77.3975H665.534ZM670.748 77.3975V71.8075H671.79L672.561 73.9926L672.832 74.8311H672.866L673.12 73.9926L673.891 71.8075H674.932V77.3975H674.102V74.882C674.102 74.3484 674.179 73.2981 674.229 72.773H674.195L673.772 74.1366L673.069 75.8899H672.595L671.883 74.1366L671.46 72.773H671.434C671.477 73.2981 671.561 74.3484 671.561 74.882V77.3975H670.748ZM676.743 77.3975V71.8075H678.369C679.504 71.8075 680.334 72.1547 680.334 73.1795C680.334 73.7047 680.021 74.2213 679.368 74.3992V74.4331C680.173 74.5686 680.614 74.9921 680.614 75.7543C680.614 76.8723 679.724 77.3975 678.513 77.3975H676.743ZM677.717 74.1282H678.276C679.055 74.1282 679.377 73.8232 679.377 73.2981C679.377 72.7815 679.021 72.5697 678.301 72.5697H677.717V74.1282ZM677.717 76.6352H678.411C679.225 76.6352 679.656 76.3303 679.656 75.695C679.656 75.0937 679.241 74.8311 678.411 74.8311H677.717V76.6352ZM682.338 77.3975V71.8075H685.87V72.629H683.312V74.0773H685.48V74.8989H683.312V76.5674H685.955V77.3975H682.338ZM687.671 77.3975V71.8075H689.517C690.66 71.8075 691.55 72.214 691.55 73.459C691.55 74.306 691.109 74.8227 690.44 75.0514L691.77 77.3975H690.669L689.466 75.2038H688.645V77.3975H687.671ZM688.645 74.4161H689.415C690.178 74.4161 690.584 74.0943 690.584 73.459C690.584 72.8069 690.178 72.5867 689.415 72.5867H688.645V74.4161ZM695.011 77.4991C694.231 77.4991 693.495 77.2027 692.952 76.6775L693.52 76.0084C693.935 76.3896 694.485 76.6521 695.028 76.6521C695.714 76.6521 696.061 76.3642 696.061 75.9153C696.061 75.4494 695.688 75.3054 695.138 75.0852L694.384 74.7549C693.791 74.5262 693.19 74.0858 693.19 73.2727C693.19 72.3834 693.986 71.7058 695.112 71.7058C695.798 71.7058 696.434 71.9684 696.891 72.4173L696.383 73.0356C696.01 72.7307 695.629 72.5528 695.112 72.5528C694.536 72.5528 694.181 72.7984 694.181 73.2219C694.181 73.6623 694.629 73.8148 695.129 74.018L695.858 74.3314C696.561 74.6194 697.06 75.0259 697.06 75.839C697.06 76.7453 696.306 77.4991 695.011 77.4991Z" fill="#EDEDED"/>
+<path d="M595.233 70.3101V76.0742" stroke="#575E61" stroke-width="0.705809" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M600.88 73.1921C601.659 73.1921 602.291 72.5469 602.291 71.7511C602.291 70.9552 601.659 70.3101 600.88 70.3101C600.1 70.3101 599.468 70.9552 599.468 71.7511C599.468 72.5469 600.1 73.1921 600.88 73.1921Z" stroke="#575E61" stroke-width="0.705809" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M595.233 78.9563C596.013 78.9563 596.645 78.3111 596.645 77.5152C596.645 76.7194 596.013 76.0742 595.233 76.0742C594.454 76.0742 593.822 76.7194 593.822 77.5152C593.822 78.3111 594.454 78.9563 595.233 78.9563Z" stroke="#575E61" stroke-width="0.705809" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M600.88 73.1924C600.88 74.3389 600.434 75.4385 599.64 76.2493C598.845 77.06 597.768 77.5155 596.645 77.5155" stroke="#575E61" stroke-width="0.705809" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M468.505 37.8903H487.321C494.63 37.8903 501.462 41.5201 505.552 47.577L533.651 89.1809C539.36 97.633 548.893 102.698 559.092 102.698H678.231" stroke="url(#paint1_linear_1006_6991)" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M458.018 37.8907H493.055C502.015 37.8907 510.506 41.8956 516.205 48.8098L528.075 63.2104C534.154 70.5855 543.211 74.8574 552.768 74.8574H559.823" stroke="url(#paint2_linear_1006_6991)" stroke-width="0.5" stroke-linecap="round"/>
+<rect x="402.768" y="28.25" width="59.5" height="19.5" rx="9.75" fill="#191D1E"/>
+<rect x="402.768" y="28.25" width="59.5" height="19.5" rx="9.75" stroke="#172021" stroke-width="0.5"/>
+<path d="M429.885 40.5V34.91H430.927L431.697 37.0952L431.968 37.9337H432.002L432.256 37.0952L433.027 34.91H434.069V40.5H433.239V37.9845C433.239 37.4509 433.315 36.4007 433.366 35.8755H433.332L432.908 37.2392L432.206 38.9924H431.731L431.02 37.2392L430.596 35.8755H430.571C430.613 36.4007 430.698 37.4509 430.698 37.9845V40.5H429.885ZM435.261 40.5L437.057 34.91H438.2L439.996 40.5H438.962L438.53 38.9755H436.692L436.252 40.5H435.261ZM436.904 38.2047H438.319L438.124 37.5102C437.954 36.9173 437.785 36.2906 437.624 35.6723H437.59C437.438 36.2906 437.268 36.9173 437.099 37.5102L436.904 38.2047ZM441.305 40.5V39.67H442.635V35.7316H441.305V34.91H444.956V35.7316H443.617V39.67H444.956V40.5H441.305ZM446.722 40.5V34.91H447.713L449.204 38.0777L449.721 39.2634H449.746C449.704 38.6875 449.611 37.9845 449.611 37.3662V34.91H450.542V40.5H449.543L448.061 37.3239L447.544 36.1466H447.519C447.561 36.7394 447.654 37.4086 447.654 38.0268V40.5H446.722Z" fill="#EDEDED"/>
+<g clip-path="url(#clip1_1006_6991)">
+<path d="M416.164 42.6933C416.164 42.6933 419.929 40.7719 419.929 37.8899V34.5275L416.164 33.0864L412.4 34.5275V37.8899C412.4 40.7719 416.164 42.6933 416.164 42.6933Z" stroke="#575E61" stroke-width="0.705809" stroke-linecap="round" stroke-linejoin="round"/>
+</g>
+</g>
+<defs>
+<linearGradient id="paint0_linear_1006_6991" x1="607.586" y1="114.103" x2="571.442" y2="102.699" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="white" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint1_linear_1006_6991" x1="678.231" y1="102.698" x2="515.289" y2="70.2944" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="white" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint2_linear_1006_6991" x1="557.42" y1="74.8574" x2="378.33" y2="18.0207" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="#53595C"/>
+</linearGradient>
+<clipPath id="clip0_1006_6991">
+<rect width="764" height="208" fill="white" transform="translate(0.517578)"/>
+</clipPath>
+<clipPath id="clip1_1006_6991">
+<rect width="11.2929" height="11.5282" fill="white" transform="translate(410.518 32.126)"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/apps/www/public/images/launchweek/lwx/day3/branching_mobile.svg b/apps/www/public/images/launchweek/lwx/day3/branching_mobile.svg
new file mode 100644
index 00000000000..1f4585fa561
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/day3/branching_mobile.svg
@@ -0,0 +1,56 @@
+<svg width="349" height="174" viewBox="0 0 349 174" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_1006_7390)">
+<rect width="349" height="174" fill="#121516"/>
+<g clip-path="url(#clip1_1006_7390)">
+<mask id="mask0_1006_7390" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="-372" y="0" width="754" height="206">
+<path d="M381.525 0H-371.49V205.009H381.525V0Z" fill="white"/>
+</mask>
+<g mask="url(#mask0_1006_7390)">
+<path d="M381.525 0H-371.49V205.009H381.525V0Z" fill="#121516"/>
+<path d="M29.8032 37.3457H512.592" stroke="#575E61" stroke-width="0.49281" stroke-linecap="round"/>
+<path d="M90.0137 37.3457H113.965C122.796 37.3457 131.165 41.293 136.782 48.1078L148.482 62.3013C154.473 69.5704 163.4 73.7809 172.82 73.7809H204.639" stroke="#575E61" stroke-width="0.49281" stroke-linecap="round"/>
+<path d="M89.7681 37.3452H108.314C115.517 37.3452 122.251 40.9228 126.282 46.8926L153.977 87.8983C159.604 96.2289 169 101.221 179.052 101.221H429.982" stroke="#575E61" stroke-width="0.49281" stroke-linecap="round"/>
+<path d="M184.388 101.222H201.649C209.549 101.222 216.823 105.518 220.637 112.435L248.968 163.815C254.29 173.468 264.441 179.462 275.465 179.462H524.601" stroke="#575E61" stroke-width="0.49281" stroke-linecap="round"/>
+<path d="M184.388 101.222H201.649C209.549 101.222 216.823 105.518 220.637 112.435L226.849 123.702" stroke="url(#paint0_linear_1006_7390)" stroke-width="0.49281" stroke-linecap="round"/>
+<path d="M317.023 64.0664H213.197C207.81 64.0664 203.443 68.4335 203.443 73.8206C203.443 79.2076 207.81 83.5747 213.197 83.5747H317.023C322.41 83.5747 326.778 79.2076 326.778 73.8206C326.778 68.4335 322.41 64.0664 317.023 64.0664Z" fill="#191D1E"/>
+<path d="M317.023 64.0664H213.197C207.81 64.0664 203.443 68.4335 203.443 73.8206C203.443 79.2076 207.81 83.5747 213.197 83.5747H317.023C322.41 83.5747 326.778 79.2076 326.778 73.8206C326.778 68.4335 322.41 64.0664 317.023 64.0664Z" stroke="#172021" stroke-width="0.49281"/>
+<path d="M229.583 76.2844V70.7748H233.048V71.5845H230.543V73.1623H232.672V73.9721H230.543V76.2844H229.583ZM234.864 76.2844V70.7748H238.346V71.5845H235.824V73.012H237.962V73.8218H235.824V75.4663H238.429V76.2844H234.864ZM239.587 76.2844L241.357 70.7748H242.483L244.254 76.2844H243.234L242.809 74.7818H240.997L240.563 76.2844H239.587ZM241.206 74.0222H242.601L242.408 73.3376C242.241 72.7533 242.074 72.1355 241.916 71.5261H241.882C241.732 72.1355 241.565 72.7533 241.398 73.3376L241.206 74.0222ZM246.855 76.2844V71.5845H245.143V70.7748H249.542V71.5845H247.822V76.2844H246.855ZM250.566 76.5932L254.139 70.3574H254.965L251.384 76.5932H250.566ZM256.306 76.2844V70.7748H257.282L258.752 73.8969L259.262 75.0656H259.286C259.245 74.4979 259.153 73.8051 259.153 73.1957V70.7748H260.071V76.2844H259.086L257.625 73.1539L257.116 71.9935H257.091C257.133 72.5779 257.224 73.2374 257.224 73.8468V76.2844H256.306ZM261.979 76.2844V70.7748H265.46V71.5845H262.94V73.012H265.077V73.8218H262.94V75.4663H265.544V76.2844H261.979ZM267.369 76.2844L266.584 70.7665H267.56L267.87 73.9721C267.887 74.4396 267.92 74.8987 267.945 75.3578H267.97C268.07 74.8987 268.187 74.4312 268.287 73.9721L268.763 72.1855H269.381L269.848 73.9721C269.94 74.4228 270.065 74.8903 270.165 75.3578H270.199L270.274 73.9721L270.567 70.7665H271.476L270.733 76.2844H269.706L269.222 74.2476C269.155 73.9136 269.088 73.5547 269.047 73.229H269.022C268.972 73.5547 268.914 73.9136 268.838 74.2476L268.379 76.2844H267.369ZM272.6 73.8718V73.179H276.315V73.8718H272.6ZM277.965 76.2844V70.7748H278.991L279.751 72.9285L280.018 73.755H280.051L280.302 72.9285L281.061 70.7748H282.089V76.2844H281.27V73.8051C281.27 73.2792 281.345 72.244 281.396 71.7264H281.362L280.944 73.0704L280.251 74.7985H279.784L279.082 73.0704L278.665 71.7264H278.641C278.682 72.244 278.766 73.2792 278.766 73.8051V76.2844H277.965ZM283.964 76.2844V70.7748H287.445V71.5845H284.924V73.012H287.062V73.8218H284.924V75.4663H287.529V76.2844H283.964ZM289.103 76.2844V70.7748H290.13L290.89 72.9285L291.157 73.755H291.191L291.441 72.9285L292.201 70.7748H293.227V76.2844H292.409V73.8051C292.409 73.2792 292.485 72.244 292.534 71.7264H292.501L292.084 73.0704L291.391 74.7985H290.924L290.222 73.0704L289.805 71.7264H289.779C289.822 72.244 289.904 73.2792 289.904 73.8051V76.2844H289.103ZM295.012 76.2844V70.7748H296.615C297.733 70.7748 298.551 71.117 298.551 72.1271C298.551 72.6447 298.243 73.1539 297.599 73.3293V73.3627C298.393 73.4962 298.827 73.9136 298.827 74.6649C298.827 75.7668 297.95 76.2844 296.757 76.2844H295.012ZM295.972 73.0622H296.523C297.291 73.0622 297.608 72.7615 297.608 72.244C297.608 71.7348 297.257 71.5261 296.548 71.5261H295.972V73.0622ZM295.972 75.5331H296.656C297.458 75.5331 297.883 75.2326 297.883 74.6064C297.883 74.0138 297.474 73.755 296.656 73.755H295.972V75.5331ZM300.527 76.2844V70.7748H304.008V71.5845H301.487V73.012H303.623V73.8218H301.487V75.4663H304.092V76.2844H300.527ZM305.783 76.2844V70.7748H307.602C308.729 70.7748 309.606 71.1755 309.606 72.4026C309.606 73.2374 309.171 73.7467 308.512 73.9721L309.823 76.2844H308.738L307.552 74.1223H306.743V76.2844H305.783ZM306.743 73.3459H307.502C308.254 73.3459 308.654 73.0287 308.654 72.4026C308.654 71.7599 308.254 71.5428 307.502 71.5428H306.743V73.3459ZM313.017 76.3846C312.249 76.3846 311.523 76.0924 310.988 75.5748L311.548 74.9153C311.957 75.291 312.499 75.5498 313.034 75.5498C313.71 75.5498 314.052 75.266 314.052 74.8236C314.052 74.3644 313.685 74.2224 313.142 74.0054L312.399 73.6798C311.815 73.4544 311.222 73.0204 311.222 72.219C311.222 71.3424 312.007 70.6746 313.117 70.6746C313.793 70.6746 314.42 70.9334 314.87 71.3759L314.37 71.9853C314.002 71.6848 313.626 71.5094 313.117 71.5094C312.549 71.5094 312.199 71.7515 312.199 72.1689C312.199 72.603 312.641 72.7533 313.134 72.9535L313.852 73.2624C314.545 73.5463 315.037 73.9469 315.037 74.7484C315.037 75.6416 314.294 76.3846 313.017 76.3846Z" fill="#EDEDED"/>
+<path d="M214.674 69.2988V74.9801" stroke="#575E61" stroke-width="0.69566" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M220.24 72.1394C221.008 72.1394 221.631 71.5035 221.631 70.7191C221.631 69.9347 221.008 69.2988 220.24 69.2988C219.471 69.2988 218.848 69.9347 218.848 70.7191C218.848 71.5035 219.471 72.1394 220.24 72.1394Z" stroke="#575E61" stroke-width="0.69566" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M214.674 77.8211C215.443 77.8211 216.066 77.1852 216.066 76.4007C216.066 75.6164 215.443 74.9805 214.674 74.9805C213.907 74.9805 213.284 75.6164 213.284 76.4007C213.284 77.1852 213.907 77.8211 214.674 77.8211Z" stroke="#575E61" stroke-width="0.69566" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M220.24 72.1401C220.24 73.2702 219.8 74.3539 219.018 75.1531C218.234 75.9521 217.173 76.4011 216.066 76.4011" stroke="#575E61" stroke-width="0.69566" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M89.7681 37.3452H108.314C115.517 37.3452 122.251 40.9228 126.282 46.8926L153.977 87.8983C159.604 96.2289 169 101.221 179.052 101.221H296.478" stroke="url(#paint1_linear_1006_7390)" stroke-width="0.49281" stroke-linecap="round"/>
+<path d="M79.4321 37.3457H113.965C122.796 37.3457 131.165 41.293 136.782 48.1078L148.482 62.3013C154.473 69.5704 163.4 73.7809 172.82 73.7809H179.773" stroke="url(#paint2_linear_1006_7390)" stroke-width="0.49281" stroke-linecap="round"/>
+<path d="M74.0112 27.8438H34.5864C29.279 27.8438 24.9766 32.1462 24.9766 37.4536C24.9766 42.7609 29.279 47.0634 34.5864 47.0634H74.0112C79.3186 47.0634 83.621 42.7609 83.621 37.4536C83.621 32.1462 79.3186 27.8438 74.0112 27.8438Z" fill="#191D1E"/>
+<path d="M74.0112 27.8438H34.5864C29.279 27.8438 24.9766 32.1462 24.9766 37.4536C24.9766 42.7609 29.279 47.0634 34.5864 47.0634H74.0112C79.3186 47.0634 83.621 42.7609 83.621 37.4536C83.621 32.1462 79.3186 27.8438 74.0112 27.8438Z" stroke="#172021" stroke-width="0.49281"/>
+<path d="M51.7036 39.9178V34.4082H52.7306L53.4895 36.562L53.7566 37.3884H53.7902L54.0405 36.562L54.8004 34.4082H55.8274V39.9178H55.0094V37.4385C55.0094 36.9126 55.0843 35.8775 55.1345 35.3598H55.101L54.6831 36.7039L53.9912 38.4319H53.523L52.8223 36.7039L52.4044 35.3598H52.3798C52.4211 35.8775 52.5049 36.9126 52.5049 37.4385V39.9178H51.7036ZM57.0023 39.9178L58.7725 34.4082H59.8991L61.6692 39.9178H60.6501L60.2243 38.4152H58.4127L57.9791 39.9178H57.0023ZM58.6217 37.6555H60.0163L59.8241 36.971C59.6566 36.3866 59.49 35.7689 59.3313 35.1595H59.2978C59.148 35.7689 58.9804 36.3866 58.8139 36.971L58.6217 37.6555ZM62.9594 39.9178V39.0998H64.2703V35.218H62.9594V34.4082H66.5579V35.218H65.2382V39.0998H66.5579V39.9178H62.9594ZM68.2985 39.9178V34.4082H69.2753L70.7448 37.5304L71.2544 38.699H71.279C71.2376 38.1314 71.146 37.4385 71.146 36.8291V34.4082H72.0636V39.9178H71.0789L69.6183 36.7874L69.1087 35.627H69.0841C69.1255 36.2113 69.2171 36.8709 69.2171 37.4802V39.9178H68.2985Z" fill="#EDEDED"/>
+<mask id="mask1_1006_7390" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="32" y="31" width="12" height="13">
+<path d="M43.7458 31.6641H32.6152V43.0265H43.7458V31.6641Z" fill="white"/>
+</mask>
+<g mask="url(#mask1_1006_7390)">
+<path d="M38.1796 42.0796C38.1796 42.0796 41.8905 40.1858 41.8905 37.3453V34.0312L38.1796 32.6108L34.4697 34.0312V37.3453C34.4697 40.1858 38.1796 42.0796 38.1796 42.0796Z" stroke="#575E61" stroke-width="0.69566" stroke-linecap="round" stroke-linejoin="round"/>
+</g>
+</g>
+</g>
+</g>
+<defs>
+<linearGradient id="paint0_linear_1006_7390" x1="226.849" y1="112.463" x2="191.225" y2="101.223" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="white" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint1_linear_1006_7390" x1="296.478" y1="101.221" x2="135.879" y2="69.2834" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="white" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint2_linear_1006_7390" x1="177.405" y1="73.7809" x2="0.889974" y2="17.7614" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="#53595C"/>
+</linearGradient>
+<clipPath id="clip0_1006_7390">
+<rect width="349" height="174" fill="white"/>
+</clipPath>
+<clipPath id="clip1_1006_7390">
+<rect width="754" height="205.009" fill="white" transform="translate(-372)"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xml
index 1d7fe9d034b..db3ff05936a 100644
--- a/apps/www/public/rss.xml
+++ b/apps/www/public/rss.xml
@@ -8,6 +8,13 @@
<lastBuildDate>Tue, 12 Dec 2023 23:00:00 GMT</lastBuildDate>
<atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/>
<item>
+ <guid>https://supabase.com/blog/supabase-branching</guid>
+ <title>Supabase Branching</title>
+ <link>https://supabase.com/blog/supabase-branching</link>
+ <description>A Postgres database for every Pull Request.</description>
+ <pubDate>Tue, 12 Dec 2023 23:00:00 GMT</pubDate>
+</item>
+<item>
<guid>https://supabase.com/blog/supavisor-postgres-connection-pooler</guid>
<title>Supavisor 1.0: a scalable connection pooler for Postgres</title>
<link>https://supabase.com/blog/supavisor-postgres-connection-pooler</link>
diff --git a/packages/ui/src/components/CountdownWidget/CountdownWidget.tsx b/packages/ui/src/components/CountdownWidget/CountdownWidget.tsx
index c167788378a..2a629379b02 100644
--- a/packages/ui/src/components/CountdownWidget/CountdownWidget.tsx
+++ b/packages/ui/src/components/CountdownWidget/CountdownWidget.tsx
@@ -15,25 +15,25 @@ function CountdownWidget({ days, hours, minutes, seconds, showCard = true }: Cou
return (
<div className="flex gap-1 items-center">
- {days && showItem(days) ? (
+ {days !== undefined && days !== '0' ? (
<>
<CountdownStep value={days} unit="d" showCard={showCard} />
<Colon />
</>
) : null}
- {hours && showItem(hours) ? (
+ {hours !== undefined ? (
<>
<CountdownStep value={hours} unit="h" showCard={showCard} />
<Colon />
</>
) : null}
- {minutes && showItem(minutes) ? (
+ {minutes !== undefined ? (
<>
<CountdownStep value={minutes} unit="m" showCard={showCard} />
{seconds !== undefined && <Colon />}
</>
) : null}
- {seconds && showItem(seconds) ? (
+ {seconds !== undefined ? (
<CountdownStep value={seconds} unit="s" showCard={showCard} />
) : null}
</div>
diff --git a/packages/ui/src/components/GlassPanel/GlassPanel.tsx b/packages/ui/src/components/GlassPanel/GlassPanel.tsx
index 26e8cd079c0..2ac43a529c9 100644
--- a/packages/ui/src/components/GlassPanel/GlassPanel.tsx
+++ b/packages/ui/src/components/GlassPanel/GlassPanel.tsx
@@ -1,6 +1,7 @@
import { useTheme } from 'next-themes'
import * as React from 'react'
import Image from 'next/image'
+import { cn } from '../../lib/utils'
interface Props {
title: string
@@ -52,10 +53,8 @@ const GlassPanel = ({
<Image
src={logoImage}
alt={title}
- layout="fill"
- objectFit="contain"
- objectPosition="left"
- className={className}
+ fill
+ className={cn('object-contain object-left', className)}
/>
</div>
</div>
diff --git a/packages/ui/src/components/PromoToast/PromoToast.tsx b/packages/ui/src/components/PromoToast/PromoToast.tsx
index e3910f12b19..699f0ddd847 100644
--- a/packages/ui/src/components/PromoToast/PromoToast.tsx
+++ b/packages/ui/src/components/PromoToast/PromoToast.tsx
@@ -44,12 +44,12 @@ const PromoToast = () => {
<p>Launch Week</p>
<Image src={LWXLogo} alt="Supabase Launch Week X Logo" width={14} height={14} />
</div>
- <span className="text-sm leading-4 mt-2">Day 2: Node and native npm compatibility</span>
+ <span className="text-sm leading-4 mt-2">Day 3: introducing Supabase Branching</span>
</div>
<div className="relative z-10 flex items-center space-x-2">
<Button asChild type="secondary">
- <Link target="_blank" rel="noreferrer" href="https://supabase.com/launch-week#day-2">
+ <Link target="_blank" rel="noreferrer" href="https://supabase.com/launch-week#day-3">
Go to Launch Week
</Link>
</Button>
diff --git a/packages/ui/src/layout/banners/LWAnnouncement.tsx b/packages/ui/src/layout/banners/LWAnnouncement.tsx
deleted file mode 100644
index 52a5ae3f8d0..00000000000
--- a/packages/ui/src/layout/banners/LWAnnouncement.tsx
+++ /dev/null
@@ -1,90 +0,0 @@
-import Link from 'next/link'
-import Image from 'next/image'
-import { LW_SITE_URL, LW8_END_DATE } from './data/constants'
-
-const Card = ({
- className,
- innerClassName,
- children,
-}: {
- className?: string
- innerClassName?: string
- children: any
-}) => (
- <div
- className={[
- 'group relative p-[1px] bg-gradient-to-b from-background-alternative/90 to-background-alternative/60 rounded-xl overflow-hidden shadow-sm',
- className,
- ].join(' ')}
- >
- <div
- className={[
- 'bg-alternative text-sm text-foreground-light p-2 flex flex-row justify-between items-center backdrop-blur-md h-full',
- innerClassName,
- ].join(' ')}
- >
- {children}
- </div>
- </div>
-)
-
-const LWAnnouncement = ({
- title,
- className,
- cardClassName,
- cardInnerClassName,
-}: {
- title?: string
- className?: string
- cardClassName?: string
- cardInnerClassName?: string
-}) => {
- const isLw8Finished = Date.parse(LW8_END_DATE) < Date.now()
- if (isLw8Finished) return null
-
- return (
- <div
- className={[
- 'w-full opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]',
- className,
- ].join(' ')}
- >
- <Card
- className={['border hover:border-stronger transition-colors', cardClassName].join(' ')}
- innerClassName={['!bg-opacity-70', cardInnerClassName].join(' ')}
- >
- <Link
- href={LW_SITE_URL}
- className="flex flex-row justify-between items-center w-full h-full gap-2 text-left no-underline"
- >
- <div className="relative flex-shrink flex items-center p-2 w-2/3 md:w-auto">
- <div className="flex flex-col gap-1 sm:pl-2">
- <div className="flex items-center gap-2">
- <span className="text-foreground">Launch Week 8</span>
- </div>
- <span className="text-foreground-light">Explore all the announcements</span>
- </div>
- </div>
- <div className="relative flex items-center justify-center !aspect-video h-[80px] md:h-[80px] gap-2 z-10 rounded overflow-hidden">
- {/* <div className="absolute z-20 w-4 h-4 text-white opacity-70">
- <svg viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M76.5621 37.998C82.3369 41.3321 82.3369 49.6673 76.5621 53.0014L13.2198 89.5721C7.44504 92.9062 0.226562 88.7386 0.226562 82.0704L0.226566 8.92901C0.226566 2.26085 7.44506 -1.90673 13.2199 1.42735L76.5621 37.998Z"
- fill="currentColor"
- />
- </svg>
- </div> */}
- <Image
- src="https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lw8/assets/lw8-og.jpg"
- alt="Launch Week 8"
- layout="fill"
- objectFit="cover"
- />
- </div>
- </Link>
- </Card>
- </div>
- )
-}
-
-export default LWAnnouncement
diff --git a/packages/ui/src/layout/banners/LWXCountdownBanner/LWXCountdownBanner.tsx b/packages/ui/src/layout/banners/LWXCountdownBanner/LWXCountdownBanner.tsx
index b2cf6ece906..78d7711c55c 100644
--- a/packages/ui/src/layout/banners/LWXCountdownBanner/LWXCountdownBanner.tsx
+++ b/packages/ui/src/layout/banners/LWXCountdownBanner/LWXCountdownBanner.tsx
@@ -35,7 +35,7 @@ export function LWXCountdownBanner() {
className="filter contrast-0 dark:contrast-100"
/>
</div>
- <div className="hidden sm:block">Day 2: Node and native npm compatibility</div>
+ <div className="hidden sm:block">Day 3: introducing Supabase Branching</div>
<Button
onClick={() => null}
size="tiny"
diff --git a/packages/ui/src/layout/banners/data/Announcement.json b/packages/ui/src/layout/banners/data/Announcement.json
index e3525248de9..96910e74dc7 100644
--- a/packages/ui/src/layout/banners/data/Announcement.json
+++ b/packages/ui/src/layout/banners/data/Announcement.json
@@ -2,6 +2,6 @@
"show": true,
"text": "Supabase Launch Week X",
"launchDate": "2023-12-11T08:00:00.000-08:00",
- "link": "https://supabase.com/launch-week#day-2",
+ "link": "https://supabase.com/launch-week#day-3",
"badge": "Go to Launch Week"
}
diff --git a/packages/ui/src/layout/banners/index.tsx b/packages/ui/src/layout/banners/index.tsx
index 6d7b4a5ce14..fe1cc063d53 100644
--- a/packages/ui/src/layout/banners/index.tsx
+++ b/packages/ui/src/layout/banners/index.tsx
@@ -1,4 +1,3 @@
export { default as Announcement } from './Announcement'
-export { default as LWAnnouncement } from './LWAnnouncement'
export { default as LW8CountdownBanner } from './LW8CountdownBanner/LW8CountdownBanner'
export { default as LWXCountdownBanner } from './LWXCountdownBanner/LWXCountdownBanner'