From a9e69afe08527fe124287932a44cc0ccddb96d2b Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Tue, 8 Oct 2024 18:57:07 +0530 Subject: [PATCH] Update UI for configure deployment step --- .../components/projects/create/Configure.tsx | 145 ++++++++++-------- 1 file changed, 77 insertions(+), 68 deletions(-) diff --git a/packages/frontend/src/components/projects/create/Configure.tsx b/packages/frontend/src/components/projects/create/Configure.tsx index 4ae25460..1411c5df 100644 --- a/packages/frontend/src/components/projects/create/Configure.tsx +++ b/packages/frontend/src/components/projects/create/Configure.tsx @@ -75,14 +75,14 @@ const Configure = () => { ); data.option === 'Auction' - ? navigate( - `/${orgSlug}/projects/create/success/${addProjectFromTemplate.id}`, - { - state: { - isAuction: true - } - }) - : navigate(`/${orgSlug}/projects/create/template/deploy?projectId=${addProjectFromTemplate.id}&templateId=${templateId}`); + ? navigate( + `/${orgSlug}/projects/create/success/${addProjectFromTemplate.id}`, + { + state: { + isAuction: true + } + }) + : navigate(`/${orgSlug}/projects/create/template/deploy?projectId=${addProjectFromTemplate.id}&templateId=${templateId}`); } catch (error) { console.error('Error creating project:', error); toast({ @@ -105,87 +105,96 @@ const Configure = () => { Configure deployment + + The app can be deployed by setting the deployer LRN for a single deployment or by creating a deployer auction for multiple deployments +
-
-
- Choose an option - ( - + + )} />
-
- Max Price - ( - - )} - /> -
- - )} + )} -
- + {selectedOption === 'Auction' && ( + <> +
+ + Set the number of deployers and maximum price for each deployment + + Number of Deployers + ( + + )} + /> +
+
+ Maximum Price (alnt) + ( + + )} + /> +
+ + )} + +
+ +
-
-
+ ); };