summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKamran Ahmed <kamranahmed.se@gmail.com>2018-08-29 11:33:20 +0500
committerKamran Ahmed <kamranahmed.se@gmail.com>2018-08-29 11:33:20 +0500
commita72d61ed8080708d465abc16bd54d49b6ceac196 (patch)
treeafabd9b3a42050c9fe9df386ae5889b76d54c71a /src
parentAdd options page (diff)
downloadgithunt-a72d61ed8080708d465abc16bd54d49b6ceac196.tar.gz
Update options UI
Diffstat (limited to 'src')
-rw-r--r--src/containers/options/index.js4
-rw-r--r--src/containers/options/styles.css27
2 files changed, 19 insertions, 12 deletions
diff --git a/src/containers/options/index.js b/src/containers/options/index.js
index 4d999b1..774aa31 100644
--- a/src/containers/options/index.js
+++ b/src/containers/options/index.js
@@ -24,10 +24,9 @@ class OptionsContainer extends React.Component {
<h2>Add the Token</h2>
<p className="text-muted">Generate a token and add it below to avoid hitting the rate limit.</p>
<hr/>
- <p className="text-muted">Follow the steps listed below to generate the token</p>
<ul>
<li>
- Go to the <a href="https://github.com/settings/tokens" target="_blank" rel="noopener noreferrer">Settings <i className="fa fa-angle-right"></i> Personal Access Tokens</a> of your github profile
+ Go to the <a href="https://github.com/settings/tokens" target="_blank" rel="noopener noreferrer"><i className="fa fa-external-link mr-1"></i> Settings <i className="fa fa-angle-right"></i> Personal Access Tokens</a> of your github profile
</li>
<li>Click <span>Generate New Token</span>. Enter the description and select the <span>scope</span> called <span>public_repo</span> under repo and click <span>Generate Token</span>.</li>
<li>You will be presented with the generated token. Copy the token and add it below</li>
@@ -38,6 +37,7 @@ class OptionsContainer extends React.Component {
<i className="fa fa-cog mr-2"></i>
Save Settings
</button>
+ <Link className='btn btn-primary shadow btn-block btn-lg' to='/'><i className="fa fa-arrow-left"></i> Go Home</Link>
</div>
</div>
);
diff --git a/src/containers/options/styles.css b/src/containers/options/styles.css
index 34df04e..0cccdbd 100644
--- a/src/containers/options/styles.css
+++ b/src/containers/options/styles.css
@@ -27,28 +27,31 @@
.options-container .header .logo {
display: block;
- margin: 0 auto 25px;
- width: 440px;
+ margin-bottom: 10px;
}
.options-container ul {
padding: 0;
- margin: 15px 0;
+ margin: 15px 0 15px 25px;
}
.options-container ul li {
- line-height: 25px;
- padding: 10px;
- list-style: none;
- background: #f7f3f3;
- margin-bottom: 4px;
- border-radius: 5px;
+ line-height: 30px;
}
.options-container ul li span,
.options-container ul li a {
+ background: #ffa;
+ padding: 5px 7px;
+ color: #343a40;
+ border-radius: 8px;
+ font-size: 14px;
font-weight: 500;
- color: #1157ed;
+}
+
+.options-container ul li a {
+ color: blue;
+ text-decoration: underline;
}
.options-container .header .logo {
@@ -74,6 +77,10 @@
}
.options-container .btn-save {
+ margin-bottom: 10px;
+}
+
+.options-container .btn {
font-size: 15px;
padding: 15px 25px;
height: 60px;