Add favicons for doc and presentation apps

pull/1/head
David Benqué 3 years ago
parent bdfb4db13c
commit 2cf70bc754

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

@ -1,24 +1,23 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg <svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="512" width="512"
height="512" height="512"
version="1.1" version="1.1"
viewBox="0 0 135.46606 135.46728" viewBox="0 0 135.46606 135.46728"
id="svg942" id="svg942"
sodipodi:docname="favicon_source.svg" sodipodi:docname="favicon_source.svg"
inkscape:version="1.0.2 (1.0.2+r75+1)" inkscape:version="1.1.1 (1:1.1+202109281949+c3084ef5ed)"
inkscape:export-filename="/home/david/cryptpad/customize.dist/favicon/main-favicon-docs.png" inkscape:export-filename="/home/david/cryptpad/customize.dist/favicon/main-favicon-docs.png"
inkscape:export-xdpi="96" inkscape:export-xdpi="96"
inkscape:export-ydpi="96"> inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<metadata <metadata
id="metadata948"> id="metadata948">
<rdf:RDF> <rdf:RDF>
@ -35,7 +34,7 @@
id="defs946"> id="defs946">
<linearGradient <linearGradient
id="linearGradient943" id="linearGradient943"
osb:paint="solid"> inkscape:swatch="solid">
<stop <stop
style="stop-color:#0087ff;stop-opacity:1;" style="stop-color:#0087ff;stop-opacity:1;"
offset="0" offset="0"
@ -43,7 +42,7 @@
</linearGradient> </linearGradient>
<linearGradient <linearGradient
id="linearGradient947" id="linearGradient947"
osb:paint="solid"> inkscape:swatch="solid">
<stop <stop
style="stop-color:#2467cf;stop-opacity:1;" style="stop-color:#2467cf;stop-opacity:1;"
offset="0" offset="0"
@ -51,7 +50,7 @@
</linearGradient> </linearGradient>
<linearGradient <linearGradient
id="linearGradient939" id="linearGradient939"
osb:paint="solid"> inkscape:swatch="solid">
<stop <stop
style="stop-color:#99b4dd;stop-opacity:1;" style="stop-color:#99b4dd;stop-opacity:1;"
offset="0" offset="0"
@ -59,7 +58,7 @@
</linearGradient> </linearGradient>
<linearGradient <linearGradient
id="linearGradient934" id="linearGradient934"
osb:paint="solid"> inkscape:swatch="solid">
<stop <stop
style="stop-color:#0087ff;stop-opacity:1;" style="stop-color:#0087ff;stop-opacity:1;"
offset="0" offset="0"
@ -67,7 +66,7 @@
</linearGradient> </linearGradient>
<linearGradient <linearGradient
id="linearGradient917" id="linearGradient917"
osb:paint="solid"> inkscape:swatch="solid">
<stop <stop
style="stop-color:#0087ff;stop-opacity:1;" style="stop-color:#0087ff;stop-opacity:1;"
offset="0" offset="0"
@ -92,18 +91,19 @@
guidetolerance="10" guidetolerance="10"
inkscape:pageopacity="0" inkscape:pageopacity="0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-width="1900" inkscape:window-width="1832"
inkscape:window-height="996" inkscape:window-height="1133"
id="namedview944" id="namedview944"
showgrid="false" showgrid="false"
inkscape:zoom="0.819555" inkscape:zoom="0.819555"
inkscape:cx="220.04746" inkscape:cx="-41.485928"
inkscape:cy="396.21109" inkscape:cy="396.55667"
inkscape:window-x="10" inkscape:window-x="26"
inkscape:window-y="50" inkscape:window-y="23"
inkscape:window-maximized="0" inkscape:window-maximized="0"
inkscape:current-layer="g1109" inkscape:current-layer="g369"
inkscape:document-rotation="0" /> inkscape:document-rotation="0"
inkscape:pagecheckerboard="0" />
<g <g
inkscape:groupmode="layer" inkscape:groupmode="layer"
id="layer3" id="layer3"
@ -179,7 +179,7 @@
inkscape:groupmode="layer" inkscape:groupmode="layer"
id="g1113" id="g1113"
inkscape:label="[export] shield docs [brand/drive] " inkscape:label="[export] shield docs [brand/drive] "
style="display:inline"> style="display:none">
<g <g
id="g1111" id="g1111"
transform="matrix(1.4853714,0,0,1.4853714,12.798765,-0.61151946)"> transform="matrix(1.4853714,0,0,1.4853714,12.798765,-0.61151946)">
@ -266,6 +266,49 @@
</g> </g>
</g> </g>
</g> </g>
<g
inkscape:groupmode="layer"
id="g373"
inkscape:label="[export] shield [OO_doc]"
style="display:inline">
<g
id="g371"
transform="matrix(1.4853714,0,0,1.4853714,12.798765,-0.61151946)">
<g
transform="translate(-125.38,-26.449)"
id="g369">
<path
d="m 128.98,30.355 0.55499,39.644 h 33.141 l 0.004,-39.644 z"
style="fill:#5170b5;fill-opacity:0.396078"
id="path355" />
<path
d="m 162.69,70 0.003,43.946 c 12.825,-5.8796 32.762,-17.077 33.127,-43.157 l 0.0108,-0.78911 z"
style="fill:#5170b5;fill-opacity:0.396078"
id="path357" />
<path
d="m 128.98,30.355 h 44.386 L 195.78,51.181 V 76.08 c 0,26.166 -21.414,32.228 -33.117,38.409 -12.815,-5.8945 -32.794,-12.329 -33.117,-38.409 z"
style="fill:none;stroke:#5170b5;stroke-width:5.2922;stroke-opacity:1"
id="path359" />
<path
d="m 171.32,29.811 v 23.04 h 24.575"
style="fill:none;stroke:#5170b5;stroke-width:5.2917;stroke-opacity:1"
id="path361" />
<g
transform="matrix(1.1107,0,0,1.1107,18.926,21.932)"
style="fill:#4839b7;fill-opacity:1"
id="g367">
<path
d="m 137.23,42.719 a 8.1185,8.1185 0 0 1 -8.1185,8.1185 8.1185,8.1185 0 0 1 -8.1185,-8.1185 8.1185,8.1185 0 0 1 8.1185,-8.1185 8.1185,8.1185 0 0 1 8.1185,8.1185 z"
style="fill:#5170b5;fill-opacity:1"
id="path363" />
<path
d="m 127,42.651 h 4.2265 l 4.2333,22.354 h -12.693 z"
style="fill:#5170b5;fill-opacity:1"
id="path365" />
</g>
</g>
</g>
</g>
<g <g
inkscape:groupmode="layer" inkscape:groupmode="layer"
id="g913" id="g913"

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

@ -1,7 +1,7 @@
define(['/api/config'], function (ApiConfig) { define(['/api/config'], function (ApiConfig) {
var Module = {}; var Module = {};
var apps = ['code', 'slide', 'pad', 'kanban', 'whiteboard', 'sheet', 'poll', 'teams', 'form']; var apps = ['code', 'slide', 'pad', 'kanban', 'whiteboard', 'sheet', 'poll', 'teams', 'form', 'doc', 'presentation'];
var app = window.location.pathname.slice(1, -1); // remove "/" at the beginnin and the end var app = window.location.pathname.slice(1, -1); // remove "/" at the beginnin and the end
var suffix = apps.indexOf(app) !== -1 ? '-'+app : ''; var suffix = apps.indexOf(app) !== -1 ? '-'+app : '';

Loading…
Cancel
Save