Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/images/Privacy/control.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/images/Privacy/partnership.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/images/Privacy/security.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions frontend/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import reportWebVitals from './reportWebVitals';
import DashBoard from './pages/Dashboard';
import Gpt3 from './pages/Gpt-3';
import Blogs from './pages/Blogs/Index';
import ErrorProcessing from './pages/ErrorProcessing/index'
// import DashboardMain from './pages/Dashboard/DashboardMain/DashboardMain';
// import Upload from './pages/Dashboard/DashboardMain/UploadFile/Upload';
import UploadReady from './pages/Dashboard/DashboardMain/UploadReady/UploadReady';
Expand Down Expand Up @@ -182,10 +183,10 @@ const router = createBrowserRouter([
// path: '/settings',
// element: <Settings />,
// },
// {
// path: '/processingerror',
// element: <ErrorProcessing />,
// },
{
path: '/processingerror',
element: <ErrorProcessing />,
},
]);

const root = ReactDOM.createRoot(document.getElementById('root'));
Expand Down
67 changes: 33 additions & 34 deletions frontend/src/pages/ErrorProcessing/index.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { FaGreaterThan } from 'react-icons/fa';
import DashBoardSideBar from '../../components/DashBoardSideBar';
import DashBoardHeader from '../../components/DashBoardHeader';
import NavigationBar from '../../components/NavigationBar';

const styles = {
bgColor: '#1570EF',
Expand All @@ -19,42 +19,41 @@ const processData = {

const ErrorProcessing = () => (
<>
<DashBoardHeader />
<div className="dashboard-main-cont">
<DashBoardSideBar />
<main className="">
<div className="breadcrum text-[#667085] mb-4">
Dashboard &gt; Upload{' '}
</div>
<h1 className="font-bold text-2xl">{processData.status}</h1>
<p className="text-[#667085] pb-2">
<NavigationBar />
<main className="m-[65px]">
<div className="processing-text">
<h1 className="font-['Lexend'] font-semibold text-[28px] leading-[136.02%] text-[#344054]">
Processing...
</h1>
<p className="font-['Lexend'] font-medium text-[20px] leading-[136.52%] text-[#667085]">
Our system is currently reconciling your records and will alert you of
any errors. Please be patient.{' '}
any errors. Please be patient.
</p>
<div className="center">
<div className="process-card p-10 mt-2">
<h1 className="font-bold text-base">{processData.statusHeader}</h1>
<p className="">
<span className="numberOfErrors">
{processData.numberOfimbalance}
</span>
{processData.statusMessage}
</p>

<div className="w-full bg-gray-200 rounded-full h-5 mt-2 dark:bg-gray-700">
<div className="bg-blue-600 h-5 rounded-full w-10"> </div>
</div>
</div>
<a
href="/processingerror"
className="flex items-center p-2 mt-3 sm:mx-auto rounded bg-[#1570EF] text-white"
>
cancel
</a>
</div>
<div className="matching-data bg-[#F9FAFB] rounded-[12px] absolute top-[40%] left-[25%] translate-[-50%, -50%] w-[737px] h-[364px] text-center">
<h3 className="mt-[100px] font-['Lexend'] font-medium text-[36px] leading-[136.02%] text-[#101828]">
Matching data...
</h3>
<div className="my-[10px] flex items-center justify-center gap-[10px]">
<span className="text-[28px] text-[#F04438]">0</span>
<p className="font-['Lexend'] font-semibold text-[28px] leading-[136.02%] text-[#667085]">
imbalance(s) found so far
</p>
</div>
<div className="flex justify-center items-center gap-[5px]">
<input
className="bg-[#f2f4f7] w-[544px] rounded-[24px]"
type="range"
min="0"
max="100"
value="5"
step="5"
/>
<span>1%</span>
</div>
</main>
</div>
</div>
</main>
</>
);

export default ErrorProcessing;
export default ErrorProcessing;
Loading