60 lines
1.5 KiB
JavaScript
60 lines
1.5 KiB
JavaScript
import React from "react";
|
||
import Head from "next/head";
|
||
import Link from "next/link";
|
||
import * as Sentry from "@sentry/nextjs";
|
||
|
||
import Footer from "./components/Footer";
|
||
import MainHeader from "./components/MainHeader";
|
||
|
||
class ErrorPage extends React.Component
|
||
{
|
||
constructor(props)
|
||
{
|
||
super(props);
|
||
this.state = {};
|
||
}
|
||
|
||
static getDerivedStateFromProps(nextProps, prevState)
|
||
{
|
||
return {};
|
||
}
|
||
|
||
componentDidMount() {}
|
||
|
||
render()
|
||
{
|
||
return (
|
||
<React.Fragment>
|
||
<Head>
|
||
<title>ЛК Эволюция автолизинга</title>
|
||
<meta name="description" content="ЛК Эволюция автолизинга" />
|
||
</Head>
|
||
<MainHeader/>
|
||
<main>
|
||
<section>
|
||
<div className="clear"></div>
|
||
<div className="container">
|
||
<div className="title_wrapper">
|
||
<div className="left">
|
||
<h1 className="section_title">Извините</h1>
|
||
</div>
|
||
</div>
|
||
<div className="offline">
|
||
<p>
|
||
К сожалению возникла техническая проблема, наши специалисты в курсе и проводят восстановительные работы.<br/><br/><Link href="/"><a style={{ textDecoration: "underline" }}>Вернуться в Личный кабинет</a></Link>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
</main>
|
||
<Footer/>
|
||
</React.Fragment>
|
||
);
|
||
}
|
||
}
|
||
|
||
ErrorPage.getInitialProps = async (contextData) => {
|
||
await Sentry.captureUnderscoreErrorException(contextData);
|
||
};
|
||
|
||
export default ErrorPage; |