Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 683df6d

Browse files
authored
Merge pull request #493 from EdMoffatt/master
Navigation and Community changes for docs page
2 parents cb809c9 + 7cb61fa commit 683df6d

File tree

4 files changed

+32
-46
lines changed

4 files changed

+32
-46
lines changed

packages/composer-website/jekylldocs/_includes/navbar.html

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<span class="icon-bar"></span>
1010
<span class="icon-bar"></span>
1111
</button>
12-
<a class="navbar-brand" href="{{site.baseurl}}/index.html">Fabric Composer</a>
12+
<a class="navbar-brand" href="{{site.baseurl}}/index.html"><b>Fabric</b> Composer</a>
1313
</div>
1414
<!-- Collect the nav links, forms, and other content for toggling -->
1515
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
@@ -18,36 +18,16 @@
1818
<a href="services.html">Composer</a>
1919
</li> -->
2020
<li>
21-
<a href="{{site.baseurl}}/start/quickstart.html">Quickstart</a>
21+
<a href="http://composer-playground.mybluemix.net/">Playground</a>
2222
</li>
2323
<li>
24-
<a href="{{site.baseurl}}/overview/overview.html">Documentation</a>
24+
<a href="../tutorials/tutorialindex.html">Tutorials</a>
25+
</li>
26+
<li>
27+
<a href="../introduction/introduction.html">Docs</a>
2528
</li>
26-
<!-- <li class="dropdown">
27-
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Docs <b class="caret"></b></a>
28-
<ul class="dropdown-menu">
29-
<li>
30-
<a href="{{site.baseurl}}/overview/overview.html">Overview</a>
31-
</li>
32-
<li>
33-
<a href="{{site.baseurl}}/start/index.html">Getting Started</a>
34-
</li>
35-
<li>
36-
<a href="{{site.baseurl}}/concepts/index.html">Concepts</a>
37-
</li>
38-
<li>
39-
<a href="{{site.baseurl}}/tasks/index.html">Tasks</a>
40-
</li>
41-
<li>
42-
<a href="{{site.baseurl}}/reference/index.html">Reference</a>
43-
</li>
44-
<li>
45-
<a href="{{site.baseurl}}/jsdoc/index.html">API Documentation</a>
46-
</li>
47-
</ul>
48-
</li> -->
4929
<li>
50-
<a href="{{site.baseurl}}/support/index.html">Support</a>
30+
<a href="../support/index.html">Community</a>
5131
</li>
5232
</ul>
5333
</div>

