diff --git a/client/src/App.css b/client/src/App.css
index dd2f3e4..57f3854 100644
--- a/client/src/App.css
+++ b/client/src/App.css
@@ -51,12 +51,13 @@ button, .custom-button {
border-radius: 5px;
color: white;
font-size: 1rem;
+ margin-bottom: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover, .custom-button:hover {
- background-color: red;
+ background-color: #e0e1dd;
}
/* buttons on edit page */
diff --git a/client/src/components/Camera.jsx b/client/src/components/Camera.jsx
index 76690fc..6448559 100644
--- a/client/src/components/Camera.jsx
+++ b/client/src/components/Camera.jsx
@@ -6,6 +6,7 @@ import { Spinner } from "react-bootstrap";
import { Button } from "@chakra-ui/react";
import '../App.css';
import Updating from "./Updating.jsx";
+import HomeButton from './HomeButton.jsx';
const Camera = () => {
const { capturedPhoto, setCapturedPhoto, screen, setScreen, ocrData, setOcrData, device, setOcrModalOpen, isUpdating, setIsUpdating } = useContext(AppContext);
@@ -152,38 +153,42 @@ const Camera = () => {
// }
return (
-
- {isUpdating &&
} {/* Show overlay when isUpdating is true */}
- {device === 'mobile' && !capturedPhoto && (
-
-
-
- )}
- {device === 'desktop' && !capturedPhoto && (
-
-
-
-
- )}
- {capturedPhoto && device === 'desktop' && (
-
-
-
Captured Photo:
-
+
+
+
+ {isUpdating &&
} {/* Show overlay when isUpdating is true */}
+ {device === 'mobile' && !capturedPhoto && (
+
+
-
-
-
-
)}
-
+ {device === 'desktop' && !capturedPhoto && (
+
+
+
+
+ )}
+ {capturedPhoto && device === 'desktop' && (
+
+ {/*
*/}
+
+
Captured Photo:
+
+
+
+
+ {/*
*/}
+
+ )}
+
+
);
};
diff --git a/client/src/components/Chart.jsx b/client/src/components/Chart.jsx
index 1df1ca4..777fe8b 100644
--- a/client/src/components/Chart.jsx
+++ b/client/src/components/Chart.jsx
@@ -5,6 +5,7 @@ import '../App.css';
import HamburgerMenuEdit from "./HamburgerMenuEdit.jsx";
import { AppContext } from '../context/AppContext.jsx';
import ExpenseChartJoyride from './ExpenseChartJoyride.jsx';
+import HomeButton from './HomeButton.jsx';
@@ -44,9 +45,9 @@ function App() {
}, []);
return (
-
- < ExpenseChartJoyride />
-
SimpliTrac
+
+
+
diff --git a/client/src/components/EditTransactionsPage.jsx b/client/src/components/EditTransactionsPage.jsx
index 5c48198..f0b151f 100644
--- a/client/src/components/EditTransactionsPage.jsx
+++ b/client/src/components/EditTransactionsPage.jsx
@@ -9,6 +9,7 @@ import { Button } from "@chakra-ui/react";
import EditTransactionsJoyride from './EditTransactionJoyride.jsx';
import HamburgerMenuEdit from "./HamburgerMenuEdit.jsx";
import { Spinner } from "react-bootstrap";
+import HomeButton from './HomeButton.jsx';
const EditTransactionsPage = () => {
const { user, setUser, setScreen, setServerResponse, runEditTransactionsTour, setRunEditTransactionsTour } = useContext(AppContext);
@@ -96,8 +97,10 @@ const EditTransactionsPage = () => {
return (
<>
-
-
+
+
+
setScreen('home')} />
+