Skip to content

Commit

Permalink
feat(website): community header
Browse files Browse the repository at this point in the history
  • Loading branch information
Shipow committed Mar 9, 2016
1 parent 9498e3b commit 366cc0d
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 4 deletions.
7 changes: 5 additions & 2 deletions docs/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a id="logo" href="{{ site.baseurl }}/">
<a id="logo-community" href="https://community.algolia.com/">
<img src="{{site.baseurl}}/img/logo-community-sm.svg" alt="Algolia Community" />
Community
</a>
<a id="logo-algolia" href="{{ site.baseurl }}/">
<img src="{{site.baseurl}}/img/algolia-logo.svg" alt="Algolia" />
</a>
presents
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
Expand Down
16 changes: 14 additions & 2 deletions docs/css/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,23 @@ html, body {

/* HEADER
// ------------------------- */
#logo img {
height: 32px;
#logo-algolia img {
height: 24px;
top: -2px;
position: relative;
margin-right: 12px;
}

#logo-community {
font-size: 1.6em;
color: white;
margin-right: 8px;
img {
height: 46px;
width: 46px;
}
}

.site-header {
width: 100%;
.navbar {
Expand Down
37 changes: 37 additions & 0 deletions docs/img/logo-community-lg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions docs/img/logo-community-sm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/img/mask copy.png
Binary file not shown.

0 comments on commit 366cc0d

Please sign in to comment.