From d2c7f1ca190914962f95312550e2e3a3e72f832a Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Thu, 1 Feb 2024 12:30:08 -0600 Subject: [PATCH 1/4] more --- .../Document/captionHeaders/floridaCaption.js | 69 +++++++++++++++++++ src/Components/SignupPage/SignupPage.js | 4 +- 2 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 src/Components/Document/captionHeaders/floridaCaption.js diff --git a/src/Components/Document/captionHeaders/floridaCaption.js b/src/Components/Document/captionHeaders/floridaCaption.js new file mode 100644 index 0000000..321087b --- /dev/null +++ b/src/Components/Document/captionHeaders/floridaCaption.js @@ -0,0 +1,69 @@ +import { useState } from "react"; +import Scrollbutton from "react-bootstrap/Button"; +import { ArrowUp, ArrowDown } from "react-bootstrap-icons"; + +const FloridaCaption = (props) => { + const { fetchedCase, displayCopy, onScrollClick } = props; + + return ( + <> +
+
+
+ {fetchedCase?.jurisdiction} + {fetchedCase?.venue} +
+
+ -----------------------------------------------------------------------X +
+
+
+
+
+
+
+
Edit Document
+
+
+
+ {fetchedCase?.caption ? fetchedCase?.caption : <>}, +
+
+
+
+
Plaintiff(s),
+
+ Index no. {fetchedCase?.caseNumber} +
+
+
+
+
{displayCopy.versusText}
+
Judge: {fetchedCase?.judge}
+
+
+ {fetchedCase?.captionTwo ? fetchedCase?.captionTwo : <>}, +
+
+
+
Defendant(s)
+
+
+
+ ----------------------------------------------------------------------------/ +
+
+
+
+
+ + Scroll + +
+
+
+ + ); +}; + +export default FloridaCaption; diff --git a/src/Components/SignupPage/SignupPage.js b/src/Components/SignupPage/SignupPage.js index 78df696..8725408 100644 --- a/src/Components/SignupPage/SignupPage.js +++ b/src/Components/SignupPage/SignupPage.js @@ -213,14 +213,14 @@ const SignupPage = () => { if (isBusy) { return; } - /* + const dataValues = validateUserData(); if (dataValues === null) { return; } saveLeadData(dataValues); -*/ + setShowSelectPlan(!showSelectPlan); }; From ebd8f1ceda3498846127996a2cb6c5d801332f3f Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Thu, 1 Feb 2024 13:10:25 -0600 Subject: [PATCH 2/4] more --- src/Components/Document/DocEditPage.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Components/Document/DocEditPage.js b/src/Components/Document/DocEditPage.js index e3183b4..90cbcc7 100644 --- a/src/Components/Document/DocEditPage.js +++ b/src/Components/Document/DocEditPage.js @@ -1,6 +1,7 @@ import { useState, useContext, useEffect } from "react"; import NewYorkCaption from "./captionHeaders/newYorkCaption.js"; import NewJerseyCaption from "./captionHeaders/newJerseyCaption.js"; +import FloridaCaption from "./captionHeaders/floridaCaption.js"; import { useParams } from "react-router-dom"; import { Link, useNavigate } from "react-router-dom"; import EditElement from "../../pageElements/EditElement"; @@ -44,7 +45,7 @@ const DocEditPage = () => { parseInt(responseGenerations) ); const [index, setIndex] = useState(0); - + console.log("~~~~~~~~~~~~~~~~~~~~~~~group", group.state); // For document generation: const state = group ? group?.state : null; const lawFirm = group ? group?.firm : null; @@ -84,6 +85,14 @@ const DocEditPage = () => { onScrollClick={onScrollClick} /> ); + case "Florida": + return ( + + ); default: return ( Date: Thu, 1 Feb 2024 13:24:05 -0600 Subject: [PATCH 3/4] more --- src/Components/Document/DocEditPage.js | 2 +- .../Document/captionHeaders/floridaCaption.js | 19 ++++++++++--------- src/styles/captions.scss | 12 ++++++++++++ 3 files changed, 23 insertions(+), 10 deletions(-) create mode 100644 src/styles/captions.scss diff --git a/src/Components/Document/DocEditPage.js b/src/Components/Document/DocEditPage.js index 90cbcc7..0e5fa20 100644 --- a/src/Components/Document/DocEditPage.js +++ b/src/Components/Document/DocEditPage.js @@ -45,7 +45,7 @@ const DocEditPage = () => { parseInt(responseGenerations) ); const [index, setIndex] = useState(0); - console.log("~~~~~~~~~~~~~~~~~~~~~~~group", group.state); + // For document generation: const state = group ? group?.state : null; const lawFirm = group ? group?.firm : null; diff --git a/src/Components/Document/captionHeaders/floridaCaption.js b/src/Components/Document/captionHeaders/floridaCaption.js index 321087b..b438bc1 100644 --- a/src/Components/Document/captionHeaders/floridaCaption.js +++ b/src/Components/Document/captionHeaders/floridaCaption.js @@ -1,7 +1,7 @@ import { useState } from "react"; import Scrollbutton from "react-bootstrap/Button"; import { ArrowUp, ArrowDown } from "react-bootstrap-icons"; - +import "../../../styles/captions.scss"; const FloridaCaption = (props) => { const { fetchedCase, displayCopy, onScrollClick } = props; @@ -9,14 +9,15 @@ const FloridaCaption = (props) => { <>
-
- {fetchedCase?.jurisdiction} - {fetchedCase?.venue} -
-
- -----------------------------------------------------------------------X -
+
+
+ IN THE CIRCUIT COURT OF THE{" "} + {fetchedCase?.jurisdiction.toUpperCase()}
+
+ OF FLORIDA, IN AND FOR {fetchedCase?.venue.toUpperCase()} +
+
@@ -33,7 +34,7 @@ const FloridaCaption = (props) => {
Plaintiff(s),
- Index no. {fetchedCase?.caseNumber} + Case no. {fetchedCase?.caseNumber}
diff --git a/src/styles/captions.scss b/src/styles/captions.scss new file mode 100644 index 0000000..344c9b2 --- /dev/null +++ b/src/styles/captions.scss @@ -0,0 +1,12 @@ +.florida-court-header { + text-align: center; +} + +.florida-court-header-text { + font-weight: 500; +} + +.florida-court-header-text2 { + font-weight: 500; + margin-top: -5px; +} From e3b192b79882f15bb0f236a0cac976a97aba2404 Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Thu, 1 Feb 2024 13:50:42 -0600 Subject: [PATCH 4/4] more --- .../Document/captionHeaders/floridaCaption.js | 25 +++++++++++-------- src/styles/captions.scss | 6 +++++ 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/src/Components/Document/captionHeaders/floridaCaption.js b/src/Components/Document/captionHeaders/floridaCaption.js index b438bc1..461002c 100644 --- a/src/Components/Document/captionHeaders/floridaCaption.js +++ b/src/Components/Document/captionHeaders/floridaCaption.js @@ -26,32 +26,37 @@ const FloridaCaption = (props) => {
Edit Document
-
- {fetchedCase?.caption ? fetchedCase?.caption : <>}, +
+ {fetchedCase?.caption ? fetchedCase?.caption.toUpperCase() : <>},
-
+
Plaintiff(s),
- Case no. {fetchedCase?.caseNumber} + Case No. {fetchedCase?.caseNumber}
-
{displayCopy.versusText}
-
Judge: {fetchedCase?.judge}
+
v.
+ {/*
Judge: {fetchedCase?.judge}
*/}
-
- {fetchedCase?.captionTwo ? fetchedCase?.captionTwo : <>}, +
+ {fetchedCase?.captionTwo ? ( + fetchedCase?.captionTwo.toUpperCase() + ) : ( + <> + )} + ,
-
Defendant(s)
+
Defendant(s)
- ----------------------------------------------------------------------------/ + ________________________________________________________________/
diff --git a/src/styles/captions.scss b/src/styles/captions.scss index 344c9b2..e6ad870 100644 --- a/src/styles/captions.scss +++ b/src/styles/captions.scss @@ -3,10 +3,16 @@ } .florida-court-header-text { + color: #373737; font-weight: 500; } .florida-court-header-text2 { + color: #373737; font-weight: 500; margin-top: -5px; } + +.florida-inner { + font-weight: 400; +}