From a3a6e0d66f9fd61b76827d077934fbbf891a3a26 Mon Sep 17 00:00:00 2001 From: ssmumbai07 Date: Fri, 22 Mar 2024 00:11:35 -0700 Subject: [PATCH 1/2] Changes related to landing page --- backend/src/main.ts | 2 +- frontend/src/app/App.tsx | 8 + .../src/app/content/display/Provisions.tsx | 4 +- .../documentpreview/CustomCollapsible.tsx | 2 +- .../documentpreview/DocumentPreview.scss | 5 + .../pages/documentpreview/DocumentPreview.tsx | 405 +++++++++++------- 6 files changed, 268 insertions(+), 158 deletions(-) diff --git a/backend/src/main.ts b/backend/src/main.ts index 982a558e..c0dcef8a 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -22,6 +22,6 @@ async function bootstrap() { const appService = app.get(AppService); // await appService.initializeDb(); - await app.listen(3000); + await app.listen(3001); } bootstrap(); diff --git a/frontend/src/app/App.tsx b/frontend/src/app/App.tsx index cc380ded..9f1369e8 100644 --- a/frontend/src/app/App.tsx +++ b/frontend/src/app/App.tsx @@ -87,6 +87,14 @@ const App: FC = () => { } /> + + + + } + /> {documentTypes.map((docType) => ( = ({ return ( <> -
+ {/*
@@ -109,7 +109,7 @@ const Provisions: FC = ({ ))} -
+
*/} = ({ title, children, isOpen
{title}
- {isSpanRequired ?
+ {(isSpanRequired && isOpenonClick) ?
setTenureFileNumber(e.target.value)} + /> +
+
+ +
+
+ +
+
+
+
DTID:
+
+ {/* {data?.fileNum || } */} + setDtid(e.target.value)} + /> + {errors.dtid &&
{errors.dtid}
} +
+
+
+
Primary Contact Name:
+
{data?.primaryContactName}
+
- {documentPreviewResponse !== null ? ( - - ) : ( - '' - )} + {data ? : } - - {documentPreviewResponse !== null ? ( - - ) : ( - '' - )} + {data ? : } - - {documentPreviewResponse !== null ? ( - - ) : ( - '' - )} + {data ? : }

Create Document


-
+
- + {(dtidNumber && documentType) ? : } - - + {(dtidNumber && documentType) ? : } - -
- - +
+ <> + + +
-
+ ); }; From 9bdfa7b426c4bb477355a04e6a7ae1bcb5dadb2d Mon Sep 17 00:00:00 2001 From: ssmumbai07 Date: Fri, 22 Mar 2024 00:17:18 -0700 Subject: [PATCH 2/2] Restoring the port number --- backend/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main.ts b/backend/src/main.ts index c0dcef8a..982a558e 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -22,6 +22,6 @@ async function bootstrap() { const appService = app.get(AppService); // await appService.initializeDb(); - await app.listen(3001); + await app.listen(3000); } bootstrap();