Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Add GitHub link to site header (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshbrntt authored and jelbourn committed Mar 13, 2017
1 parent 313f505 commit 686b5dd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/app/shared/navbar/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@
</a>
<a md-button routerLink="components">Components</a>
<a md-button routerLink="guides">Guides</a>
<a md-button href="https://github.com/angular/material2" aria-label="GitHub Repository">
<img class="docs-github-logo"
src="../../../assets/img/homepage/github-circle-white-transparent.svg"
alt="GitHub">
GitHub
</a>
</nav>

16 changes: 15 additions & 1 deletion src/app/shared/navbar/navbar.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
.docs-navbar {
display: flex;
flex-wrap: wrap;
padding: 8px 16px;

> .mat-button {
&:last-child {
margin-left: auto;
}
}
}

.docs-angular-logo {
margin: 0 4px 3px 0;
height: 26px;
margin: 0 4px 3px 0;
vertical-align: middle;
}

.docs-github-logo {
height: 21px;
margin: 0 7px 2px 0;
vertical-align: middle;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 686b5dd

Please sign in to comment.