Skip to content

Commit 744a047

Browse files
docs(header): replace logo.png with logo.svg
The current logo looks awful on high-density displays. SVG is a better choice because it can scale to any resolution without increasing file size. Amending angular#2775 to add support for IE 8 by falling back to existing PNG with img.onerror
1 parent 0921bd0 commit 744a047

8 files changed

+9742
-3
lines changed
Loading

docs/src/templates/index.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@
118118
<div class="navbar-inner">
119119
<div class="container">
120120
<a class="brand" href="http://angularjs.org" style="padding-top: 6px; padding-bottom: 0px;">
121-
<img class="AngularJS-small" src="http://angularjs.org/img/AngularJS-small.png">
121+
<img
122+
class="AngularJS-small"
123+
src="http://angularjs.org/img/angular_logo_for_dark_background_small.svg"
124+
onerror="this.src = 'http://angularjs.org/img/AngularJS-small.png'"
125+
>
122126
</a>
123127
<ul class="nav">
124128
<li class="divider-vertical"></li>

docs/src/templates/js/jquery.js

-1
This file was deleted.

0 commit comments

Comments
 (0)