Skip to content

Commit

Permalink
invalid route path update
Browse files Browse the repository at this point in the history
  • Loading branch information
Asanda65 committed Jan 7, 2024
1 parent 6cfcbb4 commit 077f538
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function App() {
</ProtectedRoute>
}
/>
<Route path="/not-found" Component={NotFound} />
<Route path="*" Component={NotFound} />

<Route path="/payment-cancel" Component={PaymentCancel} />
<Route
Expand Down
7 changes: 4 additions & 3 deletions client/src/components/css/NotFound.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f0f0f0;
background-color: #333;
color: #fff;
/* Light gray background color */
}

.not-found-text {
font-size: 32px;
color: #333;

/* Dark gray text color */
text-align: center;
padding: 20px;
border: 2px solid #333;
/* Dark gray border */
border-radius: 8px;
background-color: #fff;
background-color: #444;
/* White background color for the text */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
/* Shadow for the container */
Expand Down

0 comments on commit 077f538

Please sign in to comment.