packages/composer-website/jekylldocs/_layouts/support.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
<div class="row" padding-bottom="30px">
99
<div class="col-lg-12">
1010
<h1 class="page-header">
11-
Support
11+
Community
1212
</h1>
1313
</div>
1414
<div class="col-lg-12">
1515
<p>We're building a community to help people use and contribute to Fabric Composer: either join our team discussion on Rocket.chat, or ask us a question on Stackoverflow. We'd also love to hear your thoughts or feedback on what we're doing!</p>
1616
<br>
17-
<p>And that's not all: if you're a developer, come join us on GitHub: browse our code, or send us a pull request (and we'll love you forever).</p>
17+
<p>And that's not all: if you're a developer, come join us on GitHub. Browse our code, or send us a pull request (and we'll love you forever).</p>
1818
</div>
1919
</div>
2020

@@ -26,7 +26,7 @@ <h4><i class="fa fa-fw fa-rocket"></i> Hyperledger Rocket Chat</h4>
2626
</div>
2727
<div class="panel-body">
2828
<p>You will need a <a href="https://identity.linuxfoundation.org/">Linux Foundation id</a>, or alternatively you can log in with Facebook, Github, Google, or OpenStack.</p>
29-
<a href="https://chat.hyperledger.org/channel/fabric-composer" class="btn btn-default">Rocket.chat</a>
29+
<a href="https://chat.hyperledger.org/channel/fabric-composer" class="btn btn-default">Let's chat</a>
3030
</div>
3131
</div>
3232
</div>
@@ -57,6 +57,13 @@ <h4><i class="fa fa-fw fa-github"></i> GitHub</h4>
5757

5858
</div>
5959

60+
<div class="row">
61+
<div class="col-lg-12">
62+
<p>Oh hey, you're on the Community page! Hopefully that means you've given Fabric Composer a try: what did you think?</p>
63+
<p>You can help us out by completing this 1-question <a href="https://goo.gl/forms/7YPMLP2LTN2hjIRk2"><b>survey</b></a> (score us from 0 to 10) - we really appreciate your feedback!</p>
64+
</div>
65+
</div>
66+
6067
<article class="main">
6168
{% if page.social_text %}
6269
{% include social.html %}

packages/composer-website/jekylldocs/assets/css/bootstrap.css

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
77
html {
8-
font-family: sans-serif;
8+
font-family: "Open Sans", sans-serif;
99
-webkit-text-size-adjust: 100%;
1010
-ms-text-size-adjust: 100%;
1111
}
@@ -1084,7 +1084,7 @@ html {
10841084
}
10851085
body {
10861086
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
1087-
font-size: 16px;
1087+
font-size: 15px;
10881088
line-height: 1.42857143;
10891089
color: #333;
10901090
background-color: #fff;
@@ -4247,23 +4247,23 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
42474247
}
42484248
}
42494249
.navbar-fixed-top {
4250-
background-color: #343334;
4251-
border-color: #343334;
4250+
background-color: #5068C2;
4251+
border-color: #5068C2;
42524252
top: 0;
42534253
border-width: 0 0 1px;
42544254
}
42554255
.navbar-fixed-bottom {
42564256
bottom: 0;
42574257
margin-bottom: 0;
42584258
border-width: 1px 0 0;
4259-
background-color: #343334;
4260-
border-color: #343334;
4259+
background-color: #323232;
4260+
border-color: #323232;
42614261
}
42624262
.navbar-brand {
42634263
float: left;
42644264
height: 50px;
42654265
padding: 15px 15px;
4266-
font-size: 18px;
4266+
font-size: 15px;
42674267
line-height: 20px;
42684268
}
42694269
.navbar-brand:hover,
@@ -4604,15 +4604,12 @@ fieldset[disabled] .navbar-default .btn-link:focus {
46044604
.navbar-inverse .navbar-nav > .disabled > a,
46054605
.navbar-inverse .navbar-nav > .disabled > a:hover,
46064606
.navbar-inverse .navbar-nav > .disabled > a:focus {
4607-
color: #444;
4607+
color: #5068C2;
46084608
background-color: transparent;
46094609
}
4610-
.navbar-inverse .navbar-toggle {
4611-
border-color: #333;
4612-
}
46134610
.navbar-inverse .navbar-toggle:hover,
46144611
.navbar-inverse .navbar-toggle:focus {
4615-
background-color: #272727;
4612+
background-color: #3F55AF;
46164613
}
46174614
.navbar-inverse .navbar-toggle .icon-bar {
46184615
background-color: #fff;

packages/composer-website/jekylldocs/assets/css/composer-style.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@
99
html,
1010
body {
1111
height: 100%;
12-
font-family: 'Roboto', sans-serif;
12+
font-family: 'Open Sans', sans-serif;
13+
-webkit-font-smoothing: antialiased;
14+
-moz-osx-font-smoothing: grayscale;
1315
}
1416
html {
15-
font-family: 'Roboto', sans-serif;
17+
font-family: 'Open Sans', sans-serif;
1618
}
1719

1820
h1, h2, h3, h4, h5, h6 {
19-
font-family: 'Roboto', sans-serif;
21+
font-family: 'Open Sans', sans-serif;
2022
}
2123
body {
2224
/*padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */*/
23-
font-family: 'Roboto', sans-serif;
25+
font-family: 'Open Sans', sans-serif;
2426
}
2527

2628
.img-portfolio {

0 commit comments

Comments
 (0)