Add favicon

This commit is contained in:
Michael Hansen 2022-03-29 16:39:50 -04:00
commit 016e11a036
4 changed files with 79 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 5 KiB

Before After
Before After

View file

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="200"
height="200"
viewBox="0 0 200 200"
version="1.1"
id="svg10"
sodipodi:docname="Mimic_color.svg"
inkscape:export-filename="/home/hansenm/opt/mimic3/mimic3-http/mimic3_http/img/Mimic_color.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)">
<metadata
id="metadata14">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Mimic_color</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1351"
inkscape:window-height="888"
id="namedview12"
showgrid="false"
inkscape:zoom="2.125"
inkscape:cx="112.72998"
inkscape:cy="101.76281"
inkscape:window-x="0"
inkscape:window-y="147"
inkscape:window-maximized="0"
inkscape:current-layer="svg10" />
<defs
id="defs4">
<style
id="style2">.a{fill:#69deff;}</style>
</defs>
<title
id="title6">Mimic_color</title>
<ellipse
style="opacity:1;fill:#ffffff;stroke:none;stroke-width:3.77953"
id="path839"
cx="109.10107"
cy="109.12006"
rx="58.383949"
ry="57.106647" />
<path
class="a"
d="M107.66,25.29A76,76,0,0,0,47,147.06c-3.38,6.08-7.43,11.06-10.16,13.39a52.53,52.53,0,0,1-12,7.63c-4.05,2-6.81,2.54-7.7,4.32A2.66,2.66,0,0,0,18.77,176a29.46,29.46,0,0,0,8.45,1.19,106.15,106.15,0,0,0,16.18-1,132.92,132.92,0,0,0,30-7.13,76,76,0,1,0,34.3-143.77Zm-18.18,95a12,12,0,0,1-24,0V87.34a12,12,0,0,1,24,0Zm30.68,0a12,12,0,1,1-24,0v-18a12,12,0,1,1,24,0Zm30.69,0a12,12,0,0,1-24,0V87.34a12,12,0,0,1,24,0Z"
id="path8" />
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

View file

@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Mimic 3 text to speech server">
<meta name="author" content="Michael Hansen">
<link rel="icon" type="image/png" href="img/favicon.png" />
<title>Mimic 3</title>
@ -94,8 +95,13 @@
</div>
</div>
<hr class="mt-5" />
<div class="row mt-5">
<img id="mycroft-logo" src="img/Mycroft_logo_two_typeonly.png" />
<div class="row mt-5 justify-content-center">
<a href="https://mycroft.ai" title="Mycroft AI">
<img id="mycroft-logo" src="img/Mycroft_logo_two_typeonly.png" />
</a>
</div>
<div class="row mt-3 justify-content-center">
<a href="https://www.gnu.org/licenses/agpl-3.0.en.html" title="AGPLv3">License</a>
</div>
</div>
@ -184,7 +190,7 @@
var voiceKey = voiceList.options[voiceList.selectedIndex].value
var voice = voicesInfo[voiceKey]
if (voice.speakers) {
if (voice.speakers && voice.speakers.length > 0) {
voice.speakers.forEach(function(speaker) {
speakerList.insertAdjacentHTML(
'beforeend', '<option value="' + speaker + '">' + speaker + '</option>'