Skip to content

Commit

Permalink
Link to Code of Conduct in the footer (#2313)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Aug 30, 2019
1 parent 3eb3ed9 commit 182c3a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/LayoutFooter/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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`}
Expand Down

0 comments on commit 182c3a4

Please sign in to comment.