Skip to content

Commit

Permalink
(#77) Footer and navigation bar complete
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermesgb committed Nov 19, 2014
1 parent 84f7550 commit 5e511a9
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 36 deletions.
47 changes: 36 additions & 11 deletions slate/source/layouts/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,24 @@ under the License.

<body class="<%= page_classes %> api">

<style>
.nav_bar_grey_lnk > .nav_bar_grey_span {
background-color: #E5E9EF;
border: 5px solid transparent;
border-radius: 5px;
}

.active > .nav_bar_grey_lnk > .nav_bar_grey_span,
.nav_bar_grey_lnk > .nav_bar_grey_span:hover {
background-color: #E5E9EF !important;
color: #2DAEBF !important;
}

.nav_bar_grey_lnk:hover {
color: #2DAEBF !important;
}
</style>

<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header" href="#">
Expand All @@ -49,29 +67,36 @@ under the License.
</div>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav">
<li class="active">
<a href="http://buddycloud.com/api">
API
</a>
</li>
<li>
<a href="http://buddycloud.com/features">
Features
</a>
</li>
<li>
<a href="http://buddycloud.com/get-started">
Get Started
<a href="http://buddycloud.com/developers">
Developers
</a>
</li>
<li>
<a href="http://buddycloud.com/enterprise">
Enterprise
</a>
</li>
<li>
<a href="http://buddycloud.com/about">
About
</a>
</li>
<li>
<a href="http://buddycloud.com/how-buddycloud-works">
How it works
<a href="https://hosting.buddycloud.com/login">
Sign In
</a>
</li>
<li>
<a href="http://buddycloud.com/contact">
Contact
<a href="http://buddycloud.com/get-started" class="nav_bar_grey_lnk">
<span class="nav_bar_grey_span">
Get Started
</span>
</a>
</li>
</ul>
Expand Down
47 changes: 35 additions & 12 deletions theme/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,45 @@
{% if active_page != "index" %}
</div>
</div>
<nav>
<hr/>
<div class="container">
<p class="text-muted pull-right">
Made with love.
<a href="https://github.com/buddycloud/buddycloud.com">
Corrections welcomed
</a>
.
</p>
</div>
<div class="index">
<div class="background-contact">
<div class="container" id="contact">
<div class="row">
<div class="col-md-4">
<h3>Mission</h3>
<em>"We create the tools and services that enable developers to build secure communication products."</em>
</div>
<div class="col-md-4">
<h3>Company</h3>
<ul class="list-unstyled">
<li><a href="/contact">Contact</a></li>
<li><a href="/faq">FAQ</a></li>
<li><a href="">Terms of service</a></li>
<li><a href="">Privacy Policy</a></li>
</ul>
</div>
<div class="col-md-4">
<h3>Dive deeper</h3>
<div class="contact">
<a href="https://twitter.com/buddycloud" class="twitter">Twitter</a> <a href="http://blog.buddycloud.com" class="blog">Blog</a> <a
href="https://github.com/buddycloud" class="github">Github</a> <a href="https://demo.buddycloud.org/[email protected]" class="buddycloud">buddyloud</a>
</br>
</div>
</br>
<ul class="list-unstyled">
<li><a href="https://groups.google.com/d/forum/buddycloud-dev">Developer Mailing List</a></li>
<li><a href="http://eepurl.com/79Q3P">Newsletter</a></li>
<li><a href="https://jappix.com/[email protected]">Developer chatroom</a></li>
</ul>
</div>
</nav>
</div>
</div>
</div>
</div>
{% endif %}

<script data-cfasync="false" type='text/javascript'>
<script data-cfasync="false" type='text/javascript'>
/*<![CDATA[*/window.olark||(function(c){var f=window,d=document,l=f.location.protocol=="https:"?"https:":"http:",z=c.name,r="load";var nt=function(){f[z]=function(){(a.s=a.s||[]).push(arguments)};var a=f[z]._={},q=c.methods.length;while(q--){(function(n){f[z][n]=function(){f[z]("call",n,arguments)}})(c.methods[q])}a.l=c.loader;a.i=nt;a.p={0:+new Date};a.P=function(u){a.p[u]=new Date-a.p[0]};function s(){a.P(r);f[z](r)}f.addEventListener?f.addEventListener(r,s,false):f.attachEvent("on"+r,s);var ld=function(){function p(hd){hd="head";return["<",hd,"></",hd,"><",i,' onl' + 'oad="var d=',g,";d.getElementsByTagName('head')[0].",j,"(d.",h,"('script')).",k,"='",l,"//",a.l,"'",'"',"></",i,">"].join("")}var i="body",m=d[i];if(!m){return setTimeout(ld,100)}a.P(1);var j="appendChild",h="createElement",k="src",n=d[h]("div"),v=n[j](d[h](z)),b=d[h]("iframe"),g="document",e="domain",o;n.style.display="none";m.insertBefore(n,m.firstChild).id=z;b.frameBorder="0";b.id=z+"-loader";if(/MSIE[ ]+6/.test(navigator.userAgent)){b.src="javascript:false"}b.allowTransparency="true";v[j](b);try{b.contentWindow[g].open()}catch(w){c[e]=d[e];o="javascript:var d="+g+".open();d.domain='"+d.domain+"';";b[k]=o+"void(0);"}try{var t=b.contentWindow[g];t.write(p());t.close()}catch(x){b[k]=o+'d.write("'+p().replace(/"/g,String.fromCharCode(92)+'"')+'");d.close();'}a.P(2)};ld()};nt()})({loader: "static.olark.com/jsclient/loader0.js",name:"olark",methods:["configure","extend","declare","identify"]});
/* custom configuration goes here (www.olark.com/documentation) */
olark.identify('1860-190-10-1586');/*]]>*/
Expand Down
28 changes: 15 additions & 13 deletions theme/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,31 @@ <h2>A Community of Peers</h2>
<div class="container" id="contact">
<div class="row">
<div class="col-md-4">
<h3>Get in touch</h3>
<ul class="list-unstyled">
<li><a href="/contact">Contact</a></li>
<!-- <li><a href="">Team</a></li>
<li><a href="#">Press</a></li> -->
<li><a href="http://blog.buddycloud.com">Blog</a></li>
</ul>
<h3>Mission</h3>
<em>"We create the tools and services that enable developers to build secure communication products."</em>
</div>
<div class="col-md-4">
<h3>Help and support</h3>
<h3>Company</h3>
<ul class="list-unstyled">
<li>+1 415-858-0202</li>
<li><a href="https://groups.google.com/d/forum/buddycloud-dev">Team mailing list</a></li>
<li><a href="https://jappix.com/[email protected]">Get help in our chatroom</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/faq">FAQ</a></li>
<li><a href="">Terms of service</a></li>
<li><a href="">Privacy Policy</a></li>
</ul>
</div>
<div class="col-md-4">
<h3>Stay connected</h3>
<h3>Dive deeper</h3>
<div class="contact">
<a href="https://twitter.com/buddycloud" class="twitter">Twitter</a> <a href="http://blog.buddycloud.com" class="blog">Blog</a> <a
href="https://github.com/buddycloud" class="github">Github</a> <a href="https://demo.buddycloud.org/[email protected]" class="buddycloud">buddyloud</a>
<br>
</br>
</div>
</br>
<ul class="list-unstyled">
<li><a href="https://groups.google.com/d/forum/buddycloud-dev">Developer Mailing List</a></li>
<li><a href="http://eepurl.com/79Q3P">Newsletter</a></li>
<li><a href="https://jappix.com/[email protected]">Developer chatroom</a></li>
</ul>
</div>
</div>
</div>
Expand Down

0 comments on commit 5e511a9

Please sign in to comment.