diff --git a/frontend/src/pages/Dashboard/ImportData/Hero/Reconcile.jsx b/frontend/src/pages/Dashboard/ImportData/Hero/Reconcile.jsx
index a1ffed72..c52eff02 100644
--- a/frontend/src/pages/Dashboard/ImportData/Hero/Reconcile.jsx
+++ b/frontend/src/pages/Dashboard/ImportData/Hero/Reconcile.jsx
@@ -14,6 +14,7 @@ function Reconcile() {
const [showSort, setShowSortDisplay] = useState(false);
const [showDisplay2, setShowDisplay2] = useState(false);
const [showSort2, setShowSortDisplay2] = useState(false);
+ const [message, errorMessage] = useState(false);
const navigate = useNavigate();
const { localData, fileDropped, localData2, fileDropped2, reconcileData } =
useAuth();
@@ -40,6 +41,13 @@ function Reconcile() {
const handleSubmit = async () => {
reconcileData();
+
+ errorMessage(true);
+
+ setTimeout(() => {
+ errorMessage(false);
+ }, 5000);
+
navigate('/dashboard/accountreport');
};
@@ -269,17 +277,23 @@ function Reconcile() {
{/* sync to data baseButton */}
-
+
{
e.preventDefault();
handleSubmit();
}}
- className="bg-[#1849A9] hover:bg-[#516ba0] text-white text-sm py-2 px-2 w-[70%] md:w-[60%] lg:w-[30%] active:color-#1849A9"
+ className="mx-auto bg-[#1849A9] hover:bg-[#516ba0] text-white text-sm py-2 px-2 w-[70%] md:w-[60%] lg:w-[30%] active:color-#1849A9"
>
Reconcile
+
+ {message && (
+
+ One or more files missing: Please upload the file to reconcile
+
+ )}
);
diff --git a/frontend/src/pages/Documentation/index.jsx b/frontend/src/pages/Documentation/index.jsx
index e13372f8..1ff71149 100644
--- a/frontend/src/pages/Documentation/index.jsx
+++ b/frontend/src/pages/Documentation/index.jsx
@@ -7,9 +7,11 @@ import stepthreeMobile from '../../assets/images/documentation/stepthreeMobile.p
import stepTwo from '../../assets/images/documentation/steptwo.png';
import stepThree from '../../assets/images/documentation/stepthree.png';
import Footer from '../../components/Footer';
+import ScrollToTop from '../../components/ScrollToTop'
const Documentation = () => (
+
diff --git a/frontend/src/pages/ErrorProcessing/index.jsx b/frontend/src/pages/ErrorProcessing/index.jsx
index 3d2b9b87..4023307a 100644
--- a/frontend/src/pages/ErrorProcessing/index.jsx
+++ b/frontend/src/pages/ErrorProcessing/index.jsx
@@ -1,8 +1,10 @@
import React from 'react';
import { FaGreaterThan } from 'react-icons/fa';
import DashBoardHeader from '../../components/DashBoardHeader';
+import ScrollToTop from '../../components/ScrollToTop';
import NavigationBar from '../../components/NavigationBar';
+
const styles = {
bgColor: '#1570EF',
titleTextColor: '#101828',
@@ -19,6 +21,7 @@ const processData = {
const ErrorProcessing = () => (
<>
+
diff --git a/frontend/src/pages/Faqs/index.jsx b/frontend/src/pages/Faqs/index.jsx
index 892b36e1..ca703457 100644
--- a/frontend/src/pages/Faqs/index.jsx
+++ b/frontend/src/pages/Faqs/index.jsx
@@ -7,6 +7,7 @@ import faqArray from '../../components/Faqs/faqArray';
import Accordion from '../../components/Faqs/index';
import Footer from '../../components/Footer';
import NavigationBar from '../../components/NavigationBar';
+import ScrollToTop from '../../components/ScrollToTop';
const data = {
rows: [
@@ -113,6 +114,7 @@ const Faqx = () => {
return (
+
diff --git a/frontend/src/pages/Gpt-3/index.jsx b/frontend/src/pages/Gpt-3/index.jsx
index a70a35c0..a1442c5a 100644
--- a/frontend/src/pages/Gpt-3/index.jsx
+++ b/frontend/src/pages/Gpt-3/index.jsx
@@ -4,10 +4,12 @@ import Footer from '../../components/Footer';
import NavigationBar from '../../components/NavigationBar';
import Banner from '../../assets/images/gpt3/banner.png';
import LapTop from '../../assets/images/gpt3/laptop.png';
+import ScrollToTop from '../../components/ScrollToTop';
function Gpt3() {
return (
+
diff --git a/frontend/src/pages/Help/index.jsx b/frontend/src/pages/Help/index.jsx
index 1c8ab1b5..e270b420 100644
--- a/frontend/src/pages/Help/index.jsx
+++ b/frontend/src/pages/Help/index.jsx
@@ -2,10 +2,12 @@ import React from 'react';
import NavigationBar from '../../components/NavigationBar';
import Footer from '../../components/Footer';
import heroImage from '../../assets/images/HelpCenter/hero.png';
+import ScrollToTop from '../../components/ScrollToTop'
function Help() {
return (
+
{/* Hero Section */}
diff --git a/frontend/src/pages/Privacy/index.jsx b/frontend/src/pages/Privacy/index.jsx
index e5a8ac5c..def06bd7 100644
--- a/frontend/src/pages/Privacy/index.jsx
+++ b/frontend/src/pages/Privacy/index.jsx
@@ -1,4 +1,3 @@
-import React from 'react';
import padlock from '../../assets/images/Privacy/padlock.svg';
import Key from '../../assets/images/Privacy/Key.svg';
import Camera from '../../assets/images/Privacy/camera.svg';
@@ -9,9 +8,11 @@ import photo2 from '../../assets/images/Privacy/photo2.png';
import photo3 from '../../assets/images/Privacy/photo3.png';
import Footer from '../../components/Footer';
import Navbar from '../../components/NavigationBar';
+import ScrollToTop from '../../components/ScrollToTop';
const Privacy = () => (
+
@@ -77,7 +78,7 @@ const Privacy = () => (
src={padlock}
alt="padlock"
/>
-
+
Security
diff --git a/frontend/src/pages/Teams/index.jsx b/frontend/src/pages/Teams/index.jsx
index 267d150f..c9688d53 100644
--- a/frontend/src/pages/Teams/index.jsx
+++ b/frontend/src/pages/Teams/index.jsx
@@ -13,10 +13,12 @@ import nine from '../../assets/images/teams/9.png';
import fb from '../../assets/images/teams/fb.png';
import ln from '../../assets/images/teams/ln.png';
import tw from '../../assets/images/teams/tw.png';
+import ScrollToTop from '../../components/ScrollToTop';
function Teams() {
return (
+
@@ -50,27 +52,31 @@ function Teams() {
-
Oluwasegun Akinshola
+
+ Oluwasegun Akinshola
+
cheif Drill-Master
-
Dorothy Nkatha
+
+ Dorothy Nkatha
+
Assist Drill-Master
@@ -78,93 +84,119 @@ function Teams() {
-
Maureen Ehiosun
+
+ Maureen Ehiosun
+
Design PM Lead
-
Olatunji David
+
+ Olatunji David
+
Frontend PM Lead
-
AbdulMuizz Ikumapayi
+
+ AbdulMuizz Ikumapayi
+
Backend Track Lead
-
Amogbe Idowu Esther
+
+ Amogbe Idowu Esther
+
Sales & Marketing PM Lead
-
-
Emmanuel Job
+
+
+ Emmanuel Job
+
Design Track Lead
-
-
Queenette oluchi
+
+
+ Queenette oluchi
+
Sales & Marketing Track Lead
-
-
hakeem Abdurahmon
+
+
+ hakeem Abdurahmon
+
Frontend Track Lead
diff --git a/frontend/src/pages/UpoadingSalesRecord/index.jsx b/frontend/src/pages/UpoadingSalesRecord/index.jsx
index b8ba3084..3ca9321a 100644
--- a/frontend/src/pages/UpoadingSalesRecord/index.jsx
+++ b/frontend/src/pages/UpoadingSalesRecord/index.jsx
@@ -3,12 +3,14 @@
import React, { useState } from 'react';
import { FaSearch } from 'react-icons/fa';
import data from './mockdata.json';
+import ScrollToTop from '../../components/ScrollToTop';
const UpoadingSalesRecord = () => {
const [contacts, setContacts] = useState(data);
return (
+
diff --git a/frontend/src/pages/UserUpload/index.jsx b/frontend/src/pages/UserUpload/index.jsx
index 2cc6abb4..11045843 100644
--- a/frontend/src/pages/UserUpload/index.jsx
+++ b/frontend/src/pages/UserUpload/index.jsx
@@ -7,6 +7,7 @@ import { FaGreaterThan } from 'react-icons/fa';
import { CgProfile } from 'react-icons/cg';
import DashBoardSideBar from '../../components/DashBoardSideBar';
import DashBoardHeader from '../../components/DashBoardHeader';
+import ScrollToTop from '../../components/ScrollToTop';
const styles = {
bgColor: '#1570EF',
@@ -26,6 +27,7 @@ const processData = {
const Userupload = () => (
<>
+