free and trial plans fixes and styling of sigini and signup forms

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-17 06:12:47 +00:00
parent 839260a7db
commit 491ddc5fbb
7 changed files with 51 additions and 44 deletions

View File

@@ -60,8 +60,8 @@ export default function SignUpFormEnhanced({ planDetails: planDetailsProp, planL
const { register, loading } = useAuthStore();
const planSlug = new URLSearchParams(window.location.search).get('plan') || '';
const paidPlans = ['starter', 'growth', 'scale'];
const isPaidPlan = planSlug && paidPlans.includes(planSlug);
// Determine if plan is paid based on price, not hardcoded slug
const isPaidPlan = planDetails && parseFloat(String(planDetails.price || 0)) > 0;
const totalSteps = isPaidPlan ? 3 : 1;
useEffect(() => {