Merge pull request #69 from kjannette/how

How
This commit is contained in:
S Jannette
2024-01-31 22:51:50 -06:00
committed by GitHub
3 changed files with 134 additions and 111 deletions

View File

@@ -3,7 +3,7 @@ import { AppContext } from "../../Hooks/useContext/appContext";
import { Steps } from "../../Constants/Copy/howToSteps.js"; import { Steps } from "../../Constants/Copy/howToSteps.js";
import "../../styles/howTo-page.scss"; import "../../styles/howTo-page.scss";
import { ReactComponent as HowToInfoSvg } from "../../Assets/svg/howToInfo.svg"; import howto from "../../Assets/Images/howto.png";
const HowToPage = () => { const HowToPage = () => {
const { appState } = useContext(AppContext); const { appState } = useContext(AppContext);
@@ -13,18 +13,21 @@ const HowToPage = () => {
return ( return (
<> <>
<div className="how-to-info-container"> <div>
<div className="how-to-info-wrapper"> <Steps />
<div className="how-to-image-wrapper">
<HowToInfoSvg className="how-to-info-svg" />
</div>
</div>
<div className="how-to-steps-container">
<Steps />
</div>
</div> </div>
</> </>
); );
}; };
export default HowToPage; export default HowToPage;
/*
<div className="how-to-image-wrapper">
<img className="how-to-image" src={howto}></img>
</div>
<div className="how-to-image-wrapper">
<img className="footer-logo" src={logoWhite}></img>
</div>
*/

View File

@@ -1,46 +1,63 @@
import { ExclamationTriangle } from "react-bootstrap-icons"; import { ExclamationTriangle } from "react-bootstrap-icons";
import howtohand from "../../Assets/Images/howtohand.png";
import "../../styles/howTo-page.scss";
export const Steps = () => ( export const Steps = () => (
<div className="steps-wrapper"> <div className="steps-wrapper">
<h2 className="doc-header-text">Generate Discovery Responses</h2> <div className="steps-text-wrapper">
<ol className="steps-list"> <h2 className="doc-header-text">Generate Discovery Responses</h2>
<li> </div>
<strong>CREATE THE CASE: </strong> Click Cases in the top navigation <div className="fooze">
bar to go to the <strong>Case View</strong>. Click the Create New Case <div className="steps-upper-left">
button (lower right) to surface the Create Case Modal. Enter all <div className="steps-text-wrapper">
relevant information -- case name, case number, parties, etc. -- and <span className="bold-span">CREATE THE CASE: </span> Click Cases in
click Save Case to open the new case's the top navigation bar to go to the Case View. Click Create New Case
<strong> Details View.</strong> Click “Upload Document”. (lower right button) to surface the Create Case Modal. Follow prompts
</li> to enter relevant information. You will end with the Case's Details
<li> View. Click “Upload Document”.
<strong>UPLOAD YOUR DOCUMENT: </strong>You will now see the Document </div>
Upload Modal. Enter your discovery request's info: document title, i.e. <div className="steps-text-wrapper">
Defendants Interrogatories, and (optionally) the date served. Drag <span className="bold-span">UPLOAD YOUR DOCUMENT: </span>You will now
and drop the file, or click to select it from your computer's files,{" "} see the Document Upload Modal. Enter the discovery request's title,
{" "} i.e. Defendants Interrogatories, and (optionally) the date served.
then click <strong> “Upload”.</strong> Drag and drop, or click and select the .pdf from your files. {" "}
<br /> The upload will begin. Parsing the document usually takes 1 to 2 <div className="mini-break">
minutes, but be patient - it may take up to 5. Click <span className="bold-span"> Upload.</span>
</li> </div>
<li> <div className="mini-break">
<strong>GENERATE THE RESPONSE: </strong>From the Document List View, Parsing the document usually takes under 2 minutes, but be patient -
click the “Generate Responses'' button. Novdrafts Intellidraft AI will it may take up to 5.
generate the response and automatically navigate to the interactive </div>
Document Editor. You can edit the responses and save progress any time </div>
by clicking the “Save Changes” button. </div>
</li> <div className="steps-upper-right">
<li> <div className="image-right-one">
<strong>DOWNLOAD YOUR RESPONSE DOCUMENT: </strong>Click the “Create <div className="image-jhon"></div>
.Docx' button to download your fully-formatted, ready-to-serve response. <div className="image-moun">
</li> <img src={howtohand} className="howto-hand-img"></img>
</div>
</div>
</div>
</div>
<div className="barzee">
<div className="steps-text-wrapper">
<span className="bold-span">GENERATE THE RESPONSE: </span>From the
Document List View, click the Generate Responses'' button. Novdrafts
Intellidraft AI will generate the response and automatically navigate to
the interactive Document Editor. You can edit the responses and save
progress any time by clicking the Save Changes button.
</div>
<div className="steps-text-wrapper">
<span className="bold-span">DOWNLOAD YOUR RESPONSE DOCUMENT: </span>
Click the Create .Docx' button to download your fully-formatted,
ready-to-serve response.
</div>
<ExclamationTriangle <ExclamationTriangle
style={{ color: "red", marginRight: "6px", marginBottom: "2px" }} style={{ color: "red", marginRight: "6px", marginBottom: "2px" }}
/> />
<strong>Pro tip:</strong> Once you've created the case, you can skip step <span className="bold-span">Pro tip:</span> Once you've created the case,
one. Simply search for the case by entering the case number in the search you can skip step one. Simply search for the case by entering the case
bar on your Dashboard, click "Express Document Upload" and follow the number in the search bar on your Dashboard, click "Express Document
prompts. Upload" and follow the prompts.
</ol> </div>
<p className="steps-p"></p>
</div> </div>
); );

View File

@@ -23,67 +23,70 @@
font-weight: 500; font-weight: 500;
} }
.how-to-info-container { .steps-wrapper {
.how-to-info-wrapper { display: flex;
margin-top: 20px; flex-direction: column;
display: flex; width: 100%;
align-items: center; padding: 0px 10px;
justify-content: center; background-color: #e6e6e653;
} border-radius: 10px;
}
.how-to-image-wrapper {
display: flex; .steps-text-wrapper {
max-width: 1100px; margin-bottom: 14px;
height: 100%; padding: 6px;
background-color: var(--haq-blue); //#e6e6e653; text-align: justify;
border-radius: 10px; }
align-items: center;
justify-content: center; .fooze {
border-radius: 20px; display: flex;
} flex-direction: row;
}
.how-to-info-svg {
padding: 30px 30px; .steps-upper-right {
width: 80%; display: flex;
height: 0%; flex-direction: column;
border-radius: 40px;
} width: 50%;
}
.how-to-steps-container {
margin: 5px 20px; .steps-upper-left {
} display: flex;
.steps-wrapper { flex-direction: column;
display: flex; width: 50%;
flex-direction: column; }
margin: 25px 0px;
background-color: #e6e6e653; .image-right-one {
border-radius: 10px; display: flex;
padding: 16px 38px 16px 25px; flex-direction: row;
text-align: justify; }
strong { .image-jhon {
font-weight: 500; display: flex;
} flex-direction: column;
ol { width: 12%;
li { }
margin-bottom: 14px;
} .mini-break {
} margin: 8px 0px;
}
.doc-header-text {
margin-bottom: 16px !important; .image-moun {
margin-left: 0px; display: flex;
letter-spacing: -0.6px; flex-direction: column;
font-weight: 400; width: 80%;
} }
.steps-p { .howto-hand-img {
margin-bottom: 14px; border-radius: 10px;
padding: 0px 14px; width: 424px;
} }
.howto-special-para { .bold-span {
margin-top: 6px; font-weight: 500;
} }
}
.barzee {
padding-right: 20px;
margin-top: -12px;
} }