Files
WrenchBoardMainSite2025/app/components/Error/index.js
T
2024-08-03 10:18:52 +01:00

43 lines
1.5 KiB
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.
"use client"
import React from 'react';
import Link from 'next/link';
// import { useHistory } from 'react-router-dom';
import Svg from './Svg';
function Error() {
// const history = useHistory();
const goBack = (e) => {
e.preventDefault();
// history.goBack();
};
return (
<>
<div className="appie-error-area">
<div className="container">
<div className="row justify-content-center">
<div className="col-lg-6">
<div className="appie-error-content text-center">
<Svg />
<span>Sorry!</span>
<h3 className="title">The page cant be found.</h3>
<p>
The page you're looking for isn't available. Use the go back
button below
</p>
{/* <a onClick={(e) => goBack(e)} href="#">
Go Back <i className="fal fa-arrow-right"></i>
</a> */}
<Link href="/">
Go Back <i className="fal fa-arrow-right"></i>
</Link>
</div>
</div>
</div>
</div>
</div>
</>
);
}
export default Error;