Files
2024-08-07 18:49:29 +01:00

43 lines
1.5 KiB
JavaScript

"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 can&#39;t be found.</h3>
<p>
The page you&#39;re looking for isn&#39;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;