Skip to content

Commit

Permalink
Merge branch 'main' into new
Browse files Browse the repository at this point in the history
  • Loading branch information
MastanSayyad authored Jun 14, 2024
2 parents b551fa4 + 7b7cbcf commit 38b1be7
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
Binary file added public/404.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import FinancialServices from './Pages/FinancialServices'
import FullServiceFund from './Pages/FullServiceFund';
import { PiSelectionInverseThin } from "react-icons/pi";
import FeedbackPage from './Pages/FeedbackForm';
import Notfound from './Components/Notfound/Notfound';

export const ThemeContext = createContext();

Expand Down Expand Up @@ -63,7 +64,7 @@ const App = () => {

<div className="main-div">

<Navbar />
<Navbar/>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/login" element={<Login />} />
Expand All @@ -79,7 +80,9 @@ const App = () => {
<Route path='/investormanagementpage' element={<InvestorManagementPage/>}/>
<Route path='/financialservicesPage' element = {<FinancialServices/>}/>
<Route path="/fullservicefund" element={<FullServiceFund/>}/>
<Route path="/feedback" element={<FeedbackPage />} />
<Route path="/feedback" element={<FeedbackPage />} />
<Route path="*" element={<Notfound />} />

</Routes>
<ChatAssistant/>
<GoToTop/>
Expand Down
23 changes: 23 additions & 0 deletions src/Components/Notfound/Notfound.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.notfound{
width: 50%;
height: 100vh;
margin-top: 70px;
}
.notfound-container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100.5vh;
}
.btnx{
position: absolute;
bottom: 40px;
background-color: #212EA0;
color: #fff;
border-radius: 5px;
padding: 10px 20px;
font-size: 20px;
font-weight: 600;
cursor: pointer;
}
10 changes: 10 additions & 0 deletions src/Components/Notfound/Notfound.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import "./Notfound.css";
import { Link } from "react-router-dom";
export default function Notfound(){
return(
<div className="notfound-container">
<img src="./404.png" alt="Not found pic" className="notfound" />
<Link to={"/"} className="btnx" style={{textDecoration: "none"}}>Go to Home</Link>
</div>
)
}

0 comments on commit 38b1be7

Please sign in to comment.