From fde7ec15e9a08206d824aaeb214728881896c55b Mon Sep 17 00:00:00 2001 From: Simon Reinsperger Date: Wed, 8 Mar 2017 17:27:24 +0100 Subject: [PATCH] refactor: fixes linting errors components/SiteLinks(index.jsx --- components/SiteLinks/index.jsx | 111 ++++++++++++++++----------------- 1 file changed, 54 insertions(+), 57 deletions(-) diff --git a/components/SiteLinks/index.jsx b/components/SiteLinks/index.jsx index efcf74c..cd56af1 100644 --- a/components/SiteLinks/index.jsx +++ b/components/SiteLinks/index.jsx @@ -1,62 +1,59 @@ -import React from 'react' -import { RouteHandler, Link } from 'react-router' -import { prefixLink } from 'gatsby-helpers' -import { config } from 'config' -import './style.css' -import '../../static/fonts/fontawesome/style.css' +import React from 'react'; +import { config } from 'config'; +import './style.css'; +import '../../static/fonts/fontawesome/style.css'; class SiteLinks extends React.Component { - render () { - - return ( -
- -
    - {config.siteEmailUrl && ( -
  • - - - -
  • - )} - {config.siteTelegramUrl && ( -
  • - - - -
  • - )} -
-
    - {config.siteRssUrl && ( -
  • - -
  • - )} -
-
- ) + render() { + return ( +
+
    + {config.siteTwitterUrl && ( +
  • + + + +
  • + )} + {config.siteGithubUrl && ( +
  • + + + +
  • + )} + {config.siteVkUrl && ( +
  • + +
  • + )} +
+
    + {config.siteEmailUrl && ( +
  • + + + +
  • + )} + {config.siteTelegramUrl && ( +
  • + + + +
  • + )} +
+
    + {config.siteRssUrl && ( +
  • + +
  • + )} +
+
+ ); } } -export default SiteLinks +export default SiteLinks;