Skip to content

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

add free project info to project creation (#41967)

Jordi Enric9ea7244baeb6
diff --git a/apps/studio/pages/new/[slug].tsx b/apps/studio/pages/new/[slug].tsx
index a35ed8a3387..13c60a25116 100644
--- a/apps/studio/pages/new/[slug].tsx
+++ b/apps/studio/pages/new/[slug].tsx
@@ -226,6 +226,8 @@ const Wizard: NextPageWithLayout = () => {
{ enabled: currentOrg !== null }
)
+ const shouldShowFreeProjectInfo = !!currentOrg && !isFreePlan
+
const {
mutate: createProject,
isPending: isCreatingNewProject,
@@ -442,6 +444,23 @@ const Wizard: NextPageWithLayout = () => {
{showAdvancedConfig && !!availableOrioleVersion && (
<AdvancedConfiguration form={form} />
)}
+
+ {shouldShowFreeProjectInfo ? (
+ <Admonition
+ className="rounded-none border-0"
+ type="note"
+ title="Need a free project?"
+ description={
+ <p>
+ Supabase billing is organization-based. Get 2 free projects by{' '}
+ <Link className="underline text-foreground" href="/new">
+ creating a free organization
+ </Link>
+ .
+ </p>
+ }
+ />
+ ) : null}
</>
)}