MCPcopy Create free account
hub / github.com/github/docs / Custom404

Function Custom404

pages/404.tsx:6–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import { Lead } from 'components/ui/Lead'
5
6const Custom404 = () => {
7 return (
8 <div className="min-h-screen d-flex flex-column">
9 <Head>
10 <title>404 - Page not found</title>
11 <meta name="status" content="404" />
12 </Head>
13
14 <SimpleHeader />
15
16 <div className="container-xl p-responsive py-6 width-full flex-1">
17 <article className="col-md-10 col-lg-7 mx-auto">
18 <h1>Ooops!</h1>
19 <Lead>It looks like this page doesn't exist.</Lead>
20 <p className="f3">
21 We track these errors automatically, but if the problem persists please feel free to
22 contact us.
23 </p>
24 <a
25 id="contact-us"
26 href="https://support.github.com/contact"
27 className="btn btn-outline mt-2"
28 >
29 <CommentDiscussionIcon size="small" className="octicon mr-1" />
30 Contact support
31 </a>
32 </article>
33 </div>
34
35 <SimpleFooter />
36 </div>
37 )
38}
39
40export default Custom404

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected