From e8be7fbf03ee124a19cb24827b01090605b4b41d Mon Sep 17 00:00:00 2001
From: keyhan
Date: Thu, 14 May 2026 00:53:04 +0330
Subject: [PATCH] fix(deploy): move custom domain toggle from Review to
Optional Services step
The custom domain option now lives in Step 2 alongside Redis, RabbitMQ,
and Elasticsearch, styled consistently as a toggle card. The Review step
remains a read-only summary.
Co-authored-by: Cursor
---
frontend/src/app/dashboard/deploy/page.tsx | 87 +++++++++++-----------
1 file changed, 45 insertions(+), 42 deletions(-)
diff --git a/frontend/src/app/dashboard/deploy/page.tsx b/frontend/src/app/dashboard/deploy/page.tsx
index fec5ed3..7220fa1 100644
--- a/frontend/src/app/dashboard/deploy/page.tsx
+++ b/frontend/src/app/dashboard/deploy/page.tsx
@@ -1472,6 +1472,51 @@ export default function DeployPage() {
: 'Each enabled service adds to the monthly cost. Services are deployed in your namespace.'}
)}
+
+ {/* Custom Domain */}
+
+
+
+ {enableCustomDomain && (
+
+
+
setCustomDomainInput(e.target.value)}
+ placeholder="example.com or www.example.com"
+ className="input-field w-full font-mono text-sm"
+ />
+
+ After deployment, configure your DNS records. Instructions will be shown on the app detail page.
+
+
+ )}
+
+
{/* App Storage Size (all app types) */}
@@ -1937,48 +1982,6 @@ export default function DeployPage() {
)}
- {/* Custom Domain Option */}
-
-
-
-
-
-
-
-
Custom Domain
-
- Use your own domain with free SSL
- {domainPriceData && domainPriceData.monthlyPrice > 0 && (
- — {domainPriceData.monthlyPrice.toLocaleString('en-US')} Toman/mo
- )}
-
-
-
-
-
- {enableCustomDomain && (
-
-
-
setCustomDomainInput(e.target.value)}
- placeholder="example.com or www.example.com"
- className="input-field w-full font-mono text-sm"
- />
-
- After deployment, you will need to configure your DNS records. Full instructions will be shown on the application detail page.
-
-
- )}
-
-
{/* Cost Breakdown */}