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

Add GitHub link #77

Merged
merged 8 commits into from
Mar 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.