]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps: embed hamburger in data uri
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 6 Aug 2022 00:29:21 +0000 (17:29 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 6 Aug 2022 00:29:21 +0000 (17:29 -0700)
extra/webapps/wiki/icons/hamburger.svg [deleted file]
extra/webapps/wiki/wiki-common.xml

diff --git a/extra/webapps/wiki/icons/hamburger.svg b/extra/webapps/wiki/icons/hamburger.svg
deleted file mode 100644 (file)
index 7b81a29..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg height="24px" id="Layer_1" style="enable-background:new 0 0 32 32;" version="1.1" viewBox="0 0 32 32" width="24px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M4,10h24c1.104,0,2-0.896,2-2s-0.896-2-2-2H4C2.896,6,2,6.896,2,8S2.896,10,4,10z M28,14H4c-1.104,0-2,0.896-2,2  s0.896,2,2,2h24c1.104,0,2-0.896,2-2S29.104,14,28,14z M28,22H4c-1.104,0-2,0.896-2,2s0.896,2,2,2h24c1.104,0,2-0.896,2-2  S29.104,22,28,22z"/></svg>
index 95732bf6f1f892132b35e80fdae7d1380e707b73..e0c371bc9cafe9905fa42e8f5c0721a4cf38bba8 100644 (file)
@@ -37,7 +37,7 @@
         <div class="navrow">
 
             <t:if t:value="contents">
-                <img id="menu" onclick="toggleSidebar()" src="../icons/hamburger.svg" />
+                <img id="menu" onclick="toggleSidebar()" src="data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 100 100' fill='rgb(0,0,0)'%3E%3Crect x='10' y='20' width='80' height='12' rx='6' /%3E%3Crect x='10' y='44' width='80' height='12' rx='6' /%3E%3Crect x='10' y='68' width='80' height='12' rx='6' /%3E%3C/svg>" />
             </t:if>
 
             <t:a t:href="$wiki">Front Page</t:a>