Skip to content

Commit c1f419c

Browse files
committed
fix(website): Nav Icon + logo
1 parent 688f057 commit c1f419c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

docs/_includes/header.html

+3-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<nav class="navbar navbar-default navbar-inverse">
33
<div class="container-fluid">
44
<div class="navbar-header">
5-
<button type="button" class="text-white navbar-toggle collapsed" data-toggle="collapse" data-target="#instant-search-nav" aria-expanded="false">
5+
<button type="button" class="text-white navbar-toggle collapsed" data-toggle="collapse" data-target="#instant-search-nav">
66
Menu <i class="fa fa-bars m-l"></i>
77
</button>
88
<a class="navbar-brand" href="{{ site.baseurl }}/">{{ site.title }}</a>
@@ -16,10 +16,8 @@
1616
</li>
1717
{% endfor %}
1818
<li>
19-
<a
20-
href="http://github.com/algolia/instantsearch.js"
21-
title="See more, open issues and get answers in our Github repository">
22-
<i class="fa fa-github"></i>
19+
<a href="http://github.com/algolia/instantsearch.js" title="See more, open issues and get answers in our Github repository">
20+
<i class="fa fa-github"></i>
2321
</a>
2422
</li>
2523
</ul>

docs/css/_header.sass

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ header.site-header
1919
background-color: transparent
2020
.fa-github
2121
font-size: 2em
22+
width: 30px
23+
display: inline-block
24+
text-align: center
2225
position: relative
2326
top: -4px
2427

docs/index.haml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ layout: default
1414
%img{src:"img/algolia-logo.svg", width: 100, alt:"Logo Algolia"}
1515
presents:
1616
%h1.logo
17-
{% svg img/logo-instantsearch.svg %}
17+
%img.img-responsive.m-r{src:"img/logo-instantsearch.svg", alt:"Logo InstantSearch.js"}
1818
%p.vp
1919
The library of UI widgets to build the best instant-search experience with
2020
%a{href:"https://www.algolia.com"} Algolia's Hosted Search API.
@@ -113,14 +113,14 @@ layout: default
113113
.container
114114
.spacer100
115115
.row
116-
.col-xs-4.col-xs-offset-1
116+
.col-xs-4.col-xs-offset-2
117117
%section#instantsearch-vp-1
118118
.text-center
119119
.illus-wrapper
120120
%img{src:"img/icon-ux.svg", alt:"UX", width:40}
121121
%h2 Search UX done right
122122
%p Algolia strives to build the best search experience for the end users. All of the best practices we learned while implementing search on hundreds of websites are now packed into our widgets.
123-
.col-xs-4.col-xs-offset-2
123+
.col-xs-4
124124
%section#instantsearch-vp-2
125125
.text-center
126126
.illus-wrapper

0 commit comments

Comments
 (0)