diff --git a/.env.development b/.env.development index cd5d6a6..db2f42c 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ REACT_APP_URL_DEV=localhost:3000 -REACT_APP_API_DEV=http://localhost:4000 +REACT_APP_API_DEV=http://localhost:3001 diff --git a/.env.production b/.env.production index 38a8d01..a248e42 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,2 @@ REACT_APP_URL_PROD=https://novodraft.ai -REACT_APP_API_PROD=https://novodraft.ai:4000 \ No newline at end of file +REACT_APP_API_PROD=https://www.novodraft.ai:4000 \ No newline at end of file diff --git a/src/Assets/novodraftLogoNoback.svg b/src/Assets/novodraftLogoNoback.svg deleted file mode 100644 index acff3bb..0000000 --- a/src/Assets/novodraftLogoNoback.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Assets/svg/howToInfo.svg b/src/Assets/svg/howToInfo.svg deleted file mode 100644 index 9f1a876..0000000 --- a/src/Assets/svg/howToInfo.svg +++ /dev/null @@ -1,842 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Components/Document/DocumentListPage.js b/src/Components/Document/DocumentListPage.js index 9f77d6f..0f9d0a9 100644 --- a/src/Components/Document/DocumentListPage.js +++ b/src/Components/Document/DocumentListPage.js @@ -42,9 +42,6 @@ const DocumentListPage = ({ perPage }) => { ? process.env.REACT_APP_API_DEV : process.env.REACT_APP_API_PROD; - console.log("process.env.NODE_ENV", process.env.NODE_ENV); - console.log("process.env.REACT_APP_API_PROD", process.env.REACT_APP_API_PROD); - console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~apiUrl", apiUrl); useEffect(() => { if (count.current == null) { setIsMobile(window.innerWidth < 440); diff --git a/src/Components/Home/HomePage.js b/src/Components/Home/HomePage.js index 108daec..0de396f 100644 --- a/src/Components/Home/HomePage.js +++ b/src/Components/Home/HomePage.js @@ -1,10 +1,6 @@ import Button from "../../pageElements/Button"; -import suitAI from "../../Assets/Images/suitAI.png"; import laptop from "../../Assets/Images/laptop.png"; import arrow from "../../Assets/Images/Arrow.png"; -import scales_centered from "../../Assets/Images/scales_centered.png"; -import hand_rework7 from "../../Assets/Images/hand_rework7.png"; -import gavel_clear1 from "../../Assets/Images/gavel_clear1.png"; import Group80 from "../../Assets/Images/Group80.png"; import { useNavigate } from "react-router-dom"; import "../../styles/homepage.scss"; diff --git a/src/Components/Modals/ConfirmModal.js b/src/Components/Modals/ConfirmModal.js index 2a232dd..83be986 100644 --- a/src/Components/Modals/ConfirmModal.js +++ b/src/Components/Modals/ConfirmModal.js @@ -19,8 +19,11 @@ const ConfirmModal = ({ setIssueText, reportDoc, titleText, + isPromoModal, + cancelButtonText, }) => { const title = titleText ? titleText : "Confirmation"; + return ( @@ -28,7 +31,7 @@ const ConfirmModal = ({ Report an issue ) : ( - {titleText ? ( + {titleText && !isPromoModal ? ( {modalText} - {isReport ? ( + {isReport || isPromoModal ? (
setIssueText(e.target.value)} - label={issueText ? "" : "Description of issue"} + label={ + issueText + ? "" + : isPromoModal + ? "Enter your promotional code" + : "Description of issue" + } />
) : ( @@ -65,7 +74,7 @@ const ConfirmModal = ({ disabled={isBusy} className="secondary-button" onClick={onCancel} - labelText="Cancel" + labelText={cancelButtonText ? cancelButtonText : "Cancel"} />