diff --git a/src/Assets/.DS_Store b/src/Assets/.DS_Store new file mode 100644 index 0000000..e9d0bcc Binary files /dev/null and b/src/Assets/.DS_Store differ diff --git a/src/Components/Document/DocEditPage.js b/src/Components/Document/DocEditPage.js index 48a4012..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; @@ -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; @@ -477,6 +436,7 @@ const DocEditPage = (props) => { const handleBack = () => { navigate(`/documents`); }; + console.log("parsedRogs", parsedRogs); console.log("responses", responses); const editingContent = () => { @@ -592,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 65dcac9..6ac0fcb 100644 --- a/src/Components/Document/DocumentListPage.js +++ b/src/Components/Document/DocumentListPage.js @@ -149,16 +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}/${responseGenerations}/${parentCaseId}/${documentType}` - ); + navigate(`/docedit/${docId}/${caseId}`); } } diff --git a/src/Components/Home/HomePage.js b/src/Components/Home/HomePage.js index 13f36e0..d111823 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 or + add special language with tags. Concise yet comprehensive + demands, done in minutes and downloadable as .docx.

@@ -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. + 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.

@@ -180,7 +184,7 @@ const HomePage = () => {
@@ -207,7 +211,7 @@ const HomePage = () => {
@@ -215,13 +219,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/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} /> diff --git a/src/styles/homepage.scss b/src/styles/homepage.scss index 512a055..d875eb3 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,10 +290,9 @@ 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); - padding: 16px 18px; + margin-top: -17px; } .card-upper-box { @@ -308,7 +311,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,14 +323,14 @@ 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 { - border-radius: 12.34px 12.34px 0px 0px; padding-bottom: 18px; background: white; } @@ -362,10 +365,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; } .home-card-divider { @@ -464,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 { @@ -502,12 +502,13 @@ 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; + color: #1f74a7; } h6.heading-7 { @@ -526,6 +527,7 @@ h6.heading-7 { font-size: 1.1rem; font-weight: 400; width: 520px; + color: #1f74a7; } .d-flex.div-block-3 { @@ -554,7 +556,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,9 +579,9 @@ 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; } .heading-6-mobile { @@ -594,7 +596,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); } @@ -603,9 +604,7 @@ button.button-2 { flex-direction: column; align-items: center; justify-content: center; - background-color: #f2f2ff; width: 100%; - border-radius: 10px 10px 0px 0px; } footer.footer { @@ -748,7 +747,6 @@ li.nav-item { background-position: center; background-repeat: no-repeat; background-size: cover; - border-radius: 10px; } section.section-1:before { @@ -952,7 +950,6 @@ li.nav-item { } .card-body { - border-radius: 0px 0px 12.336px 12.336px; background: #fff; box-shadow: none; padding: 16px 18px; @@ -994,7 +991,6 @@ li.nav-item { } img.card-img { - border-radius: 12.34px 12.34px 0px 0px; padding-bottom: 18px; background: white; } @@ -1125,6 +1121,7 @@ li.nav-item { h4.heading-6 { display: none; + color: #1f74a7; } h6.heading-7 { @@ -1176,13 +1173,13 @@ li.nav-item { margin-bottom: 1.1rem; margin-left: auto; margin-right: auto; + color: #1f74a7; } button.button-2 { width: 238px; height: 46px; flex-shrink: 0; - border-radius: 8px; background: #4675c3; border: 0; color: #fff; @@ -1205,7 +1202,6 @@ li.nav-item { padding: 58px 17px; background-position: center; background-size: cover; - border-radius: 9.049px; background: #ffb571; background-repeat: no-repeat; }