Skip to content

Commit

Permalink
footer for other pages needed to show blue version of cncf logo. (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart authored Mar 16, 2018
1 parent d126f6c commit 17adbbe
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 1 deletion.
6 changes: 5 additions & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
<div class="col-xs-6 copyright">
<p class="social svg">
<a target="_blank" href="http://www.cncf.io/" class="pull-right">
{{ readFile "static/img/cncf-white.svg" | safeHTML }}
{{ if .IsHome }}
{{ readFile "static/img/cncf-white.svg" | safeHTML }}
{{ else }}
{{ readFile "static/img/cncf-blue.svg" | safeHTML }}
{{ end }}
</a>
</p>
</div>
Expand Down
93 changes: 93 additions & 0 deletions src/img/cncf-blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions src/img/cncf-icon-blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/less/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,13 @@ footer {
img {
width: 32px;
}
.svg {
padding-top: 2px;
}
svg {
height: 32px;
vertical-align: sub;
}
}
}
.supported {
Expand Down

0 comments on commit 17adbbe

Please sign in to comment.