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

Commit 1f522c7

Browse files
committed
Adding GitHub link to the navbar.
1 parent cdc241e commit 1f522c7

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/app/shared/navbar/navbar.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@
88
</a>
99
<a md-button routerLink="components">Components</a>
1010
<a md-button routerLink="guides">Guides</a>
11+
<a md-button class="pull-right" href="https://github.com/angular/material2" aria-label="GitHub Repository">
12+
<img class="docs-github-logo"
13+
src="../../../assets/img/homepage/github-circle-white-transparent.svg"
14+
alt="GitHub">
15+
<span>GitHub</span>
16+
</a>
1117
</nav>
12-

src/app/shared/navbar/navbar.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@
77
height: 26px;
88
vertical-align: middle;
99
}
10+
11+
.docs-github-logo {
12+
margin: 0 7px 2px 0;
13+
height: 21px;
14+
vertical-align: middle;
15+
}

0 commit comments

Comments
 (0)