Replace RSS feed icon

Use a flat icon from the Open Iconic collection for the RSS feed.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-12-12 12:22:06 +01:00
parent 256a343b18
commit a35dc4022a
4 changed files with 5 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 689 B

3
web/html/images/rss.svg Normal file
View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8">
<path style="fill:#3366aa;fill-opacity:1" d="M0 0v2c3.33 0 6 2.67 6 6h2c0-4.41-3.59-8-8-8zm0 3v2c1.67 0 3 1.33 3 3h2c0-2.75-2.25-5-5-5zm0 3v2h2c0-1.11-.9-2-2-2z" />
</svg>

After

Width:  |  Height:  |  Size: 254 B

View file

@ -172,7 +172,6 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
case "/css/archnavbar/archlogo.png": case "/css/archnavbar/archlogo.png":
case "/css/archnavbar/aurlogo.png": case "/css/archnavbar/aurlogo.png":
case "/images/favicon.ico": case "/images/favicon.ico":
case "/images/feed-icon-14x14.png":
case "/images/titlelogo.png": case "/images/titlelogo.png":
case "/images/x.png": case "/images/x.png":
header("Content-Type: image/png"); header("Content-Type: image/png");
@ -182,6 +181,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
case "/images/pencil.min.svg": case "/images/pencil.min.svg":
case "/images/pin.min.svg": case "/images/pin.min.svg":
case "/images/unpin.min.svg": case "/images/unpin.min.svg":
case "/images/rss.svg":
header("Content-Type: image/svg+xml"); header("Content-Type: image/svg+xml");
readfile("./$path"); readfile("./$path");
break; break;

View file

@ -1,6 +1,6 @@
<h3><?= __("Recent Updates") ?></h3> <h3><?= __("Recent Updates") ?></h3>
<a href="<?= get_uri('/rss/') ?>" title="Arch Package Updates RSS Feed" class="rss-icon"><img src="/images/feed-icon-14x14.png" alt="RSS Feed" /></a> <a href="<?= get_uri('/rss/') ?>" title="Arch Package Updates RSS Feed" class="rss-icon"><img src="/images/rss.svg" alt="RSS Feed" /></a>
<table> <table>
<tbody> <tbody>