From 2cbfb8c6b51a9992654a3d91b543237b4b4e23d4 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Thu, 19 Feb 2026 00:57:22 -0600 Subject: [PATCH] refactor: simplify Pricing component by removing hosting type selection - Eliminated the hosting type selection (cloud vs self-hosted) from the Pricing component to streamline the user experience. - Adjusted the layout to maintain visual consistency and ensure clarity in pricing presentation. --- apps/website/components/pricing.tsx | 51 +++-------------------------- 1 file changed, 4 insertions(+), 47 deletions(-) diff --git a/apps/website/components/pricing.tsx b/apps/website/components/pricing.tsx index 6ed9ff5..6869664 100644 --- a/apps/website/components/pricing.tsx +++ b/apps/website/components/pricing.tsx @@ -73,9 +73,6 @@ const enterpriseFeatures = [ export function Pricing() { const [isAnnual, setIsAnnual] = useState(false); - const [hostingType, setHostingType] = useState<"cloud" | "self-hosted">( - "cloud", - ); const [openContactModal, setOpenContactModal] = useState(false); const [openPartnerModal, setOpenPartnerModal] = useState(false); @@ -135,24 +132,9 @@ export function Pricing() { Monthly - - {/* Cloud vs Self-Hosted */} - - setHostingType(v as "cloud" | "self-hosted") - } - > - - Cloud - Self-Hosted - - - {hostingType === "cloud" && ( -
+
{/* Hobby, Startup, Enterprise - 3 column grid */}
{/* Hobby */} @@ -315,42 +297,17 @@ export function Pricing() {
-
- )} - - {hostingType === "self-hosted" && ( -
-

- Dokploy Open Source -

-

- Install and manage Dokploy UI on your own server. Free forever, - unlimited servers. -

- - Get Started - -
- )} +
{/* Feature breakdown */} - {hostingType === "cloud" && ( -
+

Feature breakdown by plan

-
- )} +