Skip to content

Commit 0fce095

Browse files
committed
added a nice footer
1 parent 75aca11 commit 0fce095

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

app/app.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,20 @@ h2 {
127127
right:20px;
128128
bottom:20px;
129129
}
130+
131+
#footer {
132+
position:fixed;
133+
bottom:0;
134+
left:0;
135+
right:0;
136+
background:black;
137+
padding:1em;
138+
box-shadow:0 -5px 20px #555;
139+
}
140+
#footer a {
141+
color:silver;
142+
text-decoration:none;
143+
}
144+
#footer .cloud-link {
145+
float:right;
146+
}

app/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
<div data-ng-view id="ng-view"></div>
4242
</div>
4343
</div>
44+
<footer id="footer">
45+
<a href="https://github.com/yearofmoo-articles/AngularJS-Testing-Article" target="_blank" class="github-link"><span class="icon-github"></span> View Github Repo</a>
46+
<a href="http://www.yearofmoo.com/" target="_blank" class="cloud-link"><span class="icon-cloud"></span> Goto Yearofmoo</a>
47+
</footer>
4448
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
4549
<script src="./lib/angular.min.js"></script>
4650
<script src="./lib/bootstrap/js/bootstrap.js"></script>

0 commit comments

Comments
 (0)