summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-04-20 13:32:08 +0200
committerYorhel <git@yorhel.nl>2021-04-20 13:32:09 +0200
commit93d3012d95a7f9baf81cf1ae04dc1de50484d8ad (patch)
tree41cc19d9d216662e0c127de8dcf8b122662660f1
parent7b350d177c1a3c78527263d87243f27c2586a0f9 (diff)
Icons: Replace feed icon with SVG
Removing old PNG icons, one by one.
-rw-r--r--data/icons/feed.pngbin519 -> 0 bytes
-rw-r--r--lib/VNWeb/Misc/HomePage.pm4
-rw-r--r--static/f/rss.svg9
3 files changed, 12 insertions, 1 deletions
diff --git a/data/icons/feed.png b/data/icons/feed.png
deleted file mode 100644
index 22b1e844..00000000
--- a/data/icons/feed.png
+++ /dev/null
Binary files differ
diff --git a/lib/VNWeb/Misc/HomePage.pm b/lib/VNWeb/Misc/HomePage.pm
index 22d81df6..865ec213 100644
--- a/lib/VNWeb/Misc/HomePage.pm
+++ b/lib/VNWeb/Misc/HomePage.pm
@@ -44,7 +44,9 @@ sub recent_changes_ {
my($lst) = VNWeb::Misc::History::fetch(undef, {m=>1,h=>1,p=>1}, {results=>10});
h1_ sub {
a_ href => '/hist', 'Recent Changes'; txt_ ' ';
- a_ href => '/feeds/changes.atom', sub { abbr_ class => 'icons feed', title => 'Atom Feed', '' };
+ a_ href => '/feeds/changes.atom', sub {
+ img_ src => config->{url_static}.'/f/rss.svg', title => 'Atom feed', width => 14, height => 14;
+ }
};
ul_ sub {
li_ sub {
diff --git a/static/f/rss.svg b/static/f/rss.svg
new file mode 100644
index 00000000..8c5cce9f
--- /dev/null
+++ b/static/f/rss.svg
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg version="1.1" viewBox="0 0 455.73 455.73" xmlns="http://www.w3.org/2000/svg">
+<rect width="455.73" height="455.73" fill="#F78422"/>
+<g fill="#fff">
+<path d="m296.21 159.16c-61.763-61.763-143.94-95.778-231.4-95.778v64.348c70.268 0 136.29 27.321 185.9 76.931 49.609 49.61 76.931 115.63 76.931 185.9h64.348c-1e-3 -87.456-34.016-169.64-95.779-231.4z"/>
+<path d="m64.143 172.27v64.348c84.881 0 153.94 69.056 153.94 153.94h64.348c0-120.36-97.922-218.29-218.29-218.29z"/>
+<circle cx="109.83" cy="346.26" r="46.088"/>
+</g>
+</svg>