11import Link from 'next/link'
22import { useRouter } from 'next/router'
33import { MarkGithubIcon } from '@primer/octicons-react'
4- import { useTranslation } from 'components /hooks/useTranslation'
4+ import { useTranslation } from '.. /hooks/useTranslation'
55
66export 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" > © { 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 >
0 commit comments