Skip to content

Commit 64961fa

Browse files
authored
Merge pull request #12811 from github/repo-sync
repo sync
2 parents 989d383 + 3a13be4 commit 64961fa

2 files changed

Lines changed: 13 additions & 37 deletions

File tree

components/page-footer/SmallFooter.tsx

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import Link from 'next/link'
22
import { useRouter } from 'next/router'
33
import { MarkGithubIcon } from '@primer/octicons-react'
4-
import { useTranslation } from 'components/hooks/useTranslation'
4+
import { useTranslation } from '../hooks/useTranslation'
55

66
export const SmallFooter = () => {
77
const router = useRouter()
88
const { t } = useTranslation('footer')
99
return (
1010
<footer className="container-xl px-3 mt-6 mb-8 px-md-6 position-relative d-flex flex-row-reverse flex-xl-row flex-wrap flex-xl-nowrap flex-justify-center flex-xl-justify-between f6 color-fg-muted">
11-
<ul className="list-style-none d-flex flex-wrap col-12 col-xl-5 flex-justify-center flex-xl-justify-between mb-2 mb-xl-0">
11+
<ul className="list-style-none d-flex flex-wrap col-12 flex-justify-center flex-xl-justify-between mb-2 mb-xl-0">
1212
<li className="mr-3 mr-xl-0">&copy; {new Date().getFullYear()} GitHub, Inc.</li>
1313
<li className="mr-3 mr-xl-0">
1414
<Link href={`/${router.locale}/github/site-policy/github-terms-of-service`}>
@@ -26,21 +26,19 @@ export const SmallFooter = () => {
2626
<li className="mr-3 mr-xl-0">
2727
<a href="https://www.githubstatus.com/">{t('support.links.status')}</a>
2828
</li>
29-
<li>
29+
<li className="mr-3 mr-xl-0">
3030
<Link href={`/${router.locale}`}>{t('support.links.help')}</Link>
3131
</li>
32-
</ul>
33-
34-
<a
35-
aria-label="Homepage"
36-
title="GitHub"
37-
className="d-none d-xl-block color-fg-muted"
38-
href="https://github.com"
39-
>
40-
<MarkGithubIcon size={24} />
41-
</a>
42-
43-
<ul className="list-style-none d-flex flex-wrap col-12 col-xl-5 flex-justify-center flex-xl-justify-between mb-2 mb-xl-0">
32+
<li>
33+
<a
34+
aria-label="Homepage"
35+
title="GitHub"
36+
className="d-none d-xl-block color-fg-muted"
37+
href="https://github.com"
38+
>
39+
<MarkGithubIcon size={24} />
40+
</a>
41+
</li>
4442
<li className="mr-3 mr-xl-0">
4543
<a href="https://support.github.com">{t('support.links.contact_github')}</a>
4644
</li>

lib/use-english-headings.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)