43 lines
1.5 KiB
JavaScript
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’t 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;
|