From fa32f09ebbf3cf2b66c4728409cbf0bc14de9ebd Mon Sep 17 00:00:00 2001 From: "pramod.mahajan" Date: Fri, 31 Oct 2025 11:19:42 +0530 Subject: [PATCH] descresed width of stepLayout --- public/assets/css/core-extend.css | 3 + .../SubscriptionOverview.jsx | 153 ++++++++++-------- .../UserSubscription/SelectPlan.jsx | 14 +- .../UserSubscription/SubscriptionForm.jsx | 2 + .../UserSubscription/SubscriptionLayout.jsx | 4 +- src/pages/Home/HomeSchema.jsx | 2 +- 6 files changed, 102 insertions(+), 76 deletions(-) diff --git a/public/assets/css/core-extend.css b/public/assets/css/core-extend.css index 788d2d08..3b2ca6d7 100644 --- a/public/assets/css/core-extend.css +++ b/public/assets/css/core-extend.css @@ -40,8 +40,11 @@ .text-royalblue{ color: #1796e3; } + .stepper-container { position: relative; + text-align: -webkit-center; + } .timeline-horizontal { diff --git a/src/components/UserSubscription/ManageSubscription/SubscriptionOverview.jsx b/src/components/UserSubscription/ManageSubscription/SubscriptionOverview.jsx index 7d91af1b..6515caf7 100644 --- a/src/components/UserSubscription/ManageSubscription/SubscriptionOverview.jsx +++ b/src/components/UserSubscription/ManageSubscription/SubscriptionOverview.jsx @@ -1,87 +1,106 @@ -import React from 'react' -import Avatar from '../../common/Avatar' +import React from "react"; +import Avatar from "../../common/Avatar"; const SubscriptionOverview = () => { return ( -
-
- Overview -

Summerizees all your payments and subscription for the purchsed Application

-
-
-
-

Contact Details

- Who should we contact if neccessary ? -
-

Manage Contact Details

-
-
-
-
-
- -
- Pramod Mahajan - pramod.mahajan@marcoaiot.com -

Marco Aiot Pvt Limited

-
-
-
-
- -
-
-
+
+
+ Overview +

+ Summerizees all your payments and subscription for the purchsed + Application +


- - -
- -
-
-

Current Plan

- You can update your plan anytime for best benifit from the product and track your projct +
+
+

Contact Details

+ + Who should we contact if neccessary ? +
-

Switch Plan

+

Manage Contact Details

-
-
-
-
- - Super Package - ₹ 5999 +
+
+
+
+ +
+ + Pramod Mahajan + + + pramod.mahajan@marcoaiot.com + +

Marco Aiot Pvt Limited

+
+
-
-
-

Includes up to 100 userss, 10GB individual cloud storage and access maximum features

+
-
+
+
+
+
+
+

Current Plan

+ + You can update your plan anytime for best benifit from the product + and track your projct + +
+

Switch Plan

+
+
+
+
+ + + +
+
+
+
+ Super Package + ₹ 5999 +
+ + + +
+
+

+ Includes up to 100 userss, 10GB individual cloud storage and + access maximum features +

+
+
+
+
+

-
- -
-
-

Billing History

- Sumary on the payment history for the subscription plan of the application +
+
+
+

Billing History

+ + Sumary on the payment history for the subscription plan of the + application +
-

Billing History

+

Billing History

-
- -
+
-
- ) -} + ); +}; -export default SubscriptionOverview +export default SubscriptionOverview; diff --git a/src/components/UserSubscription/SelectPlan.jsx b/src/components/UserSubscription/SelectPlan.jsx index da320767..88f5637b 100644 --- a/src/components/UserSubscription/SelectPlan.jsx +++ b/src/components/UserSubscription/SelectPlan.jsx @@ -142,7 +142,7 @@ const SelectPlan = ({ currentStep, setStepStatus, onNext }) => {
{isError && ( -
+

{error?.message}

{error?.name} { ) : ( <> - {plans?.map((plan) => ( +
+ {plans?.map((plan) => (
{
))} +
{selectedPlan && (
@@ -230,19 +232,19 @@ const SelectPlan = ({ currentStep, setStepStatus, onNext }) => { return ( <>
-
+
Max Users: {maxUser}
-
+
Max Storage: {maxStorage} MB
-
+
Trial Days: {trialDays} @@ -331,7 +333,7 @@ const SelectPlan = ({ currentStep, setStepStatus, onNext }) => { {/* Image Section */}
image {
+

Please provide your personal and organizational information to help us set up your account.

{/* First Name */} @@ -111,6 +112,7 @@ const SubscriptionForm = ({ currentStep, setCurrentStep, setStepStatus }) => { {...register("contactNumber")} inputMode="tel" placeholder="+91 9876543210" + maxLength={13} /> {errors.contactNumber && (
diff --git a/src/components/UserSubscription/SubscriptionLayout.jsx b/src/components/UserSubscription/SubscriptionLayout.jsx index cfd481c0..a9145a3d 100644 --- a/src/components/UserSubscription/SubscriptionLayout.jsx +++ b/src/components/UserSubscription/SubscriptionLayout.jsx @@ -7,8 +7,8 @@ const SubscriptionLayout = ({ stepStatus = {}, }) => { return ( -
-
    +
    +
      {configStep.map((step, index) => { const stepNumber = index + 1; const status = stepStatus[stepNumber] || "pending"; diff --git a/src/pages/Home/HomeSchema.jsx b/src/pages/Home/HomeSchema.jsx index 867d9d52..53f14edc 100644 --- a/src/pages/Home/HomeSchema.jsx +++ b/src/pages/Home/HomeSchema.jsx @@ -8,7 +8,7 @@ export const OrganizationSchema = z.object({ organizationName: z.string().min(1, "Organization Name is required"), contactNumber: z .string() - .min(5, "Contact Number is too short") + .min(10, "Contact Number is too short") .regex( /^[+]?[(]?[0-9]{1,4}[)]?[-\s./0-9]*$/, "Invalid phone number format"