From 46bf83acaf40370fb1b9aa96d7dd703b1c57f2f1 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Thu, 30 Aug 2018 21:52:35 +0500 Subject: Add tweet button and UI changes --- src/components/top-nav/index.js | 6 ++++++ src/components/top-nav/styles.css | 5 +++++ 2 files changed, 11 insertions(+) (limited to 'src') diff --git a/src/components/top-nav/index.js b/src/components/top-nav/index.js index df27147..c807698 100644 --- a/src/components/top-nav/index.js +++ b/src/components/top-nav/index.js @@ -4,6 +4,8 @@ import './styles.css'; import Logo from '../icons/logo'; class TopNav extends React.Component { + tweet = 'GitHunt – Most starred projects on Github by @kamranahmedse https://github.com/kamranahmedse/githunt'; + render() { return (
@@ -27,6 +29,10 @@ class TopNav extends React.Component { target='_blank' rel="noopener noreferrer" className="btn btn-danger"> Use Extension + Tweet
diff --git a/src/components/top-nav/styles.css b/src/components/top-nav/styles.css index d3ccd3f..c950f45 100644 --- a/src/components/top-nav/styles.css +++ b/src/components/top-nav/styles.css @@ -37,3 +37,8 @@ box-shadow: none; } +.btn-tweet { + background: #01aced; + border-color: #01aced; +} + -- cgit v1.3