error500.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import React from 'react';
  2. import BasePage from '@/components/Layout/BasePage';
  3. import Link from 'next/link';
  4. const Error500 = props => (
  5. <div className="abs-center wd-xl">
  6. <div className="text-center mb-4">
  7. <div className="mb-3">
  8. <em className="fa fa-wrench fa-5x text-muted" />
  9. </div>
  10. <div className="text-lg mb-3">500</div>
  11. <p className="lead m-0">Oh! Something went wrong :(</p>
  12. <p>Don't worry, we're now checking this.</p>
  13. <p>In the meantime, please try one of those links below or come back in a moment</p>
  14. </div>
  15. <ul className="list-inline text-center text-sm mb-4">
  16. <li className="list-inline-item">
  17. <Link href="/dashboard/dashboardv1">
  18. <a className="text-muted">Go to App</a>
  19. </Link>
  20. </li>
  21. <li className="text-muted list-inline-item">|</li>
  22. <li className="list-inline-item">
  23. <Link href="/pages/login" as="/login">
  24. <a className="text-muted">Login</a>
  25. </Link>
  26. </li>
  27. <li className="text-muted list-inline-item">|</li>
  28. <li className="list-inline-item">
  29. <Link href="/pages/register" as="/register">
  30. <a className="text-muted">Register</a>
  31. </Link>
  32. </li>
  33. </ul>
  34. <div className="p-3 text-center">
  35. <span className="mr-2">&copy;</span>
  36. <span>2020</span>
  37. <span className="mx-2">-</span>
  38. <span>Angle</span>
  39. <br />
  40. <span>Bootstrap Admin Template</span>
  41. </div>
  42. </div>
  43. );
  44. Error500.Layout = BasePage;
  45. export default Error500;