This commit is contained in:
Kenneth Jannette
2024-01-31 22:11:16 -06:00
parent 5ccade3181
commit 110dfae131
3 changed files with 84 additions and 104 deletions

View File

@@ -3,7 +3,7 @@ import { AppContext } from "../../Hooks/useContext/appContext";
import { Steps } from "../../Constants/Copy/howToSteps.js";
import "../../styles/howTo-page.scss";
import { ReactComponent as HowToInfoSvg } from "../../Assets/svg/howToInfo.svg";
import howto from "../../Assets/Images/howto.png";
const HowToPage = () => {
const { appState } = useContext(AppContext);
@@ -13,18 +13,21 @@ const HowToPage = () => {
return (
<>
<div className="how-to-info-container">
<div className="how-to-info-wrapper">
<div className="how-to-image-wrapper">
<HowToInfoSvg className="how-to-info-svg" />
</div>
</div>
<div className="how-to-steps-container">
<Steps />
</div>
<div>
<Steps />
</div>
</>
);
};
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,55 @@
import { ExclamationTriangle } from "react-bootstrap-icons";
import howtohand from "../../Assets/Images/howtohand.png";
import "../../styles/howTo-page.scss";
export const Steps = () => (
<div className="steps-wrapper">
<h2 className="doc-header-text">Generate Discovery Responses</h2>
<ol className="steps-list">
<li>
<strong>CREATE THE CASE: </strong> Click Cases in the top navigation
bar to go to the <strong>Case View</strong>. Click the Create New Case
button (lower right) to surface the Create Case Modal. Enter all
relevant information -- case name, case number, parties, etc. -- and
click Save Case to open the new case's
<strong> Details View.</strong> Click “Upload Document”.
</li>
<li>
<strong>UPLOAD YOUR DOCUMENT: </strong>You will now see the Document
Upload Modal. Enter your discovery request's info: document title, i.e.
Defendants Interrogatories, and (optionally) the date served. Drag
and drop the file, or click to select it from your computer's files,{" "}
{" "}
then click <strong> “Upload”.</strong>
<br /> The upload will begin. Parsing the document usually takes 1 to 2
minutes, but be patient - it may take up to 5.
</li>
<li>
<div>
<h2 className="doc-header-text">Generate Discovery Responses</h2>
</div>
<div className="fooze">
<div className="steps-upper-left">
<div>
<strong>CREATE THE CASE: </strong> Click Cases in the top navigation
bar to go to the <strong>Case View</strong>. Click the Create New
Case button (lower right) to surface the Create Case Modal. Enter all
relevant information -- case name, case number, parties, etc. -- and
click Save Case to open the new case's
<strong> Details View.</strong> Click “Upload Document”.
</div>
<div>
<strong>UPLOAD YOUR DOCUMENT: </strong>You will now see the Document
Upload Modal. Enter your discovery request's info: document title,
i.e. Defendants Interrogatories, and (optionally) the date served.
Drag and drop the file, or click to select it from your computer's
files, {" "}
then click <strong> “Upload”.</strong>
<br /> The upload will begin. Parsing the document usually takes under
2 minutes, but be patient - it may take up to 5.
</div>
</div>
<div className="steps-upper-right">
<img src={howtohand} className="howto-hand-img"></img>
</div>
</div>
<div className="barzee">
<div>
<strong>GENERATE THE RESPONSE: </strong>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.
</li>
<li>
</div>
<div>
<strong>DOWNLOAD YOUR RESPONSE DOCUMENT: </strong>Click the “Create
.Docx' button to download your fully-formatted, ready-to-serve response.
</li>
</div>
<ExclamationTriangle
style={{ color: "red", marginRight: "6px", marginBottom: "2px" }}
/>
<strong>Pro tip:</strong> Once you've created the case, you can skip step
one. Simply search for the case by entering the case number in the search
bar on your Dashboard, click "Express Document Upload" and follow the
prompts.
</ol>
<p className="steps-p"></p>
<span className="bold-span">Pro tip:</span> Once you've created the case,
you can skip step one. Simply search for the case by entering the case
number in the search bar on your Dashboard, click "Express Document
Upload" and follow the prompts.
</div>
</div>
);

View File

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