From 23d1f57a2c9da2048ccd4bc143482abfd3063769 Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Mon, 11 Mar 2024 07:35:34 -0500 Subject: [PATCH 1/6] more --- src/Components/Document/DocEditPage.js | 41 -------------------------- 1 file changed, 41 deletions(-) diff --git a/src/Components/Document/DocEditPage.js b/src/Components/Document/DocEditPage.js index 48a4012..4107ad7 100644 --- a/src/Components/Document/DocEditPage.js +++ b/src/Components/Document/DocEditPage.js @@ -232,48 +232,7 @@ const DocEditPage = (props) => { }) .catch((err) => console.log(err)); }, [documentId, docType]); - //_______________________________ - /* - async function getOutgoingRequests(documentId) { - console.log("getOutgoingRequests fired--------------------"); - if (!documentId) { - return; - } - const docType = String(documentType); - const docId = String(documentId); - const response = await fetch( - `${apiUrl}/v1/get-outgoing-requests/${docId}/${docType}`, - { - method: "GET", - } - ); - const req = await response.json(); - return req; - } - useEffect(() => { - if (!documentId) { - return; - } - getOutgoingRequests(documentId) - .then((data) => { - console.log( - "-------------------------data[0].requests", - data[0].requests - ); - const merged = [...foundationRogs, ...data[0].requests]; - const resp = merged?.map((item, index) => { - // NEVER CHANGE THIS: - return { showInputEle: false, text: item.text, index: index }; - }); - if (resp.length > 10) { - setRequests(resp); - setProdReq(standardProd); - } - }) - .catch((err) => console.log(err)); - }, [documentId]); -*/ async function postEditedResponses(docId, docType) { let obj = {}; obj["type"] = docType; From 69e1aa9453c558baea138d1f5eddb5b8b098dad5 Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Mon, 11 Mar 2024 07:41:00 -0500 Subject: [PATCH 2/6] more --- src/Components/Document/DocumentListPage.js | 4 +--- src/pageElements/Cards.js | 8 +------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/Components/Document/DocumentListPage.js b/src/Components/Document/DocumentListPage.js index 65dcac9..6e3435d 100644 --- a/src/Components/Document/DocumentListPage.js +++ b/src/Components/Document/DocumentListPage.js @@ -156,9 +156,7 @@ const DocumentListPage = ({ perPage }) => { if (documentType === "interrogatories-out") { navigate(`/reqedit/${_id}/interrogatories-out/${parentCaseId}`); } else { - navigate( - `/docedit/${_id}/${responseGenerations}/${parentCaseId}/${documentType}` - ); + navigate(`/docedit/${_id}/${parentCaseId}`); } } diff --git a/src/pageElements/Cards.js b/src/pageElements/Cards.js index 4ecb816..0f83ba0 100644 --- a/src/pageElements/Cards.js +++ b/src/pageElements/Cards.js @@ -353,13 +353,7 @@ export const DocCard = (props) => { disabled={disabled} className={"primary-button pt-2 pb-2 gen-button"} onClick={() => - documentId && - handleNavigate( - documentId, - responseGenerations, - parentCaseId, - docType - ) + documentId && handleNavigate(documentId, parentCaseId, docType) } labelText={buttonText} /> From d460c0a38793ccb063e633555ef8188ba3ba8bd1 Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Mon, 11 Mar 2024 10:51:40 -0500 Subject: [PATCH 3/6] more --- src/Components/Home/HomePage.js | 32 ++++++++++++++++---------------- src/styles/homepage.scss | 20 +++++++++++--------- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/Components/Home/HomePage.js b/src/Components/Home/HomePage.js index 13f36e0..662c6ed 100644 --- a/src/Components/Home/HomePage.js +++ b/src/Components/Home/HomePage.js @@ -1,6 +1,10 @@ import Button from "../../pageElements/Button"; import arrow from "../../Assets/Images/Arrow.png"; import { useNavigate } from "react-router-dom"; +import sweet_card_2 from "../../Assets/Images/sweet_card_2.png"; +import sweet_card_1 from "../../Assets/Images/sweet_card_1.png"; +import sweet_card_4 from "../../Assets/Images/sweet_card_4.png"; +import opac_butta from "../../Assets/Images/opac_butta.png"; import "../../styles/homepage.scss"; const HomePage = () => { @@ -126,7 +130,7 @@ const HomePage = () => {
ai hand {

- Generate discovery requests with a few clicks, or select - manually from a comprehensive request library. Done in a - heartbeat, with a .docx for review and service. + Generate discovery requests with AI at your service, edit + add custom language with tags. Done in minutes, with a .docx + for review and service.

@@ -153,7 +157,7 @@ const HomePage = () => {
scales image {

Novodraft's AI drafts responses complete with compelling - arguments about what you choose not to disclose. Finished in - minutes with a .docx file for service. + arguments about what you choose to disclose versus withhold. + Finished in minutes with downloadable.docx file.

@@ -179,11 +183,7 @@ const HomePage = () => { {/*********** CARD THREE *********** */}
- +
@@ -207,7 +207,7 @@ const HomePage = () => {
@@ -215,13 +215,13 @@ const HomePage = () => {

- Questions about our services?

We are here to - answer! + Questions about our AI services?

+ We'd like to talk!

Questions about our products and services?

-

We’re here to answer!

+

We're here to answer!

Let us show you how Novodraft will revolutionize your diff --git a/src/styles/homepage.scss b/src/styles/homepage.scss index 512a055..98d384c 100644 --- a/src/styles/homepage.scss +++ b/src/styles/homepage.scss @@ -289,7 +289,7 @@ p.text-block-2.text-center { border-radius: 0px 0px 12.336px 12.336px; background: #fff; box-shadow: 25px 0 20px -20px rgba(199, 199, 208, 0.271); - padding: 16px 18px; + margin-top: -17px; } .card-upper-box { @@ -308,7 +308,7 @@ p.text-block-2.text-center { p.card-texts { color: #90a3b4; font-family: Roboto; - font-size: 14px; + font-size: 0.98rem; font-style: normal; font-weight: 400; line-height: 23px; /* 125% */ @@ -320,10 +320,11 @@ p.card-texts { .foo-card-title { font-family: Roboto; - font-size: 1.5rem; - font-weight: 500; + font-size: 1.7rem; + font-weight: 400; margin-top: 8px; - letter-spacing: -0.009rem; + letter-spacing: -0.007rem; + color: #1f74a7; } img.card-img { @@ -362,9 +363,6 @@ p.card-title { padding: 8px 10px 0px 10px; width: 270px; height: 150px; - border-right: 1px solid var(--ultra-light-accent); - border-bottom: 1px solid var(--ultra-light-accent); - border-left: 1px solid var(--ultra-light-accent); border-radius: 0px 0px 10px 10px; } @@ -508,6 +506,7 @@ h4.heading-6 { text-transform: capitalize; margin-bottom: 18px; margin-top: 6px; + color: #1f74a7; } h6.heading-7 { @@ -526,6 +525,7 @@ h6.heading-7 { font-size: 1.1rem; font-weight: 400; width: 520px; + color: #1f74a7; } .d-flex.div-block-3 { @@ -580,6 +580,7 @@ button.button-2 { border-radius: 9.049px; background-color: #ffb571; background-repeat: no-repeat; + opacity: 0.9; } .heading-6-mobile { @@ -603,7 +604,6 @@ button.button-2 { flex-direction: column; align-items: center; justify-content: center; - background-color: #f2f2ff; width: 100%; border-radius: 10px 10px 0px 0px; } @@ -1125,6 +1125,7 @@ li.nav-item { h4.heading-6 { display: none; + color: #1f74a7; } h6.heading-7 { @@ -1176,6 +1177,7 @@ li.nav-item { margin-bottom: 1.1rem; margin-left: auto; margin-right: auto; + color: #1f74a7; } button.button-2 { From 2eacd14e1a324272fa8ffdf236d7f5bfb94cb047 Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Mon, 11 Mar 2024 11:00:46 -0500 Subject: [PATCH 4/6] More --- src/Components/Home/HomePage.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Components/Home/HomePage.js b/src/Components/Home/HomePage.js index 662c6ed..a2d4f84 100644 --- a/src/Components/Home/HomePage.js +++ b/src/Components/Home/HomePage.js @@ -146,9 +146,9 @@ const HomePage = () => {

- Generate discovery requests with AI at your service, edit - add custom language with tags. Done in minutes, with a .docx - for review and service. + Generate discovery requests with AI at your service, edit or + add special language with tags. Concise yet comprehensive + demands, done in minutes and downloadable as .docx.

@@ -173,9 +173,9 @@ const HomePage = () => {

- Novodraft's AI drafts responses complete with compelling - arguments about what you choose to disclose versus withhold. - Finished in minutes with downloadable.docx file. + Novodraft's AI powers responses with compelling arguments + about what you choose to disclose and withhold. You'll + finish in minutes with a downloadable .docx file.

From 5fe2d5b2ab7a070db98d1672ce7d59ec507f5d1a Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Mon, 11 Mar 2024 11:24:48 -0500 Subject: [PATCH 5/6] more --- src/Assets/.DS_Store | Bin 0 -> 6148 bytes src/Components/Home/HomePage.js | 12 ++++++++---- src/styles/homepage.scss | 25 +++++++++---------------- 3 files changed, 17 insertions(+), 20 deletions(-) create mode 100644 src/Assets/.DS_Store diff --git a/src/Assets/.DS_Store b/src/Assets/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e9d0bcc48dec38bb1e65392241b21bbf82115be5 GIT binary patch literal 6148 zcmeHK%}T>S5Z<-5O({YS3VI88E!fg(4_-p72d_r-pi&bOYB0@~CN+mr$X#E^7x8(V z+1(t10dFF926n&s-OYZG{b7u8XB7+>GZ|wBG(?U{ji9?Ww4;*|xf~;8sh_6{KNfz? zK!4GN-`-+ZY|cD3W7Y5f@E38EX8ryr-)S^=TWzClbd5*%S>$f!WvkTjmiK7g2od|G z?)kS-m`~093z1}Al!QxJ5CtKmJlsV|AaX~nk|33}t_m0(qcb&+*6Y#fxMvMV<4w<6 z4+cXpM#Hnsreho&pPXM$U*dTp-V~D@NSCswv4nR}DvNq`mq{#=8TiYZGMA7TAO?s5 zVqohS&_{vM-MW?2f{6iQ;3o!ff3Tn-+8PUma_fK&ug@57BBFqfZwW+8qph(}2oVsj zN&!_V*G~+t%E52xJX>R-P?a+-XNGa~%;n>S%h|zi$#lkTh13%R#6XpShB8e&|1aT} zseR;EOUNPyh=G5`0B=s*i35w$XY04+;aO`zdxD07c?BvUpjR#dVBkJ-D1$0)p$>Vr X#zG;Ef__;JNEZP~2zA83FEH>0ZbwWB literal 0 HcmV?d00001 diff --git a/src/Components/Home/HomePage.js b/src/Components/Home/HomePage.js index a2d4f84..d111823 100644 --- a/src/Components/Home/HomePage.js +++ b/src/Components/Home/HomePage.js @@ -130,7 +130,7 @@ const HomePage = () => {
ai hand {
scales image { {/*********** CARD THREE *********** */}
- +
@@ -207,7 +211,7 @@ const HomePage = () => {
diff --git a/src/styles/homepage.scss b/src/styles/homepage.scss index 98d384c..011e24d 100644 --- a/src/styles/homepage.scss +++ b/src/styles/homepage.scss @@ -30,7 +30,6 @@ a { } .card-image { - border-radius: 15px; height: 90%; width: 90%; } @@ -55,6 +54,12 @@ section.section-1:before { .homepage-button { color: white; z-index: 2; + border-radius: 0px !important; + filter: drop-shadow(4px 3px #b5a08e); +} + +.homepage-button:hover { + filter: drop-shadow(0px 0px #b5a08e); } section.section-1 { @@ -194,7 +199,6 @@ button.button-1 { font-weight: 400; line-height: normal; text-transform: capitalize; - border-radius: 15px; border: 1px solid #fff; } @@ -286,7 +290,6 @@ p.text-block-2.text-center { } .card-body { - border-radius: 0px 0px 12.336px 12.336px; background: #fff; box-shadow: 25px 0 20px -20px rgba(199, 199, 208, 0.271); margin-top: -17px; @@ -328,7 +331,6 @@ p.card-texts { } img.card-img { - border-radius: 12.34px 12.34px 0px 0px; padding-bottom: 18px; background: white; } @@ -363,7 +365,6 @@ p.card-title { padding: 8px 10px 0px 10px; width: 270px; height: 150px; - border-radius: 0px 0px 10px 10px; } .home-card-divider { @@ -500,9 +501,9 @@ h4.heading-6 { color: #fff; font-family: Roboto; font-size: 28px; - font-weight: 500; + font-weight: 400; line-height: 38px; /* 156.25% */ - letter-spacing: 0.369px; + letter-spacing: 1.369px; text-transform: capitalize; margin-bottom: 18px; margin-top: 6px; @@ -554,7 +555,7 @@ h6.heading-7 { button.button-2 { width: 375px; height: 65px; - border-radius: 8px; + filter: drop-shadow(6px 6px #b5a08e); background: #4675c3; border: 0; color: #fff; @@ -577,7 +578,6 @@ button.button-2 { padding: 76px 83px; background-position: center; //background-size: cover; - border-radius: 9.049px; background-color: #ffb571; background-repeat: no-repeat; opacity: 0.9; @@ -595,7 +595,6 @@ button.button-2 { width: 300px; height: 480px; background-color: #fff; - border-radius: 10px; box-shadow: 0 60px 80px rgba(0, 0, 0, 0.6), 0 45px 26px rgba(0, 0, 0, 0.14); } @@ -605,7 +604,6 @@ button.button-2 { align-items: center; justify-content: center; width: 100%; - border-radius: 10px 10px 0px 0px; } footer.footer { @@ -748,7 +746,6 @@ li.nav-item { background-position: center; background-repeat: no-repeat; background-size: cover; - border-radius: 10px; } section.section-1:before { @@ -952,7 +949,6 @@ li.nav-item { } .card-body { - border-radius: 0px 0px 12.336px 12.336px; background: #fff; box-shadow: none; padding: 16px 18px; @@ -994,7 +990,6 @@ li.nav-item { } img.card-img { - border-radius: 12.34px 12.34px 0px 0px; padding-bottom: 18px; background: white; } @@ -1184,7 +1179,6 @@ li.nav-item { width: 238px; height: 46px; flex-shrink: 0; - border-radius: 8px; background: #4675c3; border: 0; color: #fff; @@ -1207,7 +1201,6 @@ li.nav-item { padding: 58px 17px; background-position: center; background-size: cover; - border-radius: 9.049px; background: #ffb571; background-repeat: no-repeat; } From 38333199e379de0ccc077c8220779f16f8dea3a7 Mon Sep 17 00:00:00 2001 From: Kenneth Jannette Date: Mon, 11 Mar 2024 16:48:50 -0500 Subject: [PATCH 6/6] more --- src/Components/Document/DocEditPage.js | 6 ++++-- src/Components/Document/DocumentListPage.js | 7 +++---- src/styles/homepage.scss | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/Components/Document/DocEditPage.js b/src/Components/Document/DocEditPage.js index 4107ad7..7efc596 100644 --- a/src/Components/Document/DocEditPage.js +++ b/src/Components/Document/DocEditPage.js @@ -147,6 +147,7 @@ const DocEditPage = (props) => { if (docSnap.exists()) { const _case = docSnap.data(); _case.id = docSnap._key.path.segments[1]; + console.log("case", _case); setFetchedCase(_case); } else { console.log("DB item does not exist"); @@ -204,7 +205,6 @@ const DocEditPage = (props) => { }) .catch((err) => console.log(err)); }, [documentId, docType]); - //_______________________________ async function getParsedRogs(docId, docType) { if (!docId || !docType) { return; @@ -436,6 +436,7 @@ const DocEditPage = (props) => { const handleBack = () => { navigate(`/documents`); }; + console.log("parsedRogs", parsedRogs); console.log("responses", responses); const editingContent = () => { @@ -551,7 +552,8 @@ const DocEditPage = (props) => { }; const readyToEdit = fetchedCase && responses.length > 1; - + console.log("readyToEdit", readyToEdit); + console.log("fetchedCase", fetchedCase); return isLoading ? ( ) : isBusy ? ( diff --git a/src/Components/Document/DocumentListPage.js b/src/Components/Document/DocumentListPage.js index 6e3435d..6ac0fcb 100644 --- a/src/Components/Document/DocumentListPage.js +++ b/src/Components/Document/DocumentListPage.js @@ -149,14 +149,13 @@ const DocumentListPage = ({ perPage }) => { caseId, documentType ) { - const _id = String(documentId); + const docId = String(documentId); const _resGen = String(responseGenerations); - const parentCaseId = String(caseId); const _docType = String(documentType); if (documentType === "interrogatories-out") { - navigate(`/reqedit/${_id}/interrogatories-out/${parentCaseId}`); + navigate(`/reqedit/${docId}/interrogatories-out/${caseId}`); } else { - navigate(`/docedit/${_id}/${parentCaseId}`); + navigate(`/docedit/${docId}/${caseId}`); } } diff --git a/src/styles/homepage.scss b/src/styles/homepage.scss index 011e24d..d875eb3 100644 --- a/src/styles/homepage.scss +++ b/src/styles/homepage.scss @@ -463,12 +463,13 @@ p.text-block-4 { .section-three-header { font-size: 30px; font-family: Roboto; + font-weight: 400; letter-spacing: 0.09px; align-items: center; justify-content: center; margin: 12px auto 0px auto; color: #757575; - letter-spacing: -0.09rem; + letter-spacing: 0.13rem; } .section-three-subhead {