()
| 6 | import { Lead } from 'components/ui/Lead' |
| 7 | |
| 8 | export function GenericError() { |
| 9 | return ( |
| 10 | <div className="min-h-screen d-flex flex-column"> |
| 11 | <Head> |
| 12 | <title>GitHub Documentation</title> |
| 13 | <meta name="status" content="500" /> |
| 14 | </Head> |
| 15 | |
| 16 | <SimpleHeader /> |
| 17 | |
| 18 | <div className="container-xl p-responsive py-9 width-full flex-1"> |
| 19 | <article className="col-md-10 col-lg-7 mx-auto"> |
| 20 | <h1>Ooops!</h1> |
| 21 | <Lead>It looks like something went wrong.</Lead> |
| 22 | <p className="f3"> |
| 23 | We track these errors automatically, but if the problem persists please feel free to |
| 24 | contact us. |
| 25 | </p> |
| 26 | <a |
| 27 | id="contact-us" |
| 28 | href="https://support.github.com/contact" |
| 29 | className="btn btn-outline mt-2" |
| 30 | > |
| 31 | <CommentDiscussionIcon size="small" className="octicon mr-1" /> |
| 32 | Contact support |
| 33 | </a> |
| 34 | </article> |
| 35 | </div> |
| 36 | |
| 37 | <SimpleFooter /> |
| 38 | </div> |
| 39 | ) |
| 40 | } |
| 41 | |
| 42 | export const SimpleHeader = () => { |
| 43 | const router = useRouter() |
nothing calls this directly
no outgoing calls
no test coverage detected