* Package updates * Fix up things that look broken * Add to utils * Lead now just sets font size, just use f3 where needed * Update package-lock.json * Update index.tsx * Delete bump-link.scss * Update trigger-error.js * Update components/GenericError.tsx Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com> * Update ArticlePage.tsx * Update ActionBar.tsx * Changes from meeting * Found a few more monos * Fix from a merge conflict * Missed a few f3s * Update SubLandingHero.tsx * Bye gradients * Match up breadcrumbs * Update SubLandingHero.tsx * Update lists.scss Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
46 lines
1.4 KiB
TypeScript
46 lines
1.4 KiB
TypeScript
import { SimpleHeader, SimpleFooter } from 'components/GenericError'
|
|
import Head from 'next/head'
|
|
import { CommentDiscussionIcon } from '@primer/octicons-react'
|
|
import { useVersion } from 'components/hooks/useVersion'
|
|
|
|
const Custom404 = () => {
|
|
const { isEnterprise } = useVersion()
|
|
return (
|
|
<div className="min-h-screen d-flex flex-column">
|
|
<Head>
|
|
<title>404 - Page not found</title>
|
|
<meta name="status" content="404" />
|
|
</Head>
|
|
|
|
<SimpleHeader />
|
|
|
|
<div className="container-xl p-responsive py-6 width-full flex-1">
|
|
<article className="col-md-10 col-lg-7 mx-auto">
|
|
<h1 className="mb-3 pb-3 border-bottom">Ooops!</h1>
|
|
<p className="f2 color-text-secondary">It looks like this page doesn't exist.</p>
|
|
<p className="f3">
|
|
We track these errors automatically, but if the problem persists please feel free to
|
|
contact us.
|
|
</p>
|
|
<a
|
|
id="contact-us"
|
|
href={
|
|
isEnterprise
|
|
? 'https://enterprise.github.com/support'
|
|
: 'https://support.github.com/contact'
|
|
}
|
|
className="btn btn-outline mt-2"
|
|
>
|
|
<CommentDiscussionIcon size="small" className="octicon mr-1" />
|
|
Contact support
|
|
</a>
|
|
</article>
|
|
</div>
|
|
|
|
<SimpleFooter />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Custom404
|