Files
sgeUpdated/sge-frontend/src/views/Error.js
Khaled Elagamy 85f1847070 Add 'sge-frontend/' from commit '5fa787e054b25ac53edc7ff0275ea7960a709401'
git-subtree-dir: sge-frontend
git-subtree-mainline: 876c278ac4
git-subtree-split: 5fa787e054
2025-08-04 00:27:23 +03:00

31 lines
840 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Button } from "reactstrap";
import { useHistory } from "react-router-dom";
import "../@core/scss/base/pages/page-misc.scss";
const Error = () => {
const history = useHistory();
return (
<div className="misc-wrapper">
<div className="misc-inner p-2 p-sm-3">
<div className="w-100 text-center">
<h2 className="mb-1">Aradığınız sayfa bulunamadı!</h2>
<button
style={{
backgroundColor: "#028a4a",
color: "white",
border: "5px solid transparent",
borderRadius: "5px",
}}
className="w-100 mb-2"
onClick={() => history.replace("/")}
>
Anasayfa
</button>
</div>
</div>
</div>
);
};
export default Error;