Skip to content

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

Whale 1 (#28553)

Francesco Sansalvadored0a3332a3856
diff --git a/apps/www/_blog/2024-08-12-github-copilot-extension-for-vs-code.mdx b/apps/www/_blog/2024-08-12-github-copilot-extension-for-vs-code.mdx
new file mode 100644
index 00000000000..d19635b2d18
--- /dev/null
+++ b/apps/www/_blog/2024-08-12-github-copilot-extension-for-vs-code.mdx
@@ -0,0 +1,78 @@
+---
+title: Official Supabase extension for VS Code and GitHub Copilot
+description: Today we're launching a new GitHub Copilot extension for VS Code to make your development with Supabase even more delightful.
+author: anas-araid,thor_schaeff
+image: lw12/day-1/github_copilot_extension-og.png
+thumb: lw12/day-1/github_copilot_extension-thumb.png
+launchweek: '12'
+categories:
+ - launch-week
+ - developers
+tags:
+ - launch-week
+date: '2024-08-12'
+toc_depth: 3
+---
+
+Today we're launching a new [GitHub Copilot extension for VS Code](https://marketplace.visualstudio.com/items?itemName=Supabase.vscode-supabase-extension) to make your development with Supabase and VS Code even more delightful, starting with a Copilot-guided experience for [database migrations](/docs/guides/cli/local-development#database-migrations).
+
+![Database Migrations Demo](/images/blog/lw12/day-1/copilot_migration.gif)
+
+The foundation for this extenions was created by [Anas Araid](https://github.com/anas-araid) during a previous [Launch Week Hackathon](https://twitter.com/anas_araid/status/1736641409094988033). Impressed with their work, we partnered with them to add a ["Chat Participant"](https://code.visualstudio.com/api/extension-guides/chat), an exciting [new feature recently launched](https://code.visualstudio.com/blogs/2024/06/24/extensions-are-all-you-need) by the GitHub and VS Code teams at Microsoft.
+
+## Features
+
+The VS Code extension is quite feature rich:
+
+### GitHub Copilot Chat Participant
+
+The extension provides a [Chat Participant](https://code.visualstudio.com/api/extension-guides/chat) for GitHub Copilot to help with your Supabase questions. Simply type `@supabase` in your Copilot Chat and the extension will include your database schema as context to Copilot.
+
+![Copilot Chat integration demo](/images/blog/lw12/day-1/copilot_chat.gif)
+
+### Copilot-guided database migrations
+
+The extension provides a guided experience to create and apply [database migrations](/docs/guides/cli/local-development#database-migrations). Simply type `@supabase /migration <describe what you want to do>` in your Copilot Chat and the extension will generate a new SQL migration for you.
+
+![Copilot guided database migrations demo](/images/blog/lw12/day-1/copilot_migration.gif)
+
+### Inspect tables & views
+
+Inspect your tables and views, including their columns, types, and data, directly from the editor:
+
+![View tables and views](/images/blog/lw12/day-1/table_view.png)
+
+### List database migrations
+
+See the migration history of your database:
+
+![Migration History](/images/blog/lw12/day-1/migration_history.png)
+
+### Inspect database functions
+
+Inspect your database functions and their SQL definitions:
+
+![Database functions](/images/blog/lw12/day-1/database_functions.png)
+
+### List Storage buckets
+
+List the Storage buckets in your Supabase project.
+
+## What's Next?
+
+We're excited to continue adding more features that will make your development experience with Supabase even more delightful - and for this we need your help! If you have any feedback, feature requests, or bug reports, please [open an issue on GitHub](https://github.com/supabase-community/supabase-vscode-extension/issues).
+
+The extension requires you to have the Supabase CLI installed and have your project running locally. In a future release, we will integrate the [Supabase Managamenet API](/docs/reference/api/introduction) into the extension to make connecting to your hosted Supabase projects as seamless as possible.
+
+## Contributing to Supabase
+
+The entire Supabase stack is [fully open source](/open-source), including [this extension](https://github.com/supabase-community/supabase-vscode-extension). In fact, this extension was originally created by [Anas Araid](https://github.com/anas-araid) during a [previous Launch Week Hackathon](https://twitter.com/anas_araid/status/1736641409094988033).
+
+Your contributions, feedback, and engagement in the Supabase community are invaluable, and play a significant role in shaping our future. Thank you for your support!
+
+## Resources
+
+- [Install the extension](https://marketplace.visualstudio.com/items?itemName=Supabase.vscode-supabase-extension)
+- [Read the source code](https://github.com/supabase-community/supabase-vscode-extension)
+- [Submit a Feature Request](https://github.com/supabase-community/supabase-vscode-extension/issues)
+- [Get started with Supabase](https://database.new)
diff --git a/apps/www/_blog/2024-08-12-postgres-new.mdx b/apps/www/_blog/2024-08-12-postgres-new.mdx
new file mode 100644
index 00000000000..a19234327fa
--- /dev/null
+++ b/apps/www/_blog/2024-08-12-postgres-new.mdx
@@ -0,0 +1,249 @@
+---
+title: 'postgres.new: In-browser Postgres with an AI interface'
+description: Introducing postgres.new, the in-browser Postgres sandbox with AI assistance.
+author: gregnr
+image: lw12/day-1/postgres-new-og.png
+thumb: lw12/day-1/postgres-new-thumb.png
+launchweek: '12'
+categories:
+ - launch-week
+ - developers
+ - postgres
+tags:
+ - launch-week
+ - AI
+ - postgres
+date: '2024-08-12'
+toc_depth: 3
+---
+
+Introducing [postgres.new](https://postgres.new), the in-browser Postgres sandbox with AI assistance. With postgres.new, you can instantly spin up an unlimited number of Postgres databases that run directly in your browser (and soon, deploy them to S3).
+
+Each database is paired with a large language model (LLM) which opens the door to some interesting use cases:
+
+- Drag-and-drop CSV import (generate table on the fly)
+- Generate and export reports
+- Generate charts
+- Build database diagrams
+
+All while staying completely local to your browser. It's a bit like having Postgres and ChatGPT combined into a single interface:
+
+<div className="video-container">
+ <iframe
+ className="w-full"
+ src="https://www.youtube-nocookie.com/embed/ooWaPVvljlU"
+ title="I gave AI full control over my database (postgres.new)"
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share"
+ allowfullscreen
+ />
+</div>
+
+In this demo we cover several interesting use-cases:
+
+- You have a CSV file that you want to quickly query and visualize. You could load it into Excel, but you're SQL-savvy and really just wish you could query it like a database.
+- You're asking ChatGPT to help you write some SQL, but ideally you'd like to run it against a real database to know if it's correct. LLMs aren't perfect after all.
+- You're building your next side project and it's time to plan your database. You've done this 1000 times before and wish you could just “describe” what you want and have AI do the work creating ER diagrams and SQL migrations.
+
+## How it works
+
+All queries in postgres.new run directly in your browser. There's no remote Postgres container or WebSocket proxy.
+
+How is this possible? The star of the show is [PGlite](https://pglite.dev/), a WASM version of Postgres that can run directly in your browser. Our friends at [ElectricSQL](https://electric-sql.com/) released PGlite a few months ago after discovering a way to compile the real Postgres source to Web Assembly (more on this later).
+
+## Motivation
+
+There are a few things we wanted to achieve with postgres.new:
+
+1. **AI-driven development:** We wanted to re-imagine the interaction between Postgres and AI. This gives a lot of leniency for making mistakes, which AI sometimes make (and let's face it: developers too).
+2. **Postgres sandboxing:** we're big fans of sandboxes and notebooks. Since PGlite runs in the browser, it feels fast and disposable. You can spin up “a million little elephants” for doing data analysis using the same Postgres interface that we're familiar with in our daily development.
+3. **Extremely cheap databases:** we're always looking for ways to offer developers _more databases for cheaper_. PGlite is still nascent, but we can see its potential for spinning up millions of cheap databases that can be stored and read from S3. This covers a variety of use cases that we see in the Supabase community.
+
+## Features and how they work
+
+So what exactly can you do with postgres.new? How do these work under the hood?
+
+### AI assistant
+
+We pair PGlite with a large language model (currently GPT-4o) and give it full reign over the database with no restricted permissions or confirmations required from the user. This is actually an important detail - and has opened new doors that other AI + Postgres tools struggle with.
+
+As an analogy, the most helpful team members are those that can do their work without constant micromanagement. They only come ask for help when they're really stuck or need a second opinion.
+
+Giving an AI model full autonomy over the database means that it can run multiple operations back-to-back without delay. It makes AI feel even more human-like and useful. A disposable in-browser database is what really makes this possible since there's no need to worry about data loss.
+
+### CSV imports and exports
+
+Drag-and-drop a CSV file directly onto the chat to instantly receive a new table with the data automatically imported into it. The language model will scan the CSV's header and a few sample rows to decide which data types to use for each column:
+
+<div>
+ <Img
+ alt="CSV import"
+ src={{
+ light: '/images/blog/lw12/day-1/csv-import--light.png',
+ dark: '/images/blog/lw12/day-1/csv-import--dark.png',
+ }}
+ />
+</div>
+
+Just like humans though, AI won't always get this right. There could have been a row of data it missed that didn't conform to the same data types that it expected, causing the import to fail. To solve this, we added the ability for AI to self-heal. Any SQL errors from Postgres are fed back to the language model so that it can try a few more attempts at solving the problem. This behaviour is triggered anytime AI executes SQL, not just CSV imports.
+
+In addition to imports, you can ask AI to export any query to a CSV. This is useful if you wanted to quickly generate a few reports on a dataset then continue using that data in another program.
+
+### Charts
+
+Charts are a first-class feature within the chat. By simply adding the word “chart” (or similar) to your message, AI will execute the appropriate query using SQL then build a chart representing that data:
+
+<div>
+ <Img
+ alt="Charts"
+ src={{
+ light: '/images/blog/lw12/day-1/charts--light.png',
+ dark: '/images/blog/lw12/day-1/charts--dark.png',
+ }}
+ />
+</div>
+
+The goal is to make data visualization as fast as possible. You can generate everything you need from a single chat request rather than the usual steps of loading your CSV into Excel, tweaking the data, then navigating through the chart tools.
+
+Under the hood we render these charts using [Chart.js](https://github.com/chartjs/Chart.js), one of the more mature charting libraries available in JavaScript. The choice a Chart.js was largely influenced by the language model (GPT-4o) which has a pretty good understanding of its syntax and configuration. The model will simply translate the SQL output to the equivalent Chart.js syntax, then render it onto the page. A nice side-effect from this is that you can ask AI to adjust the chart's type, colors, axises, title, or anything else you want to get it to render exactly as you wish, as long as Chart.js supports the feature you are requesting.
+
+It's worth noting that Chart.js sometimes expects an inputs that can be a bit verbose, adding to cost and latency. In the future we'd like to experiment with other charting options that take a more terse input.
+
+### ER diagrams and migrations
+
+Usually ER diagrams are created before you write any SQL. After all, why get caught up in SQL syntax when you really only care about capturing your app's data and relationship requirements?
+
+But with AI, this workflow shifts a bit. It's trivial for a language model to generate quality `CREATE` and `ALTER` statements in a matter of seconds. So why not let the model perform real DDL against a Postgres sandbox and simply generate the ER diagram based on these tables?
+
+<div>
+ <Img
+ alt="ER Diagrams"
+ src={{
+ light: '/images/blog/lw12/day-1/db-diagram--light.png',
+ dark: '/images/blog/lw12/day-1/db-diagram--dark.png',
+ }}
+ />
+</div>
+
+With this workflow, we can guarantee from the very beginning that the columns and relationships that we come up with can actually be implemented in a real database. If they can't, the database will just throw an error and AI will fix it. We then have the added bonus of accessing the real SQL code available when we're done, which can be copied over to our new app when we're ready:
+
+<div>
+ <Img alt="Migrations" src="/images/blog/lw12/day-1/migrations.png" />
+</div>
+
+Under the hood we use a browser-compatible version of [postgres-meta](https://github.com/supabase/postgres-meta) to load PGlite tables into JavaScript, then render them using the [schema visualizer](https://supabase.com/blog/supabase-studio-3-0#schema-visualizer). For migrations, we scan through the chat history and concatenate all DDL-related SQL queries into a single view.
+
+In the future, we would also like to support a “seeds” section that outputs `INSERT` statements for sample data created by the language model. Unfortunately we can't simply concatenate these queries together like we do with migrations, since table and column structure can change over time and break earlier seeds. To make this work properly we'll need something like a WASM version of `pg_dump` that can dump all data at the end (stay tuned - the ElectricSQL team is working on it!)
+
+### Semantic search and RAG
+
+ElectricSQL has been working hard to support real Postgres extensions in PGlite (compiled to WASM). One extension that was high on the priority list was [pgvector](https://github.com/pgvector/pgvector) which enables in-browser vector search.
+
+pgvector is enabled by default in postgres.new, meaning you can create and query vector columns on any table immediately. Of course, this is only useful if you have real embeddings to work with - so we gave AI access to [Transformers.js](https://github.com/xenova/transformers.js) which allows you to generate text embeddings directly in the browser, then store/query them in PGlite.
+
+<div>
+ <Img
+ alt="Vector search"
+ src={{
+ light: '/images/blog/lw12/day-1/vector--light.png',
+ dark: '/images/blog/lw12/day-1/vector--dark.png',
+ }}
+ />
+</div>
+
+Under the hood, we store the embeddings in a `meta.embeddings` table then pass back to AI the resulting IDs for each embedding. We do this because embedding vectors are big, and sending these back and forth to the model is not only expensive, but also error prone. Instead, the language model is aware of the `meta.embeddings` table and simply subqueries to it when it needs access to an embedding.
+
+We're excited to see what people do with this tool. We've found it has provided a perfect sandbox for experimenting with semantic search and RAG in a low risk environment.
+
+### Deployments
+
+With postgres.new we expect to have read-only deployments by the end of the week. This is important for one main reason: it's incredibly cheap to host a PGLite database in S3. While running a full Postgres database isn't _that_ expensive, there are use-cases where developers would love **most** of the features of Postgres but without the cost of running a full database. PGLite, served via S3, will open the floodgates to many use-cases: a replicated database per user; read-only [materialized](https://github.com/supabase/pg_replicate) databases for faster reads; search features hosted on the edge; maybe even a trimmed-down version of Supabase.
+
+By itself PGlite is an embedded database which means you can't connect to it like a normal Postgres database via TCP connection. To support PGlite-backed deployments, we needed a way to recreate the TCP server component of Postgres and also parse real wire protocol messages so that people could connect to their database via any regular Postgres client.
+
+This is how [pg-gateway](https://github.com/supabase-community/pg-gateway) was born: a TypeScript library that implements the Postgres wire protocol from the server-side. It provides APIs you can hook into to handle authentication requests, queries, and other client messages yourself.
+
+<div>
+ <Img
+ alt="Deployments diagram"
+ src={{
+ light: '/images/blog/lw12/day-1/deployments-diagram--light.png',
+ dark: '/images/blog/lw12/day-1/deployments-diagram--dark.png',
+ }}
+ />
+</div>
+
+Under the hood, PGlite _does_ support wire protocol messages (see more below), but only messages that you would see after the startup/auth handshake. So we designed pg-gateway handle the startup/TLS/authentication messages, then simply pass off future messages to PGlite.
+
+There's a lot more juicy features we built into pg-gateway, but those will have to wait for its own blog post.
+
+## PGlite deep dive
+
+None of this would be possible without [PGlite](https://pglite.dev/), developed by our friends at [ElectricSQL](https://electric-sql.com/).
+
+<div>
+ <Img alt="PGlite website screenshot" src="/images/blog/lw12/day-1/pglite.png" />
+</div>
+
+### What is PGlite?
+
+[PGlite](https://pglite.dev/) is a WASM (web assembly) build of Postgres packaged into a TypeScript/JavaScript client library. You can use it to run Postgres in the browser, Node.js, and Bun with no additional dependencies. This provides a number of use cases where it might be better than a full Postgres database:
+
+- **Unit and CI testing:** PGlite is very fast to start and tear down. It's perfect for unit tests - you can have a unique fresh Postgres for each test.
+- **Local development:** You can use PGlite as an alternative to a full local Postgres for development; simplifying your development environments.
+- **Remote development, or local web containers:** As PGlite is so lightweight it can be easily embedded into remote containerised development environments, or in-browser web containers
+
+### Data persistance
+
+PGlite supports multiple backends for data persistence:
+
+- the native file system when used in Node
+- IndexedDB and OPFS when used in the browser
+
+It's fast, with CRUD style queries executing in under 0.3 ms. It's ideal storing local state in a web app.
+
+### Extension support
+
+PGlite supports a large [catalog](https://pglite.dev/extensions/) of Postgres extensions. Here are two notable extensions that are useful in an embedded enviroment:
+
+`pgvector`
+
+[pgvector](https://pglite.dev/extensions/#pgvector) can be used for indexing and searching embeddings, typically as part of a AI workflow (retrieval augmented generation). As AI moves towards the user's device, performing vector searches close to the model is essential for reducing latency.
+
+`live`
+
+This is a new extension developed by [ElectricSQL](https://electric-sql.com/) as a client for their sync engine. It can synchronize a subset of your Postgres database in realtime to a user's device or an edge service.
+
+### A technical overview of PGlite
+
+Postgres normally runs under a multi-process forking model, each client connection is handed off to a child process by the postmaster process. However, in WASM there is no support for forking processes, and limited support for threads.
+
+Fortunately, Postgres has a relatively unknown built-in [“single user mode”](https://www.postgresql.org/docs/current/app-postgres.html#APP-POSTGRES-SINGLE-USER) that is both single-process, and single-threaded. This is primarily designed to enable bootstrapping a new database, or for disaster recovery.
+
+PGlite builds on the single user mode by adding Postgres wire protocol support, as standard Postgres only supports a minimal basic cancel REPL in single user mode, this enables parametrised queries and converting between Postgres types and the host languages types.
+
+There are a number of of other things in Postgres that PGlite modifies to enable its use with WASM. These include:
+
+- Support for [specifying a user](https://pglite.dev/docs/api#options) for the connection when starting under single-user mode, allowing permissions and RLS to be applied.
+- Support for `COPY`, for loading CSVs or Postgres binary copy formats into the database. This was achieved by creating a virtual device on the VFS, [`/dev/blob`](https://pglite.dev/docs/api#dev-blob), which you can read and write to with the `COPY` command, and representing a JavaScript Blob object on the query.
+- The addition of [`dumpDataDir`](https://pglite.dev/docs/api#dumpdatadir) and `loadDataDir` enabling the dumping and loading a tarball of the Postgres datadir.
+- `pg_notify` has been modified to run in single-process mode, creating the foundations for a [live reactive query interface](https://pglite.dev/docs/live-queries) on top of `NOTIFY` and `LISTEN`.
+- A new [OPFS (origin private filesystem) VFS](https://pglite.dev/docs/filesystems#opfs-ahp-fs) for browsers, providing better performance and support for databases significantly larger than can fit in memory.
+
+## Coming soon
+
+We like to ship early and often at Supabase, so there are a number of features in the backlog:
+
+- Deploy your database: we're adding the ability to deploy your database to S3 and access it from anywhere on the internet (read-only to start).
+- **Support for more file types:** we plan to add support for Word docs, images (via image embeddings), and more.
+- **Database sharing:** Just like \*\*\*\*CodeSandbox, you'll soon be able to share databases with others using a unique URL.
+- **PGlite OPFS support**: databases are currently stored in IndexedDB and we'll move this to [OPFS](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system) to store files directly on the host filesystem.
+- **Database exporting**: soon you'll be able to run a pg_dump of your database and restore it to any Postgres database.
+
+## Open Source
+
+As always, the work that we've done is open source and permissively licensed (and is the work by the Electric team. Here are all the open source repos if you want to give them a star, add an issue, or cntribute some code yourself:
+
+- [PGlite](https://github.com/electric-sql/pglite) (Apache 2.0): A WASM build of Postgres.
+- [pg-gateway](https://github.com/supabase-community/pg-gateway) (MIT): Postgres wire protocol for the server-side.
+- [postgres-new](https://github.com/supabase-community/postgres-new) (Apache 2.0): The frontend for [postgres.new](https://postgres.new).
+- [transformers.js](https://github.com/xenova/transformers.js): Run Transformers directly in your browser
diff --git a/apps/www/components/Hero/Hero.tsx b/apps/www/components/Hero/Hero.tsx
index 51c0f579130..9f7ea66d292 100644
--- a/apps/www/components/Hero/Hero.tsx
+++ b/apps/www/components/Hero/Hero.tsx
@@ -24,9 +24,9 @@ const Hero = () => {
<div className="flex flex-col items-center">
<div className="z-40 w-full flex flex-col gap-4 items-center justify-center -mt-4 md:-mt-8 mb-8 lg:mb-8">
<AnnouncementBadge
- url="/launch-week"
+ url="/launch-week#day-1"
badge="Launch Week 12"
- announcement="Claim your ticket"
+ announcement="Day 1: postgres.new"
/>
</div>
<h1 className="text-foreground text-4xl sm:text-5xl sm:leading-none lg:text-7xl">
diff --git a/apps/www/components/LaunchWeek/11/LW11Meetups.tsx b/apps/www/components/LaunchWeek/11/LW11Meetups.tsx
index e0a0cd38592..f0e82fda6f7 100644
--- a/apps/www/components/LaunchWeek/11/LW11Meetups.tsx
+++ b/apps/www/components/LaunchWeek/11/LW11Meetups.tsx
@@ -111,7 +111,7 @@ const LW11Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
className={cn(
'h-10 group inline-flex md:hidden items-center flex-wrap text-3xl',
'text-foreground-muted hover:!text-foreground !leading-none transition-colors',
- meetup.id === activeMeetup.id && '!text-foreground',
+ meetup.id === activeMeetup?.id && '!text-foreground',
liveNow && 'text-foreground-light'
)}
>
@@ -131,7 +131,7 @@ const LW11Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
className={cn(
'hidden h-10 group md:inline-flex items-center flex-wrap text-4xl',
'text-foreground-muted hover:!text-foreground !leading-none transition-colors',
- meetup.id === activeMeetup.id && '!text-foreground',
+ meetup.id === activeMeetup?.id && '!text-foreground',
liveNow && 'text-foreground-light'
)}
>
@@ -146,7 +146,7 @@ const LW11Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
})}
</div>
<Link
- href={activeMeetup.link ?? '#'}
+ href={activeMeetup?.link ?? '#'}
target="_blank"
className="col-span-1 xl:col-span-7 xl:col-start-6 w-full max-w-4xl text-sm flex-1 inline-flex flex-wrap items-center gap-1"
>
diff --git a/apps/www/components/LaunchWeek/12/LW12Background.tsx b/apps/www/components/LaunchWeek/12/LW12Background.tsx
index 2bbe687e818..cdb950f57fe 100644
--- a/apps/www/components/LaunchWeek/12/LW12Background.tsx
+++ b/apps/www/components/LaunchWeek/12/LW12Background.tsx
@@ -10,7 +10,7 @@ const LW12Background = ({ className }: Props) => {
return (
<div className={cn('absolute inset-0 w-full h-full flex flex-col', className)}>
{range(0, 3).map((_) => (
- <div className="w-fit h-full max-h-full flex flex-col gap-0 animate-marquee-vertical will-change-transform mx-auto">
+ <div className="w-full aspect-[1/1.536] flex flex-col gap-0 animate-marquee-vertical will-change-transform mx-auto -mt-px">
<img
src="/images/launchweek/12/bg-light.svg"
className="dark:hidden block relative inset-0 w-full overflow-hidden object-cover"
@@ -19,24 +19,9 @@ const LW12Background = ({ className }: Props) => {
src="/images/launchweek/12/bg-dark.svg"
className="dark:block hidden relative inset-0 w-full overflow-hidden object-cover"
/>
- {/* <img
- src="/images/launchweek/12/bg-light.svg"
- className="dark:hidden block relative inset-0 w-full overflow-hidden object-cover"
- />
- <img
- src="/images/launchweek/12/bg-dark.svg"
- className="dark:block hidden relative inset-0 w-full overflow-hidden object-cover"
- />
- <img
- src="/images/launchweek/12/bg-light.svg"
- className="dark:hidden block relative inset-0 w-full overflow-hidden object-cover"
- />
- <img
- src="/images/launchweek/12/bg-dark.svg"
- className="dark:block hidden relative inset-0 w-full overflow-hidden object-cover"
- /> */}
</div>
))}
+ <div className="absolute inset-0 w-full h-full bg-gradient-to-t from-background to-transparent" />
</div>
)
}
diff --git a/apps/www/components/LaunchWeek/12/LWMeetups.tsx b/apps/www/components/LaunchWeek/12/LWMeetups.tsx
index 47da4c03ec5..2b58a407b8e 100644
--- a/apps/www/components/LaunchWeek/12/LWMeetups.tsx
+++ b/apps/www/components/LaunchWeek/12/LWMeetups.tsx
@@ -7,21 +7,22 @@ import { ArrowRight } from 'lucide-react'
export interface Meetup {
id?: any
- location: string
+ country?: any
+ start_at: string
+ title: string
is_live: boolean
link: string
display_info: string
- date: string
}
-function addHours(date: Date, hours: number) {
- const dateCopy = new Date(date)
+function addHours(start_at: Date, hours: number) {
+ const dateCopy = new Date(start_at)
dateCopy.setHours(dateCopy.getHours() + hours)
return dateCopy
}
-const LWMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
+const LWMeetups = ({ meetups, className }: { meetups?: Meetup[]; className?: string }) => {
const { supabase } = useConfData()
const now = new Date(Date.now())
const [meets, setMeets] = useState<Meetup[]>(meetups ?? [])
@@ -50,7 +51,9 @@ const LWMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
.eq('launch_week', 'lw12')
.neq('is_published', false)
- setMeets(newMeets?.sort((a, b) => (new Date(a.date) > new Date(b.date) ? 1 : -1))!)
+ setMeets(
+ newMeets?.sort((a, b) => (new Date(a.start_at) > new Date(b.start_at) ? 1 : -1))!
+ )
}
)
.subscribe(async (status) => {
@@ -72,28 +75,32 @@ const LWMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
}
return (
- <div className="max-w-7xl mx-auto grid grid-cols-1 xl:grid-cols-12 gap-8 text-foreground-lighter">
+ <div
+ className={cn(
+ 'max-w-7xl mx-auto grid grid-cols-1 xl:grid-cols-12 gap-8 text-foreground-lighter',
+ className
+ )}
+ >
<div className="mb-4 col-span-1 xl:col-span-4 flex flex-col max-w-lg">
<h2 className="text-sm font-mono uppercase tracking-[1px] mb-4">Community meetups</h2>
<p className="text-base xl:max-w-md mb-2">
- Join our live community-driven meetups to Launch Week 12 with the community, listen to
- tech talks and grab some swag.
+ Join our live community-driven meetups for Launch Week 12.
</p>
</div>
- <div className="col-span-1 xl:col-span-7 xl:col-start-6 w-full max-w-4xl flex flex-wrap gap-x-3 gap-y-1">
+ <div className="col-span-1 xl:col-span-7 xl:col-start-6 w-full max-w-4xl flex flex-wrap gap-x-2 md:gap-x-3 gap-y-1">
{meets &&
meets
- ?.sort((a, b) => (new Date(a.date) > new Date(b.date) ? 1 : -1))
+ // ?.sort((a, b) => (new Date(a.start_at) > new Date(b.start_at) ? 1 : -1))
.map((meetup: Meetup, i: number) => {
- const startAt = new Date(meetup.date)
- const endAt = addHours(new Date(meetup.date), 3)
+ 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 (
<>
- <button
+ {/* <button
key={meetup.id}
onClick={() => handleSelectMeetup(meetup)}
onMouseDown={() => handleSelectMeetup(meetup)}
@@ -108,9 +115,9 @@ const LWMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
{liveNow && (
<div className="w-2 h-2 rounded-full bg-brand mr-2 mb-4 animate-pulse" />
)}
- <span>{meetup.location}</span>
+ <span>{meetup.title}</span>
{i !== meets.length - 1 && ', '}
- </button>
+ </button> */}
<Link
key={`meetup-link-${meetup.id}`}
href={meetup.link ?? ''}
@@ -119,7 +126,7 @@ const LWMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
onMouseOver={() => handleSelectMeetup(meetup)}
title={liveNow ? 'Live now' : undefined}
className={cn(
- 'hidden h-10 group md:inline-flex items-center flex-wrap text-4xl',
+ 'h-10 group inline-flex items-center flex-wrap text-3xl md:text-4xl',
'text-foreground-muted hover:!text-foreground !leading-none transition-colors',
meetup.id === activeMeetup?.id && '!text-foreground',
liveNow && 'text-foreground-light'
@@ -128,14 +135,18 @@ const LWMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
{liveNow && (
<div className="w-2 h-2 rounded-full bg-brand mr-2 mb-4 animate-pulse" />
)}
- <span>{meetup.location}</span>
- {i !== meets.length - 1 && ', '}
+ <span>{meetup.title}</span>
</Link>
+ {i !== meets.length - 1 && (
+ <span className="ml-0 text-foreground-muted/50 text-3xl mb-0 my-auto flex">
+ /
+ </span>
+ )}
</>
)
})}
</div>
- <Link
+ {/* <Link
href={activeMeetup?.link ?? '#'}
target="_blank"
className="col-span-1 xl:col-span-7 xl:col-start-6 w-full max-w-4xl text-sm flex-1 inline-flex flex-wrap items-center gap-1"
@@ -144,7 +155,7 @@ const LWMeetups = ({ meetups }: { meetups?: Meetup[] }) => {
<span className="inline">
<ArrowRight className="w-3 md:hidden" />
</span>
- </Link>
+ </Link> */}
</div>
)
}
diff --git a/apps/www/components/LaunchWeek/12/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/12/LaunchWeekPrizeSection.tsx
index 07cf7702e00..ad760b9197b 100644
--- a/apps/www/components/LaunchWeek/12/LaunchWeekPrizeSection.tsx
+++ b/apps/www/components/LaunchWeek/12/LaunchWeekPrizeSection.tsx
@@ -24,53 +24,57 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri
<div className="w-full h-auto lg:min-h-[400px] flex flex-col lg:flex-row items-stretch rounded-lg overflow-hidden">
<div className="relative w-full pl-4 xl:px-4 lg:w-2/3 border-b lg:border-none border-muted aspect-[3/1] top-0 md:-bottom-8 overflow-hidden">
<Image
- src="/images/launchweek/11/airpods-max-alpha.png"
+ src="/images/launchweek/12/lw12-backpack.png"
alt="Supabase AirPod Max prize"
draggable={false}
width={300}
height={300}
- className="hidden md:block absolute object-cover scale-50 lg:scale-100 lg:object-top w-[90%] h-full opacity-90 dark:opacity-50 pointer-events-none"
- />
- <Image
- src="/images/launchweek/11/airpods-max-alpha-crop.png"
- alt="Supabase AirPod Max prize"
- draggable={false}
- width={300}
- height={300}
- className="md:hidden absolute mx-auto object-cover inset-x-0 lg:object-top w-auto h-full opacity-90 dark:opacity-50 pointer-events-none"
+ quality={100}
+ className="block absolute mx-auto object-cover inset-x-0 lg:inset-x-auto lg:object-top w-auto lg:w-[90%] h-full opacity-90 dark:opacity-50 pointer-events-none"
/>
</div>
- <div className="flex flex-col lg:w-1/2 gap-1 p-4 md:p-8 lg:pl-0 lg:h-full">
- <div className="flex flex-col gap-2 flex-grow">
- <LabelBadge text="5 sets" />
- <p className="xl:mt-4 text-foreground">Win AirPods Max</p>
+ <div className="flex flex-col justify-center lg:w-1/2 gap-1 p-4 md:p-8 lg:pl-0 lg:h-full">
+ <div className="flex flex-col gap-2">
+ <LabelBadge text="5 pieces" />
+ <p className="text-foreground">Win Wandrd Backpack</p>
<p className="text-foreground-lighter text-sm">
- Secure your ticket to enter our random prize pool, and amplify your odds by
- sharing. Or if you don't leave anything up for chance - join our Hackathon and
- showcase your creations. With luck or skill, you could snag these top-tier
- headphones!
+ Share your ticket to increase your chances of winning a{' '}
+ <a
+ className="text-foreground hover:underline"
+ href="https://eu.wandrd.com/products/prvke?variant=39360658473002"
+ target="_blank"
+ >
+ Wandrd backpack
+ </a>{' '}
+ and other limited swag.
</p>
</div>
</div>
</div>
}
/>
- <div className="w-full flex flex-col gap-4 items-stretch">
+ <div className="w-full min-h-[400px] flex flex-col gap-4 items-stretch">
<LaunchWeekPrizeCard
- className="flex-grow"
+ className="relative flex-grow"
content={
- <div className="p-4 md:p-6 flex flex-col gap-2 text-sm items-start justify-between h-full">
- <LabelBadge text="30 t-shirts" />
- <p>Supabase T-shirts</p>
- </div>
- }
- />
- <LaunchWeekPrizeCard
- className="flex-grow"
- content={
- <div className="p-4 md:p-6 flex flex-col gap-2 text-sm items-start justify-between h-full">
- <LabelBadge text="25 pins" />
- <p>Supabase Pins</p>
+ <div className="flex flex-col h-full justify-end">
+ <div className="relative flex-grow w-full">
+ <Image
+ src="/images/launchweek/12/world-tour-tshirt.png"
+ alt="Supabase Launch Week 12 World Tour T-Shirt"
+ draggable={false}
+ width={300}
+ height={300}
+ quality={100}
+ className="absolute object-cover inset-0 object-right lg:object-right w-full h-full opacity-100 pointer-events-none"
+ />
+ </div>
+ <div className="relative flex flex-col justify-center w-full gap-1 p-4 md:p-6 bg-surface-75 border-t border-muted">
+ <div className="flex flex-col gap-2">
+ <LabelBadge text="30 t-shirts" />
+ <p>World Tour T-Shirt</p>
+ </div>
+ </div>
</div>
}
/>
diff --git a/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx b/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx
index 16839e794a0..9bc963c648a 100644
--- a/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/BuildStage.tsx
@@ -1,8 +1,8 @@
import React, { FC } from 'react'
-import { buildDays as days } from '~/components/LaunchWeek/11/Releases/data'
+import { buildDays as days } from '~/components/LaunchWeek/12/Releases/data'
import SectionContainer from '~/components/Layouts/SectionContainer'
-import AdventCard from './components/AdventCard'
+import BuildCard from './components/BuildCard'
import { motion, useInView } from 'framer-motion'
import { cn } from 'ui'
@@ -24,7 +24,7 @@ const BuildStage: FC = () => {
return (
<>
- <SectionContainer className="!max-w-none lg:!container lwx-nav-anchor" id="build-stage">
+ <SectionContainer className="!max-w-none lg:!container lw-nav-anchor" id="build-stage">
<h3 className="text-foreground uppercase font-mono pb-4 md:pb-8 text-sm tracking-[0.1rem]">
Build Stage
</h3>
@@ -38,12 +38,12 @@ const BuildStage: FC = () => {
<li
key={`${day.id}-${i}`}
className={cn(
- 'relative flex flex-col w-full aspect-square rounded-xl border border-dashed border-muted bg-surface-100/10 col-span-1',
+ 'relative flex flex-col w-full aspect-square rounded-xl border border-dashed border-strong dark:border-background-surface-300 bg-surface-100/10 col-span-1',
day.className
)}
data-delay={i}
>
- <AdventCard day={day} index={i} />
+ <BuildCard day={day} index={i} />
{!day.is_shipped && (
<div className="absolute m-4 md:m-6 lg:m-8">
<svg
diff --git a/apps/www/components/LaunchWeek/12/Releases/LWHeader.tsx b/apps/www/components/LaunchWeek/12/Releases/LWHeader.tsx
index ce2057c52fb..078f414d49e 100644
--- a/apps/www/components/LaunchWeek/12/Releases/LWHeader.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/LWHeader.tsx
@@ -1,52 +1,27 @@
import React from 'react'
-import { Button, cn } from 'ui'
+import { cn } from 'ui'
import SectionContainer from '~/components/Layouts/SectionContainer'
-// import LW11Background from '../LW11Background'
-import Image from 'next/image'
-import Link from 'next/link'
+import LW12Background from '../LW12Background'
-const LW11Header = ({ className }: { className?: string }) => {
+const LWHeader = ({ className }: { className?: string }) => {
return (
- <div className={cn('relative w-full overflow-visible pt-10 sm:pt-8', className)}>
- <SectionContainer className="h-full flex flex-col items-start gap-4 !max-w-none lg:!container !pb-4 md:!pb-10">
- <Image
- src="/images/launchweek/ga/ga-black.svg"
- alt="GA logo"
- className="dark:hidden w-20 md:w-24 aspect-[104/57] h-auto"
- priority
- quality={100}
- width={300}
- height={300}
- />
- <Image
- src="/images/launchweek/ga/ga-white.svg"
- alt="GA logo"
- className="hidden dark:block w-20 md:w-24 aspect-[104/57] h-auto"
- priority
- quality={100}
- width={300}
- height={300}
- />
- <p className="text-foreground-lighter text-xl md:text-2xl max-w-2xl">
- Supabase is{' '}
- <strong className="text-foreground font-normal">
- officially launching into General Availability
- </strong>
- . <br className="hidden sm:block" /> Join us in this major milestone and explore{' '}
- <br className="hidden sm:block" /> the exciting features that come with it.
- </p>
- <Button asChild size="small" type="alternative">
- <Link href="/ga">Read full announcement</Link>
- </Button>
- </SectionContainer>
+ <div className={cn('relative w-full overflow-hidden pt-10 sm:pt-8', className)}>
<div className="absolute z-0 inset-0 w-full h-full overflow-hidden pointer-events-none">
- <div className="absolute z-0 inset-0 w-full aspect-video">
- {/* <LW11Background className="absolute z-0 inset-0 w-full flex items-center justify-center opacity-100 transition-opacity h-full" /> */}
+ <div className="absolute z-0 inset-0 w-full">
+ <LW12Background className="absolute z-0 inset-0 w-full flex items-center justify-center opacity-100 transition-opacity h-full" />
</div>
- <div className="absolute inset-0 bg-[linear-gradient(to_top,#060809)_0%,transparent_100%)]" />
+ <div className="absolute inset-0 w-full h-full bg-[linear-gradient(to_top,#060809)_0%,transparent_100%)]" />
</div>
+ <SectionContainer className="h-full flex flex-col items-start gap-3 !max-w-none lg:!container !pb-4 md:!pb-10">
+ <h1 className="text-3xl font-medium uppercase">
+ Launch Week <span className="font-mono">12</span>
+ </h1>
+ <p className="text-foreground-lighter md:text-xl max-w-xs md:max-w-md">
+ Join us for a week of new features and find new ways to level up your development
+ </p>
+ </SectionContainer>
</div>
)
}
-export default LW11Header
+export default LWHeader
diff --git a/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx b/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx
index e9ad7f67c10..652ac0a8860 100644
--- a/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/LWStickyNav.tsx
@@ -49,8 +49,8 @@ const LWXStickyNav: FC = () => {
useEffect(() => {
if (!isBrowser) return
- anchors.current = document.querySelectorAll('.lwx-nav-anchor')
- links.current = document.querySelectorAll('.lwx-sticky-nav li a')
+ anchors.current = document.querySelectorAll('.lw-nav-anchor')
+ links.current = document.querySelectorAll('.lw-sticky-nav li a')
window.addEventListener('scroll', handleScroll)
return () => {
@@ -69,10 +69,10 @@ const LWXStickyNav: FC = () => {
return (
<div className="absolute inset-0 pointer-events-none w-full h-full">
- <nav className="sticky z-30 top-0 bg-alternative/90 backdrop-blur-sm pointer-events-auto w-full border-t border-b dark:border-[#111718] h-[60px] flex items-center">
+ <nav className="sticky z-30 top-0 bg-default/90 backdrop-blur-sm pointer-events-auto w-full border-b dark:border-muted h-[60px] flex items-center">
<SectionContainer className="!max-w-none !py-0 lg:!container flex items-center justify-between font-mono gap-4 md:gap-8 text-sm">
- <div className="flex items-center gap-4 md:gap-8">
- <ul className="lwx-sticky-nav hidden md:flex items-center gap-2 md:gap-4 text-foreground-muted">
+ <div className="w-full flex items-center gap-4 md:gap-8">
+ <ul className="w-full lw-sticky-nav flex items-center gap-2 md:gap-4 text-foreground-muted">
{days.map((day: WeekDayProps) => (
<li key={day.id}>
<Link
@@ -97,27 +97,20 @@ const LWXStickyNav: FC = () => {
Build Stage
</Link>
</li>
+ <div className="flex items-center justify-end gap-2 md:gap-4 flex-1">
+ <li>
+ <Link href="#meetups" className="p-1 transition-colors hover:text-foreground">
+ Meetups
+ </Link>
+ </li>
+ <li className="hidden sm:block">
+ <Link href="#ticket" className="p-1 transition-colors hover:text-foreground">
+ Ticket
+ </Link>
+ </li>
+ </div>
</ul>
</div>
- <div>
- {hasTicket && (
- <Link
- href="#ticket"
- className="flex items-center gap-2 text-xs text-foreground-light hover:text-foreground transition-colors"
- >
- {DISPLAY_NAME}'s ticket
- <Image
- src={getTicketIcon()}
- alt=""
- width={24}
- height={24}
- aria-hidden
- className="w-auto h-4 shadow"
- priority
- />
- </Link>
- )}
- </div>
</SectionContainer>
</nav>
</div>
diff --git a/apps/www/components/LaunchWeek/12/Releases/MainStage.tsx b/apps/www/components/LaunchWeek/12/Releases/MainStage.tsx
index 3160999221a..9ba536e95d8 100644
--- a/apps/www/components/LaunchWeek/12/Releases/MainStage.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/MainStage.tsx
@@ -3,23 +3,19 @@ import { mainDays } from './data'
import SectionContainer from '~/components/Layouts/SectionContainer'
import DaySection from './components/DaySection'
-import LW11Day1 from './Day1'
-import HackathonCallout from '../HackathonCallout'
import { cn } from 'ui'
import { useTheme } from 'next-themes'
const MainStage = ({ className }: { className?: string }) => {
const { resolvedTheme } = useTheme()
const isDark = resolvedTheme?.includes('dark')
- const [day1, ...days] = mainDays(isDark!)
+ const days = mainDays(isDark!)
return (
<SectionContainer
className={cn('relative !max-w-none !py-0 lg:!container', className)}
id="main-stage"
>
- <LW11Day1 day={day1} className="!border-t-0" cardClassName="md:-mx-4" />
- <HackathonCallout />
<div>
{days.map((day) => (
<DaySection day={day} key={day.dd} />
diff --git a/apps/www/components/LaunchWeek/12/Releases/components/AdventCard.tsx b/apps/www/components/LaunchWeek/12/Releases/components/BuildCard.tsx
similarity index 97%
rename from apps/www/components/LaunchWeek/12/Releases/components/AdventCard.tsx
rename to apps/www/components/LaunchWeek/12/Releases/components/BuildCard.tsx
index a42199777c2..b85ba5ada34 100644
--- a/apps/www/components/LaunchWeek/12/Releases/components/AdventCard.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/components/BuildCard.tsx
@@ -9,7 +9,7 @@ import { useBreakpoint } from 'common'
import { AdventDay } from '../data'
import { AdventLink } from '../data/lw12_build_stage'
-const AdventCard = ({ day, index }: { day: AdventDay; index: number }) => {
+const BuildCard = ({ day, index }: { day: AdventDay; index: number }) => {
const isTablet = useBreakpoint(1024)
const tiltRef = useRef<HTMLDivElement>(null)
const hiddenRef = useRef<HTMLDivElement>(null)
@@ -116,4 +116,4 @@ const AdventCard = ({ day, index }: { day: AdventDay; index: number }) => {
)
}
-export default AdventCard
+export default BuildCard
diff --git a/apps/www/components/LaunchWeek/12/Releases/components/DaySection.tsx b/apps/www/components/LaunchWeek/12/Releases/components/DaySection.tsx
index 12d88ecfcaf..5be544fd87d 100644
--- a/apps/www/components/LaunchWeek/12/Releases/components/DaySection.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/components/DaySection.tsx
@@ -1,8 +1,8 @@
-import React, { useEffect, useState } from 'react'
+import React from 'react'
import Link from 'next/link'
import Image from 'next/image'
import { ArrowRightIcon } from '@heroicons/react/outline'
-import { cn } from 'ui'
+import { cn, Skeleton } from 'ui'
import { Edit } from 'lucide-react'
import { useBreakpoint } from 'common'
@@ -14,19 +14,11 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
const isMobile = useBreakpoint(639)
const cssGroup = 'group/d' + day.d
- const [isMounted, setMounted] = useState(false)
-
- useEffect(() => {
- setMounted(true)
- }, [])
-
- if (!isMounted) return null
-
return (
<section
id={day.id}
className={cn(
- 'lwx-nav-anchor border-b py-8 first:border-t dark:border-[#111718] text-foreground dark:text-[#575E61] scroll-mt-16 grid grid-cols-1 gap-4 md:grid-cols-3',
+ 'lw-nav-anchor border-b py-8 first:border-t border-muted dark:border-muted/50 text-foreground scroll-mt-16 grid grid-cols-1 gap-4 md:grid-cols-4 xl:grid-cols-3',
className
)}
>
@@ -55,7 +47,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
</div>
{/* Day card */}
- <div className="flex col-span-2">
+ <div className="flex md:col-span-3 xl:col-span-2">
{day.shipped && day.steps.length > 0 ? (
<Link
href={day.blog!}
@@ -68,7 +60,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
cssGroup
)}
>
- <div className="relative text-foreground-light p-4 sm:p-6 md:p-8 z-20 flex-grow flex flex-col items-start justify-between gap-2 w-full lg:w-1/2 text-left">
+ <div className="relative text-foreground-light p-4 sm:px-6 md:py-6 md:px-8 z-20 flex-grow flex flex-col items-start justify-between gap-2 w-full lg:w-1/2 text-left">
<div className="relative w-full flex items-center gap-2 text-sm translate-x-0 !ease-[.24,0,.22,.99] duration-200 group-hover:-translate-x-6 transition-transform">
<Edit className="w-4 min-w-4 group-hover:opacity-0 transition-opacity" />
<span>Blog post</span>
@@ -80,9 +72,9 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
</div>
<div className="relative z-10 border-b border-muted/40 sm:border-none w-full order-first aspect-[2/1] sm:aspect-auto sm:absolute sm:inset-0">
{day.steps[0]?.bg_layers &&
- day.steps[0]?.bg_layers?.map(
- (layer, i) =>
- !!layer.img && (
+ day.steps[0]?.bg_layers?.map((layer, i) => (
+ <>
+ {!!layer.img && (
<div
key={`${day.title}-image-${i}`}
className="absolute sm:opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100"
@@ -90,7 +82,7 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
<Image
src={!!layer.mobileImg && isMobile ? layer.mobileImg : layer.img}
className={`
- absolute md:opacity-50 lg:opacity-100 object-cover
+ hidden dark:block absolute md:opacity-50 lg:opacity-100 object-cover
w-full h-full z-0 transition-all duration-300
object-center sm:object-right
`}
@@ -100,15 +92,39 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
alt={day.title}
/>
</div>
- )
- )}
+ )}
+ {!!layer.imgLight && (
+ <div
+ key={`${day.title}-image-${i}`}
+ className="absolute sm:opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100"
+ >
+ <Image
+ src={
+ !!layer.mobileImgLight && isMobile
+ ? layer.mobileImgLight
+ : layer.imgLight
+ }
+ className={`
+ dark:hidden absolute md:opacity-50 lg:opacity-100 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>
</Link>
) : (
<div
className={cn(
- `min-h-[210px] group aspect-[3.67/1] relative overflow-hidden flex-1 flex flex-col justify-end
- bg-surface-100/10 border border-dashed border-strong dark:border-[#14191B] dark:text-[#8B9092]
+ `min-h-[210px] group aspect-[3.67/1] relative overflow-hidden flex-1 flex flex-col justify-between
+ bg-default border border-dashed border-strong dark:border-background-surface-300
rounded-xl p-4 sm:p-6 md:p-8 text-2xl bg-contain`,
cssGroup
)}
@@ -132,6 +148,9 @@ const DaySection = ({ day, className }: { day: WeekDayProps; className?: string
</svg>
{day.hasCountdown && <CountdownComponent date={day.published_at} showCard={false} />}
</div>
+ <div>
+ <Skeleton className="w-full h-3 max-w-xs rounded-full will-change-contents" />
+ </div>
</div>
)}
</div>
diff --git a/apps/www/components/LaunchWeek/12/Releases/data/lw12_build_stage.tsx b/apps/www/components/LaunchWeek/12/Releases/data/lw12_build_stage.tsx
index 614827ef665..1d84063d291 100644
--- a/apps/www/components/LaunchWeek/12/Releases/data/lw12_build_stage.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/data/lw12_build_stage.tsx
@@ -1,10 +1,11 @@
// see apps/www/components/LaunchWeek/X/Releases/data/lwx_advent_days.tsx for reference
import { ReactNode } from 'react'
+import { type ClassValue } from 'clsx'
export interface AdventDay {
icon?: ReactNode // use svg jsx with 34x34px viewport
- className?: string
+ className?: ClassValue | string
id: string
title: string
description?: string
@@ -23,268 +24,121 @@ export interface AdventLink {
export const days: AdventDay[] = [
{
- title: 'PostgreSQL Index Advisor',
- description: 'A PostgreSQL extension for recommending indexes to improve query performance.',
- id: 'pg-index-advisor',
+ title: 'GitHub Copilot',
+ description: 'Database Migrations for VS Code',
+ id: 'github-copilot',
is_shipped: true,
links: [
{
- url: 'https://github.com/supabase/index_advisor',
- label: 'Learn more',
+ url: '/blog/github-copilot-extension-for-vs-code',
+ label: 'Blog post',
target: '_blank',
},
],
icon: (
<svg
- width="34"
- height="32"
- viewBox="0 0 34 32"
+ width="50"
+ height="51"
+ viewBox="0 0 50 51"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M3.43881 3.75378C4.10721 1.93324 5.84055 0.723145 7.77992 0.723145H15.6033V0.734736H17.0394C23.8756 0.734736 29.4173 6.27652 29.4173 13.1127V20.1749C29.4173 20.7272 28.9696 21.1749 28.4173 21.1749C27.8651 21.1749 27.4173 20.7272 27.4173 20.1749V13.1127C27.4173 7.38109 22.771 2.73474 17.0394 2.73474H15.4396C15.3877 2.73474 15.3366 2.73078 15.2868 2.72314H7.77992C6.6793 2.72314 5.6956 3.40989 5.31627 4.44308L2.7812 11.3479C2.37375 12.4577 2.69516 13.7038 3.58855 14.4781L5.32807 15.9856C6.12772 16.6786 6.58711 17.6847 6.58709 18.7428L6.58706 21.5134C6.58702 23.8192 8.45627 25.6885 10.7621 25.6885C11.4007 25.6885 11.9184 25.1708 11.9184 24.5322L11.9185 12.1874C11.9185 9.59233 12.955 7.10481 14.7977 5.27761C15.1899 4.88873 15.823 4.8914 16.2119 5.28357C16.6008 5.67574 16.5981 6.3089 16.2059 6.69777C14.742 8.14943 13.9185 10.1257 13.9185 12.1874L13.9184 24.5323C13.9184 26.2754 12.5053 27.6885 10.7621 27.6885C7.35169 27.6885 4.58701 24.9238 4.58706 21.5134L4.58709 18.7428C4.5871 18.2647 4.37953 17.8101 4.01822 17.497L2.27871 15.9894C0.757203 14.6708 0.209829 12.5486 0.90374 10.6586L3.43881 3.75378ZM16.539 18.5225C17.0348 18.2791 17.634 18.4838 17.8773 18.9796C19.1969 21.6686 21.9313 23.3727 24.9267 23.3726L32.8043 23.3726C33.3566 23.3725 33.8043 23.8203 33.8043 24.3725C33.8044 24.9248 33.3566 25.3725 32.8044 25.3726L29.4081 25.3726C29.4142 25.4172 29.4173 25.4628 29.4173 25.5091C29.4173 29.0627 26.1868 31.4165 22.6091 31.4165C19.2966 31.4165 16.5385 29.0518 15.9271 25.9188C15.8213 25.3767 16.175 24.8516 16.717 24.7458C17.2591 24.64 17.7843 24.9936 17.89 25.5357C18.3217 27.7475 20.2716 29.4165 22.6091 29.4165C25.447 29.4165 27.4173 27.6256 27.4173 25.5091C27.4173 25.4628 27.4205 25.4172 27.4266 25.3726L24.9267 25.3726C21.1684 25.3727 17.7375 23.2346 16.0818 19.8607C15.8385 19.3649 16.0432 18.7658 16.539 18.5225Z"
+ d="M24.7479 40.9242C14.6856 40.9242 7.38264 34.4969 7.10693 32.6552V28.3586C7.29442 26.9734 8.60017 24.6398 10.6095 23.8039C10.6382 23.6495 10.6625 23.4885 10.6889 23.323C10.7529 22.9194 10.8213 22.4761 10.9668 21.9732C10.5235 20.8527 10.4066 19.5822 10.4066 18.3206C10.4066 16.4017 10.6889 14.4188 11.9351 12.8417C13.2122 11.225 15.2304 10.3625 17.9434 10.0604C20.6034 9.7648 22.9326 10.1354 24.4369 11.7477C24.5471 11.8646 24.6486 11.9859 24.7434 12.1116C24.8405 11.9859 24.9508 11.8646 25.0589 11.7477C26.5631 10.1354 28.8923 9.7648 31.5523 10.0604C34.2653 10.3625 36.2835 11.225 37.5606 12.8417C38.809 14.4188 39.0891 16.4017 39.0891 18.3206C39.0891 19.5822 38.9722 20.8527 38.5289 21.9732C38.6744 22.4761 38.745 22.9194 38.8068 23.323C38.8332 23.4907 38.8597 23.6495 38.8884 23.8039C40.9264 24.653 42.2454 27.0484 42.3976 28.4247V32.5537C42.3976 34.2433 35.0064 40.9242 24.7479 40.9242ZM24.7479 37.6488C29.7768 37.6488 34.8586 35.2005 35.7806 34.4881V25.103L35.7299 24.8471C34.6491 25.3103 33.3588 25.489 31.9207 25.489C29.393 25.489 27.3792 24.7677 25.9433 23.3032C25.4701 22.8166 25.069 22.2647 24.7523 21.6644C24.4324 22.265 24.0283 22.8168 23.5524 23.3032C22.1187 24.7677 20.1049 25.489 17.575 25.489C16.1369 25.489 14.8488 25.3103 13.7658 24.8471L13.7151 25.103V34.4881C14.6393 35.2005 19.7189 37.6488 24.7479 37.6488ZM22.0216 14.0041C21.596 13.5497 20.6166 13.0932 18.3117 13.349C16.0641 13.5983 15.0495 14.2401 14.5334 14.893C13.9886 15.5811 13.7195 16.6332 13.7195 18.3206C13.7195 20.0697 14.0041 20.9034 14.3989 21.3446C14.7562 21.7438 15.5436 22.1805 17.5794 22.1805C19.4609 22.1805 20.5328 21.6622 21.1923 20.9894C21.8871 20.2792 22.3547 19.1654 22.5532 17.564C22.8113 15.5017 22.4716 14.4871 22.0216 14.0041ZM31.1862 13.349C28.8835 13.0932 27.9042 13.5497 27.4785 14.0041C27.0285 14.4871 26.6866 15.5017 26.9447 17.564C27.1454 19.1654 27.613 20.2792 28.3078 20.9894C28.9673 21.6622 30.037 22.1805 31.9207 22.1805C33.9543 22.1805 34.7439 21.7438 35.1013 21.3446C35.4961 20.9034 35.7806 20.0697 35.7806 18.3206C35.7806 16.6332 35.5093 15.5811 34.9645 14.893C34.4506 14.2401 33.436 13.5983 31.1862 13.349Z"
fill="hsl(var(--foreground-light))"
/>
<path
- d="M21.7224 13.0006C21.7224 13.6338 22.2358 14.1472 22.869 14.1472C23.5022 14.1472 24.0156 13.6338 24.0156 13.0006C24.0156 12.3674 23.5022 11.854 22.869 11.854C22.2358 11.854 21.7224 12.3674 21.7224 13.0006Z"
+ d="M20.8923 27.6947C21.3311 27.6947 21.7518 27.869 22.0621 28.1792C22.3723 28.4894 22.5466 28.9102 22.5466 29.3489V32.6596C22.5466 33.0984 22.3723 33.5191 22.0621 33.8293C21.7518 34.1396 21.3311 34.3139 20.8923 34.3139C20.4536 34.3139 20.0328 34.1396 19.7226 33.8293C19.4124 33.5191 19.2381 33.0984 19.2381 32.6596V29.3489C19.2381 28.9102 19.4124 28.4894 19.7226 28.1792C20.0328 27.869 20.4536 27.6947 20.8923 27.6947ZM30.2664 29.3489V32.6596C30.2664 33.0984 30.0921 33.5191 29.7819 33.8293C29.4717 34.1396 29.0509 34.3139 28.6122 34.3139C28.1734 34.3139 27.7527 34.1396 27.4425 33.8293C27.1322 33.5191 26.9579 33.0984 26.9579 32.6596V29.3489C26.9579 28.9102 27.1322 28.4894 27.4425 28.1792C27.7527 27.869 28.1734 27.6947 28.6122 27.6947C29.0509 27.6947 29.4717 27.869 29.7819 28.1792C30.0921 28.4894 30.2664 28.9102 30.2664 29.3489Z"
fill="hsl(var(--foreground-light))"
/>
</svg>
),
},
{
- title: 'Branching now Publicly Available',
- description: 'Supabase Branching is now available on Pro Plan and above.',
- id: 'branching',
+ title: 'pg_graphql ',
+ description: 'Version update 1.5.7',
+ id: 'pg-graphql',
is_shipped: true,
- icon: (
- <svg
- width="31"
- height="21"
- viewBox="0 0 31 21"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M25.8657 12.5851C24.9374 12.5878 24.0363 12.8984 23.3035 13.4682C22.5707 14.038 22.0477 14.8349 21.8164 15.7339H17.469C16.6342 15.733 15.8338 15.4009 15.2435 14.8106C14.6532 14.2203 14.3211 13.4199 14.3202 12.5851V8.38674C14.3162 7.24753 13.938 6.1412 13.2437 5.23796H21.8164C22.0718 6.22737 22.6794 7.08964 23.5251 7.66315C24.3709 8.23666 25.3967 8.48203 26.4104 8.35327C27.4242 8.22452 28.3561 7.73047 29.0316 6.96374C29.7071 6.197 30.0798 5.21023 30.0798 4.18837C30.0798 3.16652 29.7071 2.17974 29.0316 1.41301C28.3561 0.646277 27.4242 0.152228 26.4104 0.0234703C25.3967 -0.105288 24.3709 0.140085 23.5251 0.713594C22.6794 1.2871 22.0718 2.14938 21.8164 3.13878H8.9232C8.66774 2.14938 8.0602 1.2871 7.21446 0.713594C6.36872 0.140085 5.34285 -0.105288 4.32914 0.0234703C3.31543 0.152228 2.38348 0.646277 1.70798 1.41301C1.03247 2.17974 0.65979 3.16652 0.65979 4.18837C0.65979 5.21023 1.03247 6.197 1.70798 6.96374C2.38348 7.73047 3.31543 8.22452 4.32914 8.35327C5.34285 8.48203 6.36872 8.23666 7.21446 7.66315C8.0602 7.08964 8.66774 6.22737 8.9232 5.23796H9.07225C9.90707 5.23888 10.7074 5.57092 11.2978 6.16123C11.8881 6.75154 12.2201 7.55191 12.221 8.38674V12.5851C12.2227 13.9764 12.7761 15.3103 13.7599 16.2942C14.7437 17.278 16.0776 17.8314 17.469 17.8331H21.8164C22.014 18.5916 22.4203 19.2796 22.9892 19.8188C23.5581 20.3581 24.2669 20.727 25.035 20.8836C25.803 21.0403 26.5996 20.9784 27.3343 20.7051C28.069 20.4317 28.7123 19.9578 29.1911 19.3372C29.67 18.7166 29.9652 17.9741 30.0433 17.1942C30.1214 16.4142 29.9792 15.6279 29.6329 14.9247C29.2865 14.2215 28.7499 13.6295 28.084 13.2159C27.4181 12.8024 26.6496 12.5838 25.8657 12.5851ZM25.8657 2.08919C26.2809 2.08919 26.6867 2.21231 27.032 2.44297C27.3772 2.67363 27.6462 3.00148 27.8051 3.38505C27.964 3.76863 28.0056 4.1907 27.9246 4.5979C27.8436 5.0051 27.6436 5.37914 27.3501 5.67272C27.0565 5.96629 26.6824 6.16622 26.2752 6.24722C25.868 6.32822 25.446 6.28665 25.0624 6.12776C24.6788 5.96888 24.351 5.69982 24.1203 5.35462C23.8896 5.00941 23.7665 4.60355 23.7665 4.18837C23.7672 3.63183 23.9885 3.09827 24.3821 2.70473C24.7756 2.3112 25.3092 2.08983 25.8657 2.08919ZM4.87388 6.28755C4.4587 6.28755 4.05285 6.16444 3.70764 5.93378C3.36243 5.70312 3.09337 5.37527 2.93449 4.99169C2.77561 4.60812 2.73404 4.18604 2.81503 3.77884C2.89603 3.37164 3.09596 2.9976 3.38954 2.70403C3.68311 2.41045 4.05715 2.21052 4.46435 2.12953C4.87155 2.04853 5.29363 2.0901 5.6772 2.24898C6.06078 2.40786 6.38863 2.67692 6.61929 3.02213C6.84995 3.36734 6.97306 3.77319 6.97306 4.18837C6.97251 4.74494 6.75117 5.27855 6.35761 5.6721C5.96406 6.06566 5.43045 6.287 4.87388 6.28755ZM25.8657 18.8826C25.4505 18.8826 25.0447 18.7595 24.6995 18.5289C24.3543 18.2982 24.0852 17.9704 23.9263 17.5868C23.7674 17.2032 23.7259 16.7811 23.8069 16.3739C23.8879 15.9667 24.0878 15.5927 24.3814 15.2991C24.6749 15.0055 25.049 14.8056 25.4562 14.7246C25.8634 14.6436 26.2855 14.6852 26.669 14.8441C27.0526 15.003 27.3805 15.272 27.6111 15.6172C27.8418 15.9624 27.9649 16.3683 27.9649 16.7835C27.9641 17.34 27.7427 17.8735 27.3492 18.267C26.9557 18.6605 26.4222 18.8819 25.8657 18.8826Z"
- fill="currentColor"
- />
- </svg>
- ),
links: [
{
- url: '/blog/branching-publicly-available',
- label: 'Blog post',
- target: '_blank',
- },
- ],
- },
- {
- title: 'Oriole joins Supabase',
- description:
- 'The Oriole team are joining Supabase to build a faster storage engine for Postgres.',
- id: 'oriole',
- is_shipped: true,
- links: [
- {
- url: '/blog/supabase-acquires-oriole',
- label: 'Blog post',
+ url: 'https://news.ycombinator.com/item?id=41209994',
+ label: 'Hacker News',
target: '_blank',
},
],
icon: (
<svg
- width="49"
- height="50"
- viewBox="0 0 49 50"
+ width="50"
+ height="51"
+ viewBox="0 0 50 51"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
- d="M32.3419 16.1687C26.9198 19.0762 22.2245 19.1919 20.5547 18.8863C24.0908 22.894 28.1618 23.1755 29.7552 22.8152C37.4684 22.442 40.855 13.0158 48.2546 13.2545C46.6043 11.4734 44.4237 11.05 43.5397 11.0609C39.6868 10.8581 35.3857 14.269 32.3419 16.1687Z"
- fill="hsl(var(--foreground-light))"
- />
- <path
- d="M12.6959 13.353C17.8299 18.0154 25.4872 16.6927 28.6741 15.4485C25.7928 15.1342 22.0602 11.6504 20.554 9.94776C15.0031 4.03282 7.47323 1.59481 0.253906 6.21518C4.37942 6.80454 6.27846 7.52486 12.6959 13.353Z"
- fill="hsl(var(--foreground-light))"
- />
- <path
- d="M24.5485 2.22059C21.6148 -0.555946 15.8172 0.496169 13.2852 1.36929C17.4762 1.36929 22.8022 7.61206 24.9414 10.7334C27.6059 14.037 30.8974 13.9871 32.2101 13.5493C31.1624 12.8158 29.7217 10.1441 29.1324 8.89988C27.194 5.18037 25.2688 2.89722 24.5485 2.22059Z"
- fill="hsl(var(--foreground-light))"
- />
- <path
- d="M31.1956 7.73838C30.7536 5.49555 28.9582 3.13734 27.8886 1.82766C30.4359 1.82766 35.7101 3.85375 34.6335 7.26286C34.162 9.88223 34.0878 12.196 34.1096 13.0255C32.3809 11.7158 31.4532 9.04546 31.1956 7.73838Z"
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M21.5041 40.1025L13.6825 35.5864C13.0664 36.2311 12.1981 36.6327 11.236 36.6327C9.36739 36.6327 7.85254 35.1178 7.85254 33.249C7.85254 31.6553 8.95417 30.319 10.4374 29.9601V20.9318C8.95417 20.5728 7.85254 19.2365 7.85254 17.6429C7.85254 15.7741 9.36739 14.2592 11.236 14.2592C12.1981 14.2592 13.0664 14.6607 13.6825 15.3054L21.5041 10.7893C21.4162 10.488 21.369 10.1693 21.369 9.83964C21.369 7.97087 22.8839 6.45593 24.7525 6.45593C26.6212 6.45593 28.136 7.97087 28.136 9.83964C28.136 10.1684 28.0891 10.4862 28.0017 10.7867L35.8244 15.3034C36.4403 14.6598 37.3078 14.2591 38.269 14.2591C40.1376 14.2591 41.6525 15.774 41.6525 17.6428C41.6525 19.2345 40.5535 20.5695 39.0729 20.9304V29.9614C40.5535 30.3222 41.6525 31.6573 41.6525 33.249C41.6525 35.1178 40.1376 36.6327 38.269 36.6327C37.3079 36.6327 36.4404 36.2319 35.8244 35.5884L28.0017 40.1051C28.0891 40.4056 28.136 40.7234 28.136 41.0521C28.136 42.9209 26.6212 44.4358 24.7525 44.4358C22.8839 44.4358 21.369 42.9209 21.369 41.0521C21.369 40.7224 21.4162 40.4038 21.5041 40.1025ZM24.7525 13.2233C25.0825 13.2233 25.4014 13.1761 25.7029 13.088L35.9304 30.8036C35.4718 31.2423 35.1365 31.8087 34.9814 32.4457H14.5236C14.3689 31.8103 14.0348 31.2451 13.578 30.8069L23.8066 13.0894C24.1068 13.1766 24.4242 13.2233 24.7525 13.2233ZM14.5236 34.0523C14.5119 34.1003 14.4992 34.1479 14.4855 34.195L22.3087 38.7119C22.9246 38.0689 23.7918 37.6684 24.7525 37.6684C25.7142 37.6684 26.5822 38.0697 27.1983 38.7139L35.0202 34.1976C35.0063 34.1496 34.9933 34.1012 34.9814 34.0523H14.5236ZM12.0439 20.9295C13.5225 20.5673 14.6195 19.2332 14.6195 17.6429C14.6195 17.3145 14.5728 16.9971 14.4855 16.6969L22.3087 12.1799C22.3435 12.2161 22.379 12.2516 22.4153 12.2863L12.1882 30.0011C12.1405 29.9871 12.0924 29.9742 12.0439 29.9623V20.9295ZM37.3214 29.9998C37.3693 29.9858 37.4177 29.9729 37.4664 29.961V20.9307C35.9852 20.5704 34.8855 19.235 34.8855 17.6428C34.8855 17.3135 34.9325 16.9952 35.0202 16.6942L27.1982 12.1779C27.164 12.2137 27.1289 12.2488 27.0932 12.283L37.3214 29.9998Z"
fill="hsl(var(--foreground-light))"
/>
</svg>
),
},
{
- title: 'Supabase on AWS Marketplace',
- description:
- 'Supabase is now available on the AWS Marketplace, Simplifying Procurement for Enterprise Customers.',
- id: 'aws-marketplace',
- is_shipped: true,
- icon: (
- <svg
- width="41"
- height="33"
- viewBox="0 0 41 33"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M9.00976 32.2636C10.4187 32.2636 11.5609 31.1214 11.5609 29.7124C11.5609 28.3035 10.4187 27.1613 9.00976 27.1613C7.6008 27.1613 6.45862 28.3035 6.45862 29.7124C6.45862 31.1214 7.6008 32.2636 9.00976 32.2636Z"
- fill="currentColor"
- />
- <path
- d="M23.6109 32.2636C25.0199 32.2636 26.1621 31.1214 26.1621 29.7124C26.1621 28.3035 25.0199 27.1613 23.6109 27.1613C22.202 27.1613 21.0598 28.3035 21.0598 29.7124C21.0598 31.1214 22.202 32.2636 23.6109 32.2636Z"
- fill="currentColor"
- />
- <path
- d="M40.1662 6.15511H28.876L24.3709 21.5705H7.92416L5.1559 12.5058H0.813538L5.26446 26.0214H27.0305L32.0785 9.62901H40.1662V6.15511Z"
- fill="currentColor"
- />
- <path
- d="M16.7175 8.92336L21.6026 11.2031L26.4878 3.38686H16.7175V8.92336Z"
- fill="currentColor"
- />
- <path
- d="M26.4878 8.92336L21.6026 11.2031V3.44114L26.4878 3.38686V8.92336Z"
- fill="currentColor"
- />
- <path
- d="M21.6027 0.889999L16.7175 3.38685L21.6027 5.61232L26.4878 3.38685L21.6027 0.889999Z"
- fill="currentColor"
- />
- <path
- d="M5.64447 8.92336L10.4753 11.2031L15.4148 3.38686H5.64447V8.92336Z"
- fill="currentColor"
- />
- <path d="M15.4148 8.92336L10.4754 11.2031V3.38686H15.4148V8.92336Z" fill="currentColor" />
- <path
- d="M10.4753 0.889999L5.64444 3.38685L10.4753 5.61232L15.4148 3.38685L10.4753 0.889999Z"
- fill="currentColor"
- />
- <path
- d="M11.1809 18.0423L16.0661 20.3221L20.9513 12.343H11.1809V18.0423Z"
- fill="currentColor"
- />
- <path d="M20.9513 18.0423L16.0661 20.3221V12.343H20.9513V18.0423Z" fill="currentColor" />
- <path
- d="M16.0661 10.0632L20.9513 12.343L16.0661 14.7313L11.181 12.343L16.0661 10.0632Z"
- fill="currentColor"
- />
- </svg>
- ),
- links: [
- {
- url: '/blog/supabase-aws-marketplace',
- label: 'Blog post',
- target: '_blank',
- },
- ],
+ title: '',
+ description: '',
+ id: '',
+ is_shipped: false,
+ links: [],
+ icon: null,
},
{
- title: 'Supabase Bootstrap',
- description:
- 'Launch a new hosted Supabase project directly from the CLI using pre-built applications.',
- id: 'supabase-bootstrap',
- is_shipped: true,
- icon: (
- <svg
- width="37"
- height="37"
- viewBox="0 0 37 37"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M9.17327 36.1237C8.80564 36.1237 8.44388 36.0998 8.08939 36.0536L8.01632 36.6138C7.23514 36.5119 6.48595 36.3082 5.7825 36.0165L5.9989 35.4946C5.32499 35.2152 4.69568 34.8493 4.12483 34.4106L3.78061 34.8585C3.16696 34.387 2.61683 33.8368 2.14527 33.2232L2.59321 32.879C2.15454 32.3081 1.78864 31.6788 1.50918 31.0049L0.987341 31.2213C0.695631 30.5179 0.491954 29.7687 0.390057 28.9875L0.95024 28.9144C0.904 28.5599 0.880114 28.1982 0.880114 27.8305V26.6573H0.315186V24.3107H0.880114V21.9642H0.315186V19.6176H0.880114V17.2711H0.315186V14.9246H0.880114V12.578H0.315186V10.2315H0.880114V9.05822C0.880114 8.69059 0.904 8.32883 0.95024 7.97434L0.390057 7.90127C0.491954 7.12009 0.69563 6.3709 0.987342 5.66745L1.50918 5.88385C1.78864 5.20994 2.15454 4.58063 2.59321 4.00978L2.14527 3.66556C2.61683 3.05191 3.16696 2.50178 3.78061 2.03022L4.12484 2.47816C4.69568 2.03949 5.325 1.67359 5.9989 1.39413L5.7825 0.87229C6.48596 0.580579 7.23515 0.376903 8.01632 0.275005L8.08939 0.835189C8.44388 0.788948 8.80565 0.765063 9.17327 0.765063H10.3465V0.200134H12.6931V0.765063H15.0396V0.200134H17.3862V0.765063H19.7327V0.200134H22.0792V0.765063H24.4258V0.200134H26.7723V0.765063H27.9456C28.3132 0.765063 28.675 0.788948 29.0295 0.835189L29.1025 0.275005C29.8837 0.376903 30.6329 0.58058 31.3364 0.872291L31.12 1.39413C31.7939 1.67359 32.4232 2.03949 32.994 2.47816L33.3383 2.03022C33.9519 2.50178 34.502 3.05191 34.9736 3.66556L34.5257 4.00978C34.9643 4.58063 35.3302 5.20994 35.6097 5.88385L36.1315 5.66745C36.4232 6.37091 36.6269 7.12009 36.7288 7.90127L36.1686 7.97434C36.2149 8.32883 36.2387 8.69059 36.2387 9.05822V10.2315H36.8037V12.578H36.2387V14.9246H36.8037V17.2711H36.2387V19.6177H36.8037V21.9642H36.2387V24.3107H36.8037V26.6573H36.2387V27.8305C36.2387 28.1982 36.2149 28.5599 36.1686 28.9144L36.7288 28.9875C36.6269 29.7687 36.4232 30.5179 36.1315 31.2213L35.6097 31.0049C35.3302 31.6788 34.9643 32.3081 34.5256 32.879L34.9736 33.2232C34.502 33.8369 33.9519 34.387 33.3383 34.8585L32.994 34.4106C32.4232 34.8493 31.7939 35.2152 31.12 35.4946L31.3364 36.0165C30.6329 36.3082 29.8837 36.5119 29.1025 36.6138L29.0295 36.0536C28.675 36.0998 28.3132 36.1237 27.9456 36.1237H26.7723V36.6886H24.4258V36.1237H22.0792V36.6886H19.7327V36.1237H17.3862V36.6886H15.0396V36.1237H12.6931V36.6886H10.3465V36.1237H9.17327Z"
- stroke="currentColor"
- strokeWidth="1.12986"
- strokeDasharray="2.26 2.26"
- />
- <path
- d="M9.26641 19.2458V19.3588H9.37939C9.97925 19.3588 10.5345 19.4987 10.9374 19.817C11.3359 20.1319 11.5997 20.6326 11.5997 21.3882V24.273C11.5997 25.606 11.9385 26.6254 12.6104 27.3112C13.2828 27.9973 14.2709 28.3314 15.5309 28.3314H15.8066H15.9196V28.2184V26.6275V26.5146H15.8066H15.5309C14.7589 26.5146 14.2791 26.3472 13.9872 26.0195C13.6924 25.6884 13.5651 25.1676 13.5651 24.4003V20.9427C13.5651 20.2088 13.3456 19.5929 12.9437 19.1269C12.63 18.7631 12.2096 18.4957 11.7071 18.3337C12.2096 18.1716 12.63 17.9042 12.9437 17.5404C13.3456 17.0744 13.5651 16.4585 13.5651 15.7246V12.2458C13.5651 11.4785 13.6924 10.9577 13.9872 10.6266C14.2791 10.2989 14.7589 10.1315 15.5309 10.1315H15.8066H15.9196V10.0185V8.42764V8.31466H15.8066H15.5309C14.2709 8.31466 13.2828 8.64876 12.6104 9.33493C11.9385 10.0207 11.5997 11.0401 11.5997 12.3731V15.2791C11.5997 16.0347 11.3359 16.5354 10.9374 16.8503C10.5345 17.1686 9.97925 17.3085 9.37939 17.3085H9.26641V17.4215V19.2458ZM27.8522 17.4215V17.3085H27.7392C27.1394 17.3085 26.5841 17.1686 26.1812 16.8503C25.7827 16.5354 25.5189 16.0347 25.5189 15.2791V12.3731C25.5189 11.0401 25.1802 10.0207 24.5082 9.33493C23.8359 8.64876 22.8477 8.31466 21.5877 8.31466H21.312H21.199V8.42764V10.0185V10.1315H21.312H21.5877C22.3598 10.1315 22.8395 10.2989 23.1314 10.6266C23.4262 10.9577 23.5535 11.4785 23.5535 12.2458V15.7246C23.5535 16.4585 23.7731 17.0744 24.1749 17.5404C24.4886 17.9042 24.909 18.1716 25.4115 18.3337C24.909 18.4957 24.4886 18.7631 24.1749 19.1269C23.7731 19.5929 23.5535 20.2088 23.5535 20.9427V24.4003C23.5535 25.1676 23.4262 25.6884 23.1314 26.0195C22.8395 26.3472 22.3598 26.5146 21.5877 26.5146H21.312H21.199V26.6275V28.2184V28.3314H21.312H21.5877C22.8477 28.3314 23.8359 27.9973 24.5082 27.3112C25.1802 26.6254 25.5189 25.606 25.5189 24.273V21.3882C25.5189 20.6326 25.7827 20.1319 26.1812 19.817C26.5841 19.4987 27.1394 19.3588 27.7392 19.3588H27.8522V19.2458V17.4215Z"
- fill="currentColor"
- stroke="currentColor"
- strokeWidth="0.225972"
- />
- </svg>
- ),
- links: [
- {
- url: '/blog/supabase-bootstrap',
- label: 'Blog post',
- target: '_blank',
- },
- ],
+ title: '',
+ description: '',
+ id: '',
+ is_shipped: false,
+ links: [],
+ icon: null,
},
{
- title: 'Supabase Swift',
- description: 'Supabase Swift is now officially supported.',
- id: 'supabase-swift',
- is_shipped: true,
- icon: (
- <svg
- width="37"
- height="37"
- viewBox="0 0 37 37"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M36.5368 9.18927V27.6498C36.5368 28.4764 36.4679 29.2685 36.3301 30.0607C36.1924 30.8528 35.9513 31.6105 35.5724 32.3338C35.1936 33.0226 34.7458 33.677 34.1603 34.2625C33.6093 34.848 32.9549 35.2957 32.2316 35.6746C31.5083 36.0535 30.7506 36.2945 29.9585 36.4323C29.1775 36.5681 28.3631 36.6035 27.5812 36.6375L27.5476 36.639H9.05265C8.22606 36.639 7.43391 36.5701 6.64176 36.4323C5.84961 36.2945 5.0919 36.0535 4.36863 35.6746C3.67981 35.2957 3.02543 34.848 2.43993 34.2625C1.85443 33.7114 1.40669 33.0571 1.02783 32.3338C0.648979 31.6105 0.407891 30.8528 0.270126 30.0607C0.134298 29.2797 0.0989065 28.4652 0.0649292 27.6832L0.0634766 27.6498V9.15483C0.0979178 8.32824 0.132361 7.53609 0.270126 6.74394C0.407891 5.95179 0.648979 5.19408 1.02783 4.47082C1.40669 3.78199 1.85443 3.12761 2.43993 2.54211C2.50881 2.47322 2.5863 2.40434 2.66379 2.33546C2.74128 2.26658 2.81878 2.1977 2.88766 2.12882C3.36984 1.74996 3.85202 1.40555 4.40308 1.13002C4.48918 1.09558 4.58389 1.05253 4.67861 1.00947C4.77332 0.966423 4.86803 0.92337 4.95413 0.888929C5.50519 0.682281 6.0907 0.510077 6.6762 0.406753C7.24546 0.306296 7.84728 0.270952 8.41835 0.237415C8.43464 0.236458 8.45091 0.235502 8.46715 0.234547C8.63935 0.200106 8.846 0.200104 9.05265 0.200104H27.5476C28.3742 0.200104 29.1663 0.268988 29.9585 0.406753C30.7506 0.544518 31.5083 0.785601 32.2316 1.16445C32.9204 1.54331 33.5748 1.99105 34.1603 2.57655C34.7458 3.12761 35.1936 3.78199 35.5724 4.50526C35.9513 5.22853 36.1924 5.98624 36.3301 6.77839C36.4659 7.55938 36.5013 8.37386 36.5353 9.1558L36.5368 9.18927ZM29.0286 22.3114L28.9253 22.7247C32.0939 26.5821 31.2328 30.7151 30.7507 29.9918C29.0975 26.8232 26.0666 27.6153 24.5168 28.4075C24.4479 28.4419 24.379 28.485 24.3101 28.528C24.2413 28.5711 24.1724 28.6141 24.1035 28.6486C24.1035 28.683 24.0691 28.683 24.0691 28.683C20.866 30.4051 16.5264 30.5084 12.1868 28.6486C8.53605 27.0643 5.53966 24.3779 3.61095 21.2782C4.60974 22.0014 5.67742 22.6558 6.81399 23.1724C11.3947 25.3422 16.0098 25.17 19.2817 23.1724C14.6322 19.5905 10.7403 14.941 7.77834 11.1524C7.22728 10.498 6.71066 9.77478 6.26292 9.05151C9.84481 12.289 15.4587 16.3875 17.4908 17.5241C13.2201 13.0123 9.43152 7.43277 9.60372 7.60498C16.3542 14.3899 22.5881 18.2473 22.5881 18.2473C22.8292 18.3506 23.0014 18.454 23.1391 18.5573C23.2769 18.2129 23.3802 17.8685 23.4836 17.5241C24.5512 13.5978 23.3458 9.08595 20.5905 5.3663C26.8588 9.12039 30.544 16.2842 29.0286 22.3114Z"
- fill="currentColor"
- />
- </svg>
- ),
- links: [
- {
- url: '/blog/supabase-swift',
- label: 'Blog post',
- target: '_blank',
- },
- ],
+ title: '',
+ description: '',
+ id: '',
+ is_shipped: false,
+ links: [],
+ icon: null,
},
{
- className: 'col-span-full min-h-[290px] xl:min-h-0 xl:col-span-2 sm:aspect-auto',
- title: 'Top 10 Launches from Supabase GA Week',
- description: 'A recap of the most important launches and updates from the week.',
- id: 'ga-week-summary',
- is_shipped: true,
- icon: (
- <svg
- width="43"
- height="43"
- viewBox="0 0 97 96"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M45.1845 28.8958C46.1844 27.6366 48.2117 28.3265 48.2358 29.9343L48.3161 42.1777H64.0052C66.8691 42.1777 68.4663 45.4854 66.6855 47.7284L51.5973 66.731C50.5975 67.9901 48.5702 67.3003 48.5461 65.6926L48.3627 53.4492H32.7766C29.9127 53.4492 28.3154 50.1414 30.0963 47.8985L45.1845 28.8958Z"
- fill="currentColor"
- />
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M55.6755 2.97563C51.6248 -0.991875 45.1451 -0.991877 41.0944 2.97563L34.7454 9.19414C33.669 10.2485 32.2267 10.8459 30.72 10.8615L21.8335 10.9537C16.1638 11.0126 11.5819 15.5944 11.5231 21.2642L11.4309 30.1507C11.4152 31.6574 10.8178 33.0997 9.76348 34.1761L3.54496 40.525C-0.422539 44.5758 -0.422541 51.0555 3.54496 55.1062L9.76348 61.4551C10.8178 62.5316 11.4152 63.9739 11.4309 65.4805L11.5231 74.3671C11.5819 80.0368 16.1638 84.6187 21.8335 84.6775L30.72 84.7697C32.2267 84.7854 33.669 85.3828 34.7454 86.4371L41.0944 92.6556C45.1451 96.6231 51.6248 96.6231 55.6755 92.6556L62.0245 86.4371C63.1009 85.3828 64.5432 84.7854 66.0499 84.7697L74.9364 84.6775C80.6061 84.6187 85.188 80.0368 85.2468 74.3671L85.3391 65.4805C85.3547 63.9739 85.9521 62.5316 87.0064 61.4551L93.2249 55.1062C97.1924 51.0555 97.1925 44.5758 93.2249 40.525L87.0064 34.1761C85.9521 33.0997 85.3547 31.6574 85.3391 30.1507L85.2468 21.2642C85.188 15.5944 80.6061 11.0126 74.9364 10.9537L66.0499 10.8615C64.5432 10.8459 63.1009 10.2485 62.0245 9.19414L55.6755 2.97563ZM44.299 6.24742C46.5692 4.02384 50.2007 4.02384 52.4709 6.24742L58.8199 12.4659C60.7405 14.3471 63.314 15.4131 66.0023 15.441L74.8889 15.5332C78.0665 15.5662 80.6344 18.1341 80.6673 21.3117L80.7596 30.1982C80.7875 32.8866 81.8534 35.46 83.7346 37.3807L89.9532 43.7296C92.1767 45.9998 92.1767 49.6314 89.9531 51.9016L83.7346 58.2506C81.8534 60.1712 80.7875 62.7447 80.7596 65.433L80.6673 74.3195C80.6344 77.4971 78.0665 80.065 74.8889 80.098L66.0023 80.1902C63.314 80.2181 60.7405 81.2841 58.8199 83.1653L52.4709 89.3838C50.2007 91.6074 46.5692 91.6074 44.299 89.3838L37.95 83.1653C36.0294 81.2841 33.4559 80.2181 30.7676 80.1902L21.881 80.098C18.7034 80.065 16.1355 77.4971 16.1026 74.3195L16.0103 65.433C15.9824 62.7447 14.9165 60.1712 13.0353 58.2505L6.81676 51.9016C4.59317 49.6314 4.59317 45.9998 6.81676 43.7296L13.0353 37.3807C14.9165 35.46 15.9824 32.8865 16.0103 30.1982L16.1026 21.3117C16.1355 18.1341 18.7034 15.5662 21.881 15.5332L30.7676 15.441C33.4559 15.4131 36.0294 14.3471 37.95 12.4659L44.299 6.24742Z"
- fill="currentColor"
- />
- </svg>
- ),
- links: [
- {
- url: '/blog/ga-week-summary',
- label: 'Blog post',
- target: '_blank',
- },
- ],
+ title: '',
+ description: '',
+ id: '',
+ is_shipped: false,
+ links: [],
+ icon: null,
+ },
+ {
+ title: '',
+ description: '',
+ id: '',
+ is_shipped: false,
+ links: [],
+ icon: null,
+ },
+ {
+ title: '',
+ description: '',
+ id: '',
+ is_shipped: false,
+ links: [],
+ icon: null,
+ },
+ {
+ title: '',
+ description: '',
+ id: '',
+ is_shipped: false,
+ links: [],
+ icon: null,
+ className:
+ 'col-span-full lg:col-span-1 xl:col-span-full max-h-[350px] md:max-h-[458px] xl:max-h-[267px]',
},
]
diff --git a/apps/www/components/LaunchWeek/12/Releases/data/lw12_data.tsx b/apps/www/components/LaunchWeek/12/Releases/data/lw12_data.tsx
index 1e160ffc357..c013ed66063 100644
--- a/apps/www/components/LaunchWeek/12/Releases/data/lw12_data.tsx
+++ b/apps/www/components/LaunchWeek/12/Releases/data/lw12_data.tsx
@@ -29,6 +29,8 @@ export interface StepProps {
bg_layers?: {
img?: string
mobileImg?: string
+ imgLight?: string
+ mobileImgLight?: string
className?: string
}[]
steps?: StepProps[] | []
@@ -53,7 +55,7 @@ export interface WeekDayProps {
steps: StepProps[] | []
}
-export const endOfLWXHackathon = '2024-04-17T23:59:59.999-08:00'
+export const endOfLWXHackathon = '2024-08-17T23:59:59.999-08:00'
const days: (isDark?: boolean) => WeekDayProps[] = (isDark = true) => [
{
@@ -61,251 +63,126 @@ const days: (isDark?: boolean) => WeekDayProps[] = (isDark = true) => [
d: 1,
dd: 'Mon',
shipped: true,
- isToday: false,
- blog: '/ga',
+ isToday: true,
+ blog: '/blog/postgres-new',
hasCountdown: false,
- date: '15 April',
- published_at: '2024-04-15T08:00:00.000-07:00',
- videoId: 'bRtdk8D4X8w',
- videoThumbnail: '/images/launchweek/11/video-cover.jpg',
- title: 'Supabase is officially launching into General Availability',
- description: 'Supabase is officially launching into General Availability',
- links: [
- {
- type: 'xSpace',
- href: 'https://supabase.link/twitter-space-ga',
- },
- ],
- steps: [
- {
- icon: products.database.icon[16],
- title: 'Database',
- description: 'Fully portable Postgres Database',
- url: 'https://supabase.com/docs/guides/database/overview',
- },
- {
- icon: products.authentication.icon[16],
- title: 'Auth',
- description: 'User management out of the box',
- url: 'https://supabase.com/docs/guides/auth',
- },
- {
- icon: products.storage.icon[16],
- title: 'Storage',
- description: 'Serverless storage for any media',
- url: 'https://supabase.com/docs/guides/storage',
- },
- {
- icon: products.functions.icon[16],
- title: 'Edge Functions',
- description: 'Deploy code globally on the edge',
- url: 'https://supabase.com/docs/guides/functions',
- },
- {
- icon: products.realtime.icon[16],
- title: 'Realtime',
- description: 'Synchronize and broadcast events',
- url: 'https://supabase.com/docs/guides/realtime',
- },
- {
- icon: products.vector.icon[16],
- title: 'Vector',
- description: 'AI toolkit to manage embeddings',
- url: 'https://supabase.com/docs/guides/ai',
- },
- ],
- },
- {
- id: 'day-2',
- d: 2,
- dd: 'Tue',
- shipped: true,
- isToday: false,
- hasCountdown: false,
- blog: '/blog/ai-inference-now-available-in-supabase-edge-functions',
- date: '16 April',
- published_at: '2024-04-16T08:00:00.000-07:00',
- title: 'Supabase Functions now supports AI models',
+ date: '12 August',
+ published_at: '2024-08-12T08:00:00.000-07:00',
+ videoId: 'ooWaPVvljlU',
+ videoThumbnail: '',
+ title: 'postgres.new: In-browser Postgres with an AI interface',
description: (
<>
- Supabase Functions now supports <strong>AI models</strong>
+ <strong className="text-foreground">postgres.new:</strong>
+ <br className="hidden sm:block" /> In-browser Postgres
+ <br className="hidden sm:block" /> with an AI interface
</>
),
links: [
- {
- type: 'blog',
- href: '/blog/ai-inference-now-available-in-supabase-edge-functions',
- },
{
type: 'video',
- href: 'w4Rr_1whU-U',
+ href: 'ooWaPVvljlU',
},
{
type: 'xSpace',
- href: 'https://supabase.link/twitter-space-ga-week-2',
+ href: 'https://supabase.link/lw12-xspace-1',
},
],
steps: [
{
- title: 'Supabase Functions now supports AI models',
- blog: '#',
+ title: 'postgres.new: In-browser Postgres with an AI interface',
+ blog: '/blog/postgres-new',
bg_layers: [
{
- img: isDark
- ? '/images/launchweek/11/days/d2-dark.svg'
- : '/images/launchweek/11/days/d2-light.svg',
- mobileImg: isDark
- ? '/images/launchweek/11/days/d2-dark-mobile.svg'
- : '/images/launchweek/11/days/d2-light-mobile.svg',
+ img: '/images/launchweek/12/d1/postgresnew-dark.png',
+ mobileImg: '/images/launchweek/12/d1/postgresnew-dark-mobile.png',
+ imgLight: '/images/launchweek/12/d1/postgresnew-light.png',
+ mobileImgLight: '/images/launchweek/12/d1/postgresnew-light-mobile.png',
},
],
steps: [],
},
],
},
+ {
+ id: 'day-2',
+ d: 2,
+ dd: 'Tue',
+ shipped: false,
+ isToday: false,
+ hasCountdown: true,
+ blog: '',
+ date: '13 August',
+ published_at: '2024-08-13T08:00:00.000-07:00',
+ title: '',
+ description: '',
+ links: [
+ {
+ type: 'xSpace',
+ href: 'https://supabase.link/lw12-xspace-2',
+ },
+ ],
+ steps: [],
+ },
{
id: 'day-3',
d: 3,
dd: 'Wed',
- shipped: true,
+ shipped: false,
isToday: false,
hasCountdown: false,
- blog: '/blog/anonymous-sign-ins',
- date: '17 April',
- published_at: '2024-04-17T08:00:00.000-07:00',
- title: 'Supabase Auth now supports Anonymous sign-ins',
- description: (
- <>
- Supabase Auth now supports <strong>Anonymous sign-ins</strong>
- </>
- ),
+ blog: '',
+ date: '14 August',
+ published_at: '2024-08-14T08:00:00.000-07:00',
+ title: '',
+ description: '',
links: [
- {
- type: 'blog',
- href: '/blog/anonymous-sign-ins',
- },
- {
- type: 'video',
- href: 'WNN7Pp5Ftk4',
- },
{
type: 'xSpace',
- href: 'https://supabase.link/twitter-space-ga-week-3',
- },
- ],
- steps: [
- {
- title: 'Supabase Auth now supports Anonymous sign-ins',
- blog: '/blog/anonymous-sign-ins',
- bg_layers: [
- {
- img: isDark
- ? '/images/launchweek/11/days/d3-dark.svg'
- : '/images/launchweek/11/days/d3-light.svg',
- mobileImg: isDark
- ? '/images/launchweek/11/days/d3-dark-mobile.svg'
- : '/images/launchweek/11/days/d3-light-mobile.svg',
- },
- ],
- steps: [],
+ href: 'https://supabase.link/lw12-xspace-3',
},
],
+ steps: [],
},
{
id: 'day-4',
d: 4,
dd: 'Thu',
- shipped: true,
+ shipped: false,
isToday: false,
hasCountdown: false,
- blog: '/blog/s3-compatible-storage',
- date: '18 April',
- published_at: '2024-04-18T08:00:00.000-07:00',
- title: 'Supabase Storage: now supports the S3 protocol',
- description: (
- <>
- Supabase Storage: now supports the <strong>S3 protocol</strong>
- </>
- ),
+ blog: '',
+ date: '15 August',
+ published_at: '2024-08-15T08:00:00.000-07:00',
+ title: '',
+ description: '',
links: [
- {
- type: 'blog',
- href: '/blog/s3-compatible-storage',
- },
- {
- type: 'video',
- href: 'WvvGhcNeSPk',
- },
{
type: 'xSpace',
- href: 'https://supabase.link/twitter-space-ga-week-4',
- },
- ],
- steps: [
- {
- title: 'Supabase Storage: now supports the S3 protocol',
- blog: '/blog/s3-compatible-storage',
- bg_layers: [
- {
- img: isDark
- ? '/images/launchweek/11/days/d4-dark.svg'
- : '/images/launchweek/11/days/d4-light.svg',
- mobileImg: isDark
- ? '/images/launchweek/11/days/d4-dark-mobile.svg'
- : '/images/launchweek/11/days/d4-light-mobile.svg',
- },
- ],
- steps: [],
+ href: 'https://supabase.link/lw12-xspace-4',
},
],
+ steps: [],
},
{
id: 'day-5',
d: 5,
dd: 'Fri',
- shipped: true,
+ shipped: false,
isToday: false,
hasCountdown: false,
- blog: '/blog/security-performance-advisor',
- date: '19 April',
- published_at: '2024-04-19T08:00:00.000-07:00',
- title: 'Supabase Security Advisor & Performance Advisor',
- description: (
- <>
- Supabase <strong>Security Advisor</strong> & <strong>Performance Advisor</strong>
- </>
- ),
+ blog: '',
+ date: '16 August',
+ published_at: '2024-08-16T08:00:00.000-07:00',
+ title: '',
+ description: '',
links: [
- {
- type: 'blog',
- href: '/blog/security-performance-advisor',
- },
- {
- type: 'video',
- href: 'NZEbVe47DfA',
- },
{
type: 'xSpace',
- href: 'https://supabase.link/twitter-space-ga-week-5',
- },
- ],
- steps: [
- {
- title: 'Supabase Storage: now supports the S3 protocol',
- blog: '/blog/s3-compatible-storage',
- bg_layers: [
- {
- img: isDark
- ? '/images/launchweek/11/days/d5-dark.svg'
- : '/images/launchweek/11/days/d5-light.svg',
- mobileImg: isDark
- ? '/images/launchweek/11/days/d5-dark-mobile.svg'
- : '/images/launchweek/11/days/d5-light-mobile.svg',
- },
- ],
- steps: [],
+ href: 'https://supabase.link/lw12-xspace-5',
},
],
+ steps: [],
},
]
diff --git a/apps/www/components/LaunchWeek/12/Ticket/TicketActions2.tsx b/apps/www/components/LaunchWeek/12/Ticket/TicketActions2.tsx
index 0c007c5b5ea..3494a83134e 100644
--- a/apps/www/components/LaunchWeek/12/Ticket/TicketActions2.tsx
+++ b/apps/www/components/LaunchWeek/12/Ticket/TicketActions2.tsx
@@ -1,19 +1,18 @@
import { useEffect, useRef, useState } from 'react'
import dayjs from 'dayjs'
-import NextImage from 'next/image'
import Link from 'next/link'
import { LW_URL, TWEET_TEXT, TWEET_TEXT_PLATINUM, TWEET_TEXT_SECRET } from '~/lib/constants'
import { Button, cn, IconCheck } from 'ui'
import { useParams } from '~/hooks/useParams'
-import LaunchWeekPrizeCard from '../LaunchWeekPrizeCard'
-import TicketCopy from './TicketCopy'
import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+import { useBreakpoint } from 'common'
export default function TicketActions2() {
const { userData, supabase } = useConfData()
const { platinum, username, metadata, secret: hasSecretTicket } = userData
const [_imgReady, setImgReady] = useState(false)
const [_loading, setLoading] = useState(false)
+ const isLessThanMd = useBreakpoint()
const downloadLink = useRef<HTMLAnchorElement>()
const link = `${LW_URL}/tickets/${username}?lw=12${
hasSecretTicket ? '&secret=true' : platinum ? `&platinum=true` : ''
@@ -78,10 +77,6 @@ export default function TicketActions2() {
return (
<div className="flex flex-col gap-4 ">
- {/* <LabelBadge text="5 sets" /> */}
- {/* <p className="text-foreground-light text-sm">
- Boost your chances of winning Supabase LW12 Wandrd backpack and other awards.
- </p> */}
<div
className={cn(
'w-full gap-2 flex flex-col items-center',
@@ -91,7 +86,7 @@ export default function TicketActions2() {
<div className="flex flex-row flex-wrap justify-center w-full gap-2">
<Button
type="secondary"
- size="small"
+ size={isLessThanMd ? 'tiny' : 'small'}
className="px-2 lg:px-3.5 h-[28px] lg:h-[34px] opacity-50"
disabled
icon={<IconCheck strokeWidth={3} />}
@@ -102,7 +97,7 @@ export default function TicketActions2() {
onClick={() => handleShare('twitter')}
type={userData.shared_on_twitter ? 'secondary' : 'default'}
icon={userData.shared_on_twitter && <IconCheck strokeWidth={3} />}
- size="small"
+ size={isLessThanMd ? 'tiny' : 'small'}
className="px-2 lg:px-3.5 h-[28px] lg:h-[34px]"
asChild
>
@@ -114,7 +109,7 @@ export default function TicketActions2() {
onClick={() => handleShare('linkedin')}
type={userData.shared_on_linkedin ? 'secondary' : 'default'}
icon={userData.shared_on_linkedin && <IconCheck strokeWidth={3} />}
- size="small"
+ size={isLessThanMd ? 'tiny' : 'small'}
className="px-2 lg:px-3.5 h-[28px] lg:h-[34px]"
asChild
>
diff --git a/apps/www/components/LaunchWeek/12/Ticket/TicketForm.tsx b/apps/www/components/LaunchWeek/12/Ticket/TicketForm.tsx
index 6659ff33971..1fe97e71612 100644
--- a/apps/www/components/LaunchWeek/12/Ticket/TicketForm.tsx
+++ b/apps/www/components/LaunchWeek/12/Ticket/TicketForm.tsx
@@ -67,13 +67,10 @@ export default function TicketForm() {
// Prefetch GitHub avatar
new Image().src = `https://github.com/${username}.png`
- console.log('about to fetch username page to generate the og')
// Prefetch the twitter share URL to eagerly generate the page
// fetch(`/launch-week/tickets/${username}?came_from_signup=true`).catch((_) => {})
await fetch(`/api-v2/ticket-og?username=${username}`)
- console.log('should have fetched')
-
if (!realtimeChannel) {
const channel = supabase
.channel('changes')
diff --git a/apps/www/components/LaunchWeek/12/Ticket/TicketingFlow.tsx b/apps/www/components/LaunchWeek/12/Ticket/TicketingFlow.tsx
index a8cde90cdcf..68cc4afdb57 100644
--- a/apps/www/components/LaunchWeek/12/Ticket/TicketingFlow.tsx
+++ b/apps/www/components/LaunchWeek/12/Ticket/TicketingFlow.tsx
@@ -14,7 +14,7 @@ import TicketForm from './TicketForm'
import CountdownComponent from '../Countdown'
import TicketPresence from './TicketPresence'
import TicketActions from './TicketActions'
-import LW12Background from '../LW12Background'
+// import LW12Background from '../LW12Background'
import TicketCopy from './TicketCopy'
import TicketActions2 from './TicketActions2'
@@ -86,24 +86,9 @@ const TicketingFlow = () => {
!isGameMode && !hasTicket && 'opacity-100 visible'
)}
>
- <div>
- <CountdownComponent
- date={LW12_LAUNCH_DATE}
- showCard={false}
- className="[&_*]:leading-4 text-foreground-lighter"
- size="large"
- />
- </div>
<div className="flex flex-col md:items-center gap-6">
- <div className="flex flex-col md:flex-row flex-wrap gap-2 md:gap-6 uppercase text-2xl tracking-wider">
- <h2 className="text-foreground">
- <strong className="font-medium">Launch Week</strong> 12
- </h2>
- <span className="h-full border-r border-foreground hidden md:inline" />
- <p className="text-foreground-light">{LW12_DATE}</p>
- </div>
<p className="text-foreground-lighter text-lg ">
- Join us for a week of new features and level up your development
+ Join for a chance to win swag.
</p>
</div>
<TicketForm />
@@ -119,8 +104,6 @@ const TicketingFlow = () => {
>
<div className="w-full lg:w-auto h-full mt-3 md:mt-6 xl:mt-0 max-w-lg flex flex-col items-center justify-center gap-3">
<TicketContainer />
- {/* {!hasPlatinumTicket && <TicketPresence />} */}
- {/* // not sure why this was only non platinum */}
<TicketPresence />
<TicketCopy />
</div>
@@ -159,10 +142,6 @@ const TicketingFlow = () => {
</div>
)}
<TicketActions2 />
- <div className="w-full my-3">
- <TicketActions />
- </div>
- <CountdownComponent date={LW12_LAUNCH_DATE} showCard={false} />
</div>
</m.div>
)}
@@ -181,12 +160,6 @@ const TicketingFlow = () => {
</LazyMotion>
</div>
</SectionContainer>
- <LW12Background
- className={cn(
- 'opacity-100 transition-opacity',
- hasTicket || (isGameMode && 'opacity-80 dark:opacity-60')
- )}
- />
</>
)
}
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx
index 20793d2352a..b3339751443 100644
--- a/apps/www/components/Nav/index.tsx
+++ b/apps/www/components/Nav/index.tsx
@@ -21,7 +21,6 @@ import MobileMenu from './MobileMenu'
import MenuItem from './MenuItem'
import { menu } from '~/data/nav'
import RightClickBrandLogo from './RightClickBrandLogo'
-import useDarkLaunchWeeks from '../../hooks/useDarkLaunchWeeks'
import LW12CountdownBanner from 'ui/src/layout/banners/LW12CountdownBanner/LW12CountdownBanner'
interface Props {
@@ -37,13 +36,10 @@ const Nav = (props: Props) => {
const isUserLoading = useIsUserLoading()
const isHomePage = router.pathname === '/'
- const isDarkLaunchWeek = useDarkLaunchWeeks()
- const isGAWeekSection = router.pathname.includes('/ga-week')
- const isLaunchWeekPage =
- router.pathname.includes('launch-week') || isGAWeekSection || isDarkLaunchWeek
+ const isLaunchWeekPage = router.pathname.includes('/launch-week')
const isLaunchWeekXPage = router.pathname === '/launch-week/x'
const isLaunchWeek11Page = router.pathname === '/ga-week'
- const hasStickySubnav = isLaunchWeekXPage || isLaunchWeek11Page
+ const hasStickySubnav = isLaunchWeekXPage || isLaunchWeek11Page || isLaunchWeekPage
const showLaunchWeekNavMode = (isLaunchWeekPage || isLaunchWeek11Page) && !open
React.useEffect(() => {
@@ -79,7 +75,6 @@ const Nav = (props: Props) => {
className={cn(
`relative z-40 border-default border-b backdrop-blur-sm transition-opacity`,
showLaunchWeekNavMode && 'border-muted border-b bg-alternative/50'
- // isLaunchWeekPage && showLaunchWeekNavMode ? '!border-b-0' : ''
)}
>
<div className="relative flex justify-between h-16 mx-auto lg:container lg:px-16 xl:px-20">
@@ -87,19 +82,6 @@ const Nav = (props: Props) => {
<div className="flex items-center">
<div className="flex items-center flex-shrink-0">
<RightClickBrandLogo />
-
- {!isGAWeekSection &&
- !isLaunchWeek11Page &&
- isLaunchWeekPage &&
- !isLaunchWeekXPage && (
- <Link
- href="/launch-week"
- as="/launch-week"
- className="hidden ml-2 xl:block font-mono text-sm uppercase leading-4 focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-foreground-lighter focus-visible:ring-offset-4 focus-visible:ring-offset-background-alternative focus-visible:rounded-sm"
- >
- Launch Week
- </Link>
- )}
</div>
<NavigationMenu
delayDuration={0}
diff --git a/apps/www/lib/authors.json b/apps/www/lib/authors.json
index e8ef0df1a87..dd73f2c8066 100644
--- a/apps/www/lib/authors.json
+++ b/apps/www/lib/authors.json
@@ -485,5 +485,13 @@
"position": "Co-Founder & CEO, Humata",
"author_url": "https://www.linkedin.com/in/khajvandi/",
"author_image_url": "https://media.licdn.com/dms/image/v2/D5603AQGZst2tvV47PA/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1694666298155?e=1728518400&v=beta&t=Jkt6ii4cV8FsvU4qONEGFVUADw-Zc_WI1h-pSrenxGg"
+ },
+ {
+ "author_id": "anas-araid",
+ "author": "Anas Araid",
+ "username": "anas-araid",
+ "position": "Guest Author",
+ "author_url": "https://github.com/anas-araid",
+ "author_image_url": "https://github.com/anas-araid.png"
}
]
diff --git a/apps/www/pages/ga-week/index.tsx b/apps/www/pages/ga-week/index.tsx
index a2db121bccb..35a9a395776 100644
--- a/apps/www/pages/ga-week/index.tsx
+++ b/apps/www/pages/ga-week/index.tsx
@@ -1,6 +1,5 @@
import { useState, useEffect } from 'react'
import dynamic from 'next/dynamic'
-import { GetServerSideProps } from 'next'
import { useRouter } from 'next/router'
import { NextSeo } from 'next-seo'
import { Session } from '@supabase/supabase-js'
@@ -10,7 +9,6 @@ import supabase from '~/lib/supabaseMisc'
import DefaultLayout from '~/components/Layouts/Default'
import { TicketState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
import SectionContainer from '~/components/Layouts/SectionContainer'
-import { Meetup } from '~/components/LaunchWeek/11/LW11Meetups'
import LW11StickyNav from '~/components/LaunchWeek/11/Releases/LW11StickyNav'
import LW11Header from '~/components/LaunchWeek/11/Releases/LW11Header'
import MainStage from '~/components/LaunchWeek/11/Releases/MainStage'
@@ -21,11 +19,7 @@ const LaunchWeekPrizeSection = dynamic(
() => import('~/components/LaunchWeek/11/LaunchWeekPrizeSection')
)
-interface Props {
- meetups?: Meetup[]
-}
-
-export default function GAWeekIndex({ meetups }: Props) {
+export default function GAWeekIndex() {
const { query } = useRouter()
const TITLE = 'Supabase GA Week | 15-19 April 2024'
@@ -106,7 +100,7 @@ export default function GAWeekIndex({ meetups }: Props) {
<MainStage className="relative -mt-20 z-10" />
<BuildStage />
<SectionContainer id="meetups" className="scroll-mt-[66px]">
- <LW11Meetups meetups={meetups} />
+ <LW11Meetups meetups={[]} />
</SectionContainer>
<SectionContainer className="lg:pb-40" id="awards">
<LaunchWeekPrizeSection />
@@ -116,16 +110,3 @@ export default function GAWeekIndex({ meetups }: Props) {
</>
)
}
-
-export const getServerSideProps: GetServerSideProps = async () => {
- const { data: meetups } = await supabase!
- .from('lw11_meetups')
- .select('*')
- .neq('isPublished', false)
-
- return {
- props: {
- meetups: meetups?.sort((a, b) => (new Date(a.start_at) > new Date(b.start_at) ? 1 : -1)),
- },
- }
-}
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 1aa8ede9f48..7ff79adf987 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -1,17 +1,33 @@
-import React, { useState, useEffect } from 'react'
+import { useState, useEffect } from 'react'
import dynamic from 'next/dynamic'
+import { GetServerSideProps } from 'next'
import { useRouter } from 'next/router'
import { NextSeo } from 'next-seo'
import { Session } from '@supabase/supabase-js'
-import { SITE_ORIGIN, LW_URL, LW12_TITLE, LW12_DATE } from '~/lib/constants'
+import { LW12_DATE, LW12_TITLE, LW_URL, SITE_ORIGIN } from '~/lib/constants'
import supabase from '~/lib/supabase'
import DefaultLayout from '~/components/Layouts/Default'
import { TicketState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import { Meetup } from '~/components/LaunchWeek/12/LWMeetups'
+import LWStickyNav from '~/components/LaunchWeek/12/Releases/LWStickyNav'
+import LWHeader from '~/components/LaunchWeek/12/Releases/LWHeader'
+import MainStage from '~/components/LaunchWeek/12/Releases/MainStage'
+const BuildStage = dynamic(() => import('~/components/LaunchWeek/12/Releases/BuildStage'))
+const CTABanner = dynamic(() => import('~/components/CTABanner'))
+const LaunchWeekPrizeSection = dynamic(
+ () => import('~/components/LaunchWeek/12/LaunchWeekPrizeSection')
+)
+const LW12Meetups = dynamic(() => import('~/components/LaunchWeek/12/LWMeetups'))
const TicketingFlow = dynamic(() => import('~/components/LaunchWeek/12/Ticket/TicketingFlow'))
-export default function LaunchWeekIndex() {
+interface Props {
+ meetups?: Meetup[]
+}
+
+export default function LaunchWeekIndex({ meetups }: Props) {
const { query } = useRouter()
const TITLE = `${LW12_TITLE} | ${LW12_DATE}`
@@ -84,17 +100,38 @@ export default function LaunchWeekIndex() {
setShowCustomizationForm,
}}
>
- <DefaultLayout
- className="
- -mt-[60px] pt-[60px]
- overflow-hidden
- xl:h-screen !min-h-fit
- xl:!max-h-[calc(100vh-60px)]
- "
- >
- <TicketingFlow />
+ <DefaultLayout>
+ <LWStickyNav />
+ <LWHeader />
+ <MainStage className="relative z-10" />
+ <BuildStage />
+ <SectionContainer id="meetups" className="scroll-mt-[60px] lw-nav-anchor">
+ <LW12Meetups meetups={meetups} />
+ </SectionContainer>
+ <SectionContainer className="!py-8 lw-nav-anchor" id="ticket">
+ <TicketingFlow />
+ </SectionContainer>
+ <SectionContainer className="!pt-8" id="awards">
+ <LaunchWeekPrizeSection />
+ </SectionContainer>
+ <CTABanner />
</DefaultLayout>
</ConfDataContext.Provider>
</>
)
}
+
+export const getServerSideProps: GetServerSideProps = async () => {
+ const { data: meetups } = await supabase!
+ .from('meetups')
+ .select('*')
+ .eq('launch_week', 'lw12')
+ .neq('is_published', false)
+ .order('start_at', { ascending: false })
+
+ return {
+ props: {
+ meetups,
+ },
+ }
+}
diff --git a/apps/www/pages/launch-week/x/index.tsx b/apps/www/pages/launch-week/x/index.tsx
index e8122782972..b7c95a7d14b 100644
--- a/apps/www/pages/launch-week/x/index.tsx
+++ b/apps/www/pages/launch-week/x/index.tsx
@@ -117,7 +117,7 @@ export default function LaunchWeekIndex({ meetups }: Props) {
<LWXHeader />
<MainStage />
<BuildStage />
- <SectionContainer id="meetups" className="scroll-mt-[66px]">
+ <SectionContainer id="meetups" className="-scroll-mt-[66px]">
<LWXMeetups meetups={meetups} />
</SectionContainer>
<SectionContainer className="lg:pb-40">
diff --git a/apps/www/public/images/blog/lw12/day-1/charts--dark.png b/apps/www/public/images/blog/lw12/day-1/charts--dark.png
new file mode 100644
index 00000000000..e76c2597704
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/charts--dark.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/charts--light.png b/apps/www/public/images/blog/lw12/day-1/charts--light.png
new file mode 100644
index 00000000000..0bef514c34c
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/charts--light.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/copilot_chat.gif b/apps/www/public/images/blog/lw12/day-1/copilot_chat.gif
new file mode 100644
index 00000000000..a061b5ef67a
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/copilot_chat.gif differ
diff --git a/apps/www/public/images/blog/lw12/day-1/copilot_migration.gif b/apps/www/public/images/blog/lw12/day-1/copilot_migration.gif
new file mode 100644
index 00000000000..07b1357fa75
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/copilot_migration.gif differ
diff --git a/apps/www/public/images/blog/lw12/day-1/csv-import--dark.png b/apps/www/public/images/blog/lw12/day-1/csv-import--dark.png
new file mode 100644
index 00000000000..d5ab456efd7
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/csv-import--dark.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/csv-import--light.png b/apps/www/public/images/blog/lw12/day-1/csv-import--light.png
new file mode 100644
index 00000000000..f23c007b6e7
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/csv-import--light.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/database_functions.png b/apps/www/public/images/blog/lw12/day-1/database_functions.png
new file mode 100644
index 00000000000..2168bf80ede
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/database_functions.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/db-diagram--dark.png b/apps/www/public/images/blog/lw12/day-1/db-diagram--dark.png
new file mode 100644
index 00000000000..f147424466b
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/db-diagram--dark.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/db-diagram--light.png b/apps/www/public/images/blog/lw12/day-1/db-diagram--light.png
new file mode 100644
index 00000000000..425bd14e721
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/db-diagram--light.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/deployments-diagram--dark.png b/apps/www/public/images/blog/lw12/day-1/deployments-diagram--dark.png
new file mode 100644
index 00000000000..ec03aa32e1e
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/deployments-diagram--dark.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/deployments-diagram--light.png b/apps/www/public/images/blog/lw12/day-1/deployments-diagram--light.png
new file mode 100644
index 00000000000..f9c27dbec7c
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/deployments-diagram--light.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/github_copilot_extension-og.png b/apps/www/public/images/blog/lw12/day-1/github_copilot_extension-og.png
new file mode 100644
index 00000000000..41f6a53a2b5
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/github_copilot_extension-og.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/github_copilot_extension-thumb.png b/apps/www/public/images/blog/lw12/day-1/github_copilot_extension-thumb.png
new file mode 100644
index 00000000000..591e3e4ca25
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/github_copilot_extension-thumb.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/migration_history.png b/apps/www/public/images/blog/lw12/day-1/migration_history.png
new file mode 100644
index 00000000000..2afba8493c8
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/migration_history.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/migrations.png b/apps/www/public/images/blog/lw12/day-1/migrations.png
new file mode 100644
index 00000000000..297184ec4c4
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/migrations.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/pglite.png b/apps/www/public/images/blog/lw12/day-1/pglite.png
new file mode 100644
index 00000000000..e7bbddbd519
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/pglite.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/postgres-new-og.png b/apps/www/public/images/blog/lw12/day-1/postgres-new-og.png
new file mode 100644
index 00000000000..69c80ed5880
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/postgres-new-og.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/postgres-new-thumb.png b/apps/www/public/images/blog/lw12/day-1/postgres-new-thumb.png
new file mode 100644
index 00000000000..5d92126de18
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/postgres-new-thumb.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/table_view.png b/apps/www/public/images/blog/lw12/day-1/table_view.png
new file mode 100644
index 00000000000..1f2c914f6d9
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/table_view.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/vector--dark.png b/apps/www/public/images/blog/lw12/day-1/vector--dark.png
new file mode 100644
index 00000000000..e3be7ecb8d6
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/vector--dark.png differ
diff --git a/apps/www/public/images/blog/lw12/day-1/vector--light.png b/apps/www/public/images/blog/lw12/day-1/vector--light.png
new file mode 100644
index 00000000000..b108f27f065
Binary files /dev/null and b/apps/www/public/images/blog/lw12/day-1/vector--light.png differ
diff --git a/apps/www/public/images/launchweek/12/bg-dark.svg b/apps/www/public/images/launchweek/12/bg-dark.svg
index 156ced7afcf..e6bee342c89 100644
--- a/apps/www/public/images/launchweek/12/bg-dark.svg
+++ b/apps/www/public/images/launchweek/12/bg-dark.svg
@@ -1,45 +1,44 @@
-<svg width="1364" height="888" viewBox="0 0 1364 888" fill="none" xmlns="http://www.w3.org/2000/svg">
-<mask id="mask0_648_2688" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1364" height="888">
-<rect x="0.654297" y="0.671875" width="1363.21" height="886.777" fill="url(#paint0_linear_648_2688)"/>
+<svg width="1365" height="886" viewBox="0 0 1365 886" fill="none" xmlns="http://www.w3.org/2000/svg">
+<mask id="mask0_648_2688" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1365" height="886">
+<rect x="0.8125" y="0.671875" width="1363.21" height="885.02" fill="url(#paint0_linear_648_2688)"/>
</mask>
<g mask="url(#mask0_648_2688)">
-<path d="M80.3965 2.35547L80.3965 885.775" stroke="#242424"/>
-<path d="M146.396 2.35547L146.397 885.775" stroke="#242424"/>
-<path d="M278.396 2.35547L278.397 885.775" stroke="#242424"/>
-<path d="M689.396 2.35547L689.397 885.775" stroke="#242424"/>
-<path d="M887.396 2.35547L887.397 885.775" stroke="#242424"/>
-<path d="M953.396 2.35547L953.397 885.775" stroke="#242424"/>
-<path d="M1019.4 2.35547L1019.4 885.775" stroke="#242424"/>
-<path d="M1670.61 2.25781L0.654215 2.25782" stroke="#242424"/>
-<path d="M1670.61 36.2578L0.654215 36.2578" stroke="#242424"/>
-<path d="M1670.61 70.2578L0.654215 70.2578" stroke="#242424"/>
-<path d="M1670.61 104.258L0.654215 104.258" stroke="#242424"/>
-<path d="M1670.61 138.258L0.654215 138.258" stroke="#242424"/>
-<path d="M1670.61 172.258L0.654215 172.258" stroke="#242424"/>
-<path d="M1670.61 206.258L0.654215 206.258" stroke="#242424"/>
-<path d="M1670.61 240.258L0.654215 240.258" stroke="#242424"/>
-<path d="M1670.61 274.258L0.654215 274.258" stroke="#242424"/>
-<path d="M1670.61 308.258L0.654215 308.258" stroke="#242424"/>
-<path d="M1670.61 342.258L0.654215 342.258" stroke="#242424"/>
-<path d="M1670.61 376.258L0.654215 376.258" stroke="#242424"/>
-<path d="M1670.61 410.258L0.654215 410.258" stroke="#242424"/>
-<path d="M1670.61 444.258L0.654215 444.258" stroke="#242424"/>
-<path d="M1670.61 478.258L0.654215 478.258" stroke="#242424"/>
-<path d="M1670.61 512.258L0.654215 512.258" stroke="#242424"/>
-<path d="M1670.61 546.258L0.654215 546.258" stroke="#242424"/>
-<path d="M1670.61 580.258L0.654215 580.258" stroke="#242424"/>
-<path d="M1670.61 614.258L0.654215 614.258" stroke="#242424"/>
-<path d="M1670.61 648.258L0.654215 648.258" stroke="#242424"/>
-<path d="M1670.61 682.258L0.654215 682.258" stroke="#242424"/>
-<path d="M1670.61 716.258L0.654215 716.258" stroke="#242424"/>
-<path d="M1670.61 750.258L0.654215 750.258" stroke="#242424"/>
-<path d="M1670.61 784.258L0.654215 784.258" stroke="#242424"/>
-<path d="M1670.61 818.258L0.654215 818.258" stroke="#242424"/>
-<path d="M1670.61 852.258L0.654215 852.258" stroke="#242424"/>
-<path d="M1670.61 886.258L0.654215 886.258" stroke="#242424"/>
+<path d="M80.5547 2.35547L80.5547 885.775" stroke="#242424"/>
+<path d="M146.555 2.35547L146.555 885.775" stroke="#242424"/>
+<path d="M278.555 2.35547L278.555 885.775" stroke="#242424"/>
+<path d="M689.555 2.35547L689.555 885.775" stroke="#242424"/>
+<path d="M887.555 2.35547L887.555 885.775" stroke="#242424"/>
+<path d="M953.555 2.35547L953.555 885.775" stroke="#242424"/>
+<path d="M1019.55 2.35547L1019.55 885.775" stroke="#242424"/>
+<path d="M1670.76 2.25781L0.812418 2.25782" stroke="#242424"/>
+<path d="M1670.76 36.2578L0.812418 36.2578" stroke="#242424"/>
+<path d="M1670.76 70.2578L0.812418 70.2578" stroke="#242424"/>
+<path d="M1670.76 104.258L0.812418 104.258" stroke="#242424"/>
+<path d="M1670.76 138.258L0.812418 138.258" stroke="#242424"/>
+<path d="M1670.76 172.258L0.812418 172.258" stroke="#242424"/>
+<path d="M1670.76 206.258L0.812418 206.258" stroke="#242424"/>
+<path d="M1670.76 240.258L0.812418 240.258" stroke="#242424"/>
+<path d="M1670.76 274.258L0.812418 274.258" stroke="#242424"/>
+<path d="M1670.76 308.258L0.812418 308.258" stroke="#242424"/>
+<path d="M1670.76 342.258L0.812418 342.258" stroke="#242424"/>
+<path d="M1670.76 376.258L0.812418 376.258" stroke="#242424"/>
+<path d="M1670.76 410.258L0.812418 410.258" stroke="#242424"/>
+<path d="M1670.76 444.258L0.812418 444.258" stroke="#242424"/>
+<path d="M1670.76 478.258L0.812418 478.258" stroke="#242424"/>
+<path d="M1670.76 512.258L0.812418 512.258" stroke="#242424"/>
+<path d="M1670.76 546.258L0.812418 546.258" stroke="#242424"/>
+<path d="M1670.76 580.258L0.812418 580.258" stroke="#242424"/>
+<path d="M1670.76 614.258L0.812418 614.258" stroke="#242424"/>
+<path d="M1670.76 648.258L0.812418 648.258" stroke="#242424"/>
+<path d="M1670.76 682.258L0.812418 682.258" stroke="#242424"/>
+<path d="M1670.76 716.258L0.812418 716.258" stroke="#242424"/>
+<path d="M1670.76 750.258L0.812418 750.258" stroke="#242424"/>
+<path d="M1670.76 784.258L0.812418 784.258" stroke="#242424"/>
+<path d="M1670.76 818.258L0.812418 818.258" stroke="#242424"/>
+<path d="M1670.76 852.258L0.812418 852.258" stroke="#242424"/>
</g>
<defs>
-<linearGradient id="paint0_linear_648_2688" x1="69.4426" y1="444.061" x2="1299.26" y2="444.061" gradientUnits="userSpaceOnUse">
+<linearGradient id="paint0_linear_648_2688" x1="69.6008" y1="443.182" x2="1299.42" y2="443.182" gradientUnits="userSpaceOnUse">
<stop stop-color="#0F0F0F" stop-opacity="0"/>
<stop offset="0.535" stop-color="#0F0F0F"/>
<stop offset="1" stop-color="#0F0F0F" stop-opacity="0"/>
diff --git a/apps/www/public/images/launchweek/12/bg-light.svg b/apps/www/public/images/launchweek/12/bg-light.svg
index 8d538b02bcf..86fb3a3abde 100644
--- a/apps/www/public/images/launchweek/12/bg-light.svg
+++ b/apps/www/public/images/launchweek/12/bg-light.svg
@@ -1,45 +1,44 @@
-<svg width="1364" height="888" viewBox="0 0 1364 888" fill="none" xmlns="http://www.w3.org/2000/svg">
-<mask id="mask0_610_2625" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1364" height="888">
-<rect x="0.117188" y="0.671875" width="1363.21" height="886.777" fill="url(#paint0_linear_610_2625)"/>
+<svg width="1364" height="886" viewBox="0 0 1364 886" fill="none" xmlns="http://www.w3.org/2000/svg">
+<mask id="mask0_610_2625" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1364" height="886">
+<rect x="0.275391" y="0.671875" width="1363.21" height="885.002" fill="url(#paint0_linear_610_2625)"/>
</mask>
<g mask="url(#mask0_610_2625)">
-<path d="M79.8594 2.35547L79.8594 885.775" stroke="#EDEDED"/>
-<path d="M145.859 2.35547L145.859 885.775" stroke="#EDEDED"/>
-<path d="M277.859 2.35547L277.859 885.775" stroke="#EDEDED"/>
-<path d="M688.859 2.35547L688.859 885.775" stroke="#EDEDED"/>
-<path d="M886.859 2.35547L886.859 885.775" stroke="#EDEDED"/>
-<path d="M952.859 2.35547L952.859 885.775" stroke="#EDEDED"/>
-<path d="M1018.86 2.35547L1018.86 885.775" stroke="#EDEDED"/>
-<path d="M1670.07 2.25781L0.117106 2.25782" stroke="#EDEDED"/>
-<path d="M1670.07 36.2578L0.117106 36.2578" stroke="#EDEDED"/>
-<path d="M1670.07 70.2578L0.117106 70.2578" stroke="#EDEDED"/>
-<path d="M1670.07 104.258L0.117106 104.258" stroke="#EDEDED"/>
-<path d="M1670.07 138.258L0.117106 138.258" stroke="#EDEDED"/>
-<path d="M1670.07 172.258L0.117106 172.258" stroke="#EDEDED"/>
-<path d="M1670.07 206.258L0.117106 206.258" stroke="#EDEDED"/>
-<path d="M1670.07 240.258L0.117106 240.258" stroke="#EDEDED"/>
-<path d="M1670.07 274.258L0.117106 274.258" stroke="#EDEDED"/>
-<path d="M1670.07 308.258L0.117106 308.258" stroke="#EDEDED"/>
-<path d="M1670.07 342.258L0.117106 342.258" stroke="#EDEDED"/>
-<path d="M1670.07 376.258L0.117106 376.258" stroke="#EDEDED"/>
-<path d="M1670.07 410.258L0.117106 410.258" stroke="#EDEDED"/>
-<path d="M1670.07 444.258L0.117106 444.258" stroke="#EDEDED"/>
-<path d="M1670.07 478.258L0.117106 478.258" stroke="#EDEDED"/>
-<path d="M1670.07 512.258L0.117106 512.258" stroke="#EDEDED"/>
-<path d="M1670.07 546.258L0.117106 546.258" stroke="#EDEDED"/>
-<path d="M1670.07 580.258L0.117106 580.258" stroke="#EDEDED"/>
-<path d="M1670.07 614.258L0.117106 614.258" stroke="#EDEDED"/>
-<path d="M1670.07 648.258L0.117106 648.258" stroke="#EDEDED"/>
-<path d="M1670.07 682.258L0.117106 682.258" stroke="#EDEDED"/>
-<path d="M1670.07 716.258L0.117106 716.258" stroke="#EDEDED"/>
-<path d="M1670.07 750.258L0.117106 750.258" stroke="#EDEDED"/>
-<path d="M1670.07 784.258L0.117106 784.258" stroke="#EDEDED"/>
-<path d="M1670.07 818.258L0.117106 818.258" stroke="#EDEDED"/>
-<path d="M1670.07 852.258L0.117106 852.258" stroke="#EDEDED"/>
-<path d="M1670.07 886.258L0.117106 886.258" stroke="#EDEDED"/>
+<path d="M80.0176 2.35547L80.0176 885.775" stroke="#EDEDED"/>
+<path d="M146.018 2.35547L146.018 885.775" stroke="#EDEDED"/>
+<path d="M278.018 2.35547L278.018 885.775" stroke="#EDEDED"/>
+<path d="M689.018 2.35547L689.018 885.775" stroke="#EDEDED"/>
+<path d="M887.018 2.35547L887.018 885.775" stroke="#EDEDED"/>
+<path d="M953.018 2.35547L953.018 885.775" stroke="#EDEDED"/>
+<path d="M1019.02 2.35547L1019.02 885.775" stroke="#EDEDED"/>
+<path d="M1670.23 2.25781L0.275309 2.25782" stroke="#EDEDED"/>
+<path d="M1670.23 36.2578L0.275309 36.2578" stroke="#EDEDED"/>
+<path d="M1670.23 70.2578L0.275309 70.2578" stroke="#EDEDED"/>
+<path d="M1670.23 104.258L0.275309 104.258" stroke="#EDEDED"/>
+<path d="M1670.23 138.258L0.275309 138.258" stroke="#EDEDED"/>
+<path d="M1670.23 172.258L0.275309 172.258" stroke="#EDEDED"/>
+<path d="M1670.23 206.258L0.275309 206.258" stroke="#EDEDED"/>
+<path d="M1670.23 240.258L0.275309 240.258" stroke="#EDEDED"/>
+<path d="M1670.23 274.258L0.275309 274.258" stroke="#EDEDED"/>
+<path d="M1670.23 308.258L0.275309 308.258" stroke="#EDEDED"/>
+<path d="M1670.23 342.258L0.275309 342.258" stroke="#EDEDED"/>
+<path d="M1670.23 376.258L0.275309 376.258" stroke="#EDEDED"/>
+<path d="M1670.23 410.258L0.275309 410.258" stroke="#EDEDED"/>
+<path d="M1670.23 444.258L0.275309 444.258" stroke="#EDEDED"/>
+<path d="M1670.23 478.258L0.275309 478.258" stroke="#EDEDED"/>
+<path d="M1670.23 512.258L0.275309 512.258" stroke="#EDEDED"/>
+<path d="M1670.23 546.258L0.275309 546.258" stroke="#EDEDED"/>
+<path d="M1670.23 580.258L0.275309 580.258" stroke="#EDEDED"/>
+<path d="M1670.23 614.258L0.275309 614.258" stroke="#EDEDED"/>
+<path d="M1670.23 648.258L0.275309 648.258" stroke="#EDEDED"/>
+<path d="M1670.23 682.258L0.275309 682.258" stroke="#EDEDED"/>
+<path d="M1670.23 716.258L0.275309 716.258" stroke="#EDEDED"/>
+<path d="M1670.23 750.258L0.275309 750.258" stroke="#EDEDED"/>
+<path d="M1670.23 784.258L0.275309 784.258" stroke="#EDEDED"/>
+<path d="M1670.23 818.258L0.275309 818.258" stroke="#EDEDED"/>
+<path d="M1670.23 852.258L0.275309 852.258" stroke="#EDEDED"/>
</g>
<defs>
-<linearGradient id="paint0_linear_610_2625" x1="77.3396" y1="444.061" x2="1327.29" y2="444.061" gradientUnits="userSpaceOnUse">
+<linearGradient id="paint0_linear_610_2625" x1="77.4978" y1="443.173" x2="1327.45" y2="443.173" gradientUnits="userSpaceOnUse">
<stop offset="0.0265152" stop-color="#0F0F0F" stop-opacity="0"/>
<stop offset="0.535" stop-color="#FDFDFD"/>
<stop offset="1" stop-color="#0F0F0F" stop-opacity="0"/>
diff --git a/apps/www/public/images/launchweek/12/d1/postgresnew-dark-mobile.png b/apps/www/public/images/launchweek/12/d1/postgresnew-dark-mobile.png
new file mode 100644
index 00000000000..8a42b341a6c
Binary files /dev/null and b/apps/www/public/images/launchweek/12/d1/postgresnew-dark-mobile.png differ
diff --git a/apps/www/public/images/launchweek/12/d1/postgresnew-dark.png b/apps/www/public/images/launchweek/12/d1/postgresnew-dark.png
new file mode 100644
index 00000000000..5b260363946
Binary files /dev/null and b/apps/www/public/images/launchweek/12/d1/postgresnew-dark.png differ
diff --git a/apps/www/public/images/launchweek/12/d1/postgresnew-light-mobile.png b/apps/www/public/images/launchweek/12/d1/postgresnew-light-mobile.png
new file mode 100644
index 00000000000..edeb103fa0c
Binary files /dev/null and b/apps/www/public/images/launchweek/12/d1/postgresnew-light-mobile.png differ
diff --git a/apps/www/public/images/launchweek/12/d1/postgresnew-light.png b/apps/www/public/images/launchweek/12/d1/postgresnew-light.png
new file mode 100644
index 00000000000..43a390fbd01
Binary files /dev/null and b/apps/www/public/images/launchweek/12/d1/postgresnew-light.png differ
diff --git a/apps/www/public/images/launchweek/12/lw12-backpack.png b/apps/www/public/images/launchweek/12/lw12-backpack.png
index 537eb46aa6c..9f215cee8e8 100644
Binary files a/apps/www/public/images/launchweek/12/lw12-backpack.png and b/apps/www/public/images/launchweek/12/lw12-backpack.png differ
diff --git a/apps/www/public/images/launchweek/12/lw12-og.png b/apps/www/public/images/launchweek/12/lw12-og.png
index 0f449fcc0e4..5bff84df94a 100644
Binary files a/apps/www/public/images/launchweek/12/lw12-og.png and b/apps/www/public/images/launchweek/12/lw12-og.png differ
diff --git a/apps/www/public/images/launchweek/12/world-tour-tshirt.png b/apps/www/public/images/launchweek/12/world-tour-tshirt.png
new file mode 100644
index 00000000000..9d6a6deefdb
Binary files /dev/null and b/apps/www/public/images/launchweek/12/world-tour-tshirt.png differ
diff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xml
index b3582a21561..4c437dd5deb 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>Mon, 15 Jul 2024 22:00:00 GMT</lastBuildDate>
+ <lastBuildDate>Sun, 11 Aug 2024 22:00:00 GMT</lastBuildDate>
<atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/>
<item>
+ <guid>https://supabase.com/blog/postgres-new</guid>
+ <title>postgres.new: In-browser Postgres with an AI interface</title>
+ <link>https://supabase.com/blog/postgres-new</link>
+ <description>Introducing postgres.new, the in-browser Postgres sandbox with AI assistance.</description>
+ <pubDate>Sun, 11 Aug 2024 22:00:00 GMT</pubDate>
+</item>
+<item>
+ <guid>https://supabase.com/blog/github-copilot-extension-for-vs-code</guid>
+ <title>Official Supabase extension for VS Code and GitHub Copilot</title>
+ <link>https://supabase.com/blog/github-copilot-extension-for-vs-code</link>
+ <description>Today we&apos;re launching a new GitHub Copilot extension for VS Code to make your development with Supabase even more delightful.</description>
+ <pubDate>Sun, 11 Aug 2024 22:00:00 GMT</pubDate>
+</item>
+<item>
<guid>https://supabase.com/blog/supabase-js-on-jsr</guid>
<title>Announcing Supabase on JSR</title>
<link>https://supabase.com/blog/supabase-js-on-jsr</link>
diff --git a/packages/ui-patterns/PromoToast/PromoToast.tsx b/packages/ui-patterns/PromoToast/PromoToast.tsx
index 12bcb573d7c..2b6f21b09ba 100644
--- a/packages/ui-patterns/PromoToast/PromoToast.tsx
+++ b/packages/ui-patterns/PromoToast/PromoToast.tsx
@@ -6,8 +6,8 @@ import { useEffect, useState } from 'react'
import { cn } from 'ui/src/lib/utils/cn'
import { Button } from 'ui/src/components/Button/Button'
import { LOCAL_STORAGE_KEYS } from 'common'
-import CountdownComponent from 'ui/src/layout/banners/LW12CountdownBanner/Countdown'
-import announcement from 'ui/src/layout/banners/data/Announcement.json'
+// import CountdownComponent from 'ui/src/layout/banners/LW12CountdownBanner/Countdown'
+// import announcement from 'ui/src/layout/banners/data/Announcement.json'
import { useTheme } from 'next-themes'
const LW12BGDark =
@@ -40,22 +40,22 @@ const PromoToast = () => {
return (
<div
className={cn(
- 'opacity-0 translate-y-3 transition-all grid gap-3 fixed z-50 bottom-4 right-4 sm:bottom-8 sm:right-8 w-[calc(100vw-2rem)] sm:w-[320px] bg-alternative hover:bg-alternative border border-default rounded p-6 shadow-lg overflow-hidden',
+ 'opacity-0 translate-y-3 transition-all grid gap-2 fixed z-50 bottom-4 right-4 sm:bottom-8 sm:right-8 w-[calc(100vw-2rem)] sm:w-[320px] bg-alternative hover:bg-alternative border border-default rounded p-6 shadow-lg overflow-hidden',
visible && 'opacity-100 translate-y-0'
)}
>
<p className="relative z-10 text-foreground flex flex-col text-xl w-full leading-7">
- Launch Week 12
+ Launch Week 12: Day 1
</p>
- <div className="relative z-10 text-foreground-lighter uppercase flex flex-col text-sm w-full font-mono mb-2">
- <span>AUGUST 12-16 / 7AM PT</span>
- <CountdownComponent date={new Date(announcement.launchDate)} showCard={false} />
+ <div className="relative z-10 text-foreground-lighter flex flex-col text-sm w-full mb-2">
+ <span>postgres.new: in-browser Postgres with an AI interface</span>
+ {/* <CountdownComponent date={new Date(announcement.launchDate)} showCard={false} /> */}
</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">
- Claim your ticket
+ <Link target="_blank" rel="noreferrer" href="https://supabase.com/launch-week#day-1">
+ Learn more
</Link>
</Button>
<Button type="default" onClick={handleHide}>
diff --git a/packages/ui/src/layout/banners/LW12CountdownBanner/LW12CountdownBanner.tsx b/packages/ui/src/layout/banners/LW12CountdownBanner/LW12CountdownBanner.tsx
index ab64900de00..b2db9e66981 100644
--- a/packages/ui/src/layout/banners/LW12CountdownBanner/LW12CountdownBanner.tsx
+++ b/packages/ui/src/layout/banners/LW12CountdownBanner/LW12CountdownBanner.tsx
@@ -27,9 +27,6 @@ export function LW12CountdownBanner() {
)}
>
<p className="flex gap-1.5 items-center">{announcement.text}</p>
- <div className="hidden sm:block">
- <Countdown date={new Date(announcement.launchDate)} showCard={false} />
- </div>
<Button size="tiny" type="default" className="px-2 !leading-none text-xs" asChild>
<Link href="https://supabase.com/launch-week">{announcement.cta}</Link>
</Button>
diff --git a/packages/ui/src/layout/banners/data/Announcement.json b/packages/ui/src/layout/banners/data/Announcement.json
index ce6a1000b0b..d449c8c05ae 100644
--- a/packages/ui/src/layout/banners/data/Announcement.json
+++ b/packages/ui/src/layout/banners/data/Announcement.json
@@ -1,7 +1,7 @@
{
"show": true,
- "text": "Launch Week 12",
+ "text": "Launch Week 12: Day 1",
"launchDate": "2024-08-12T07:00:00.000-08:00",
- "link": "https://supabase.com/launch-week",
- "cta": "Claim ticket"
+ "link": "https://supabase.com/launch-week#day-1",
+ "cta": "Learn more"
}