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

Function SimpleHeader

components/GenericError.tsx:42–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42export const SimpleHeader = () => {
43 const router = useRouter()
44 return (
45 <div className="border-bottom color-border-muted no-print">
46 <header className="container-xl p-responsive py-3 position-relative d-flex width-full">
47 <div className="d-flex flex-items-center" style={{ zIndex: 3 }} id="github-logo-mobile">
48 <Link href={`/${router.locale}`}>
49 {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
50 <a aria-hidden="true" tabIndex={-1}>
51 <MarkGithubIcon size={32} className="color-fg-default" />
52 </a>
53 </Link>
54
55 <Link href={`/${router.locale}`}>
56 {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
57 <a className="h4 color-fg-default no-underline no-wrap pl-2">GitHub Docs</a>
58 </Link>
59 </div>
60 </header>
61 </div>
62 )
63}
64
65export const SimpleFooter = () => {
66 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected