diff --git a/package.json b/package.json index d26cc22d66e0..c64528cdb2cb 100644 --- a/package.json +++ b/package.json @@ -149,6 +149,7 @@ "react-dom": "^16.2.0", "react-g-analytics": "0.4.2", "react-hot-loader": "^4.0.0-beta.12", + "react-intersection-observer": "^8.22.6", "react-markdown": "4.0.4", "react-router-dom": "^4.2.2", "react-tiny-popover": "3.4.2", diff --git a/src/components/Contributors/Contributors.jsx b/src/components/Contributors/Contributors.jsx index 5c9322238ffc..9f3ed0268001 100644 --- a/src/components/Contributors/Contributors.jsx +++ b/src/components/Contributors/Contributors.jsx @@ -1,25 +1,48 @@ import React from 'react'; +import { InView } from 'react-intersection-observer'; +import SmallIcon from '../../assets/icon-square-small-slack.png'; import './Contributors.scss'; -export default ({contributors}) => { - if (!contributors.length) { - return