Browse Source

Link to Code of Conduct in the footer (#2313)

main
Dan Abramov 5 years ago
committed by GitHub
parent
commit
182c3a4928
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/components/LayoutFooter/Footer.js

5
src/components/LayoutFooter/Footer.js

@ -6,6 +6,7 @@
*/
import Container from 'components/Container';
import ExternalFooterLink from './ExternalFooterLink';
import FooterLink from './FooterLink';
import FooterNav from './FooterNav';
import MetaTitle from 'templates/components/MetaTitle';
@ -81,6 +82,10 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
</FooterNav>
<FooterNav layoutHasSidebar={layoutHasSidebar}>
<MetaTitle onDark={true}>{navFooter.community.title}</MetaTitle>
<ExternalFooterLink
href={`https://github.com/facebook/react/blob/master/CODE_OF_CONDUCT.md`}>
Code of Conduct
</ExternalFooterLink>
{sectionListCommunity.map(section => (
<FooterLink
to={`/community/${section.items[0].id}.html`}

Loading…
Cancel
Save