Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import React from "react";
import { MyLink } from "chainr-frontend-shared";
const ErrorPage: React.FC = () => {
return (
<div className="flex flex-col items-center justify-center min-h-screen py-12 px-4 sm:px-6 lg:px-8 bg-gray-50">
<h1 className="text-4xl font-extrabold text-red-600 mb-4">
Oops! Something Went Wrong.
</h1>
<p className="text-lg text-gray-700 mb-4">
We encountered an issue processing your request. Please try again later.
</p>
<p className="text-md text-gray-600 mb-6">
<strong>Error:</strong> Something went wrong.
</p>
<div className="mt-8">
<MyLink name="Go Back to Home" to="/" />
</div>
</div>
);
};
export default ErrorPage;
|