Skip to content
Snippets Groups Projects
Commit 8e774963 authored by Jake's avatar Jake :speech_balloon:
Browse files

Merge branch 'favicon' into 'master'

Favicon

Closes #10

See merge request GAUMI-fginfo/fg-website!12
parents 5db22b38 21c7b9b7
No related branches found
No related tags found
No related merge requests found
Pipeline #314782 passed
#!/bin/bash
set -e
function convertfavicon() {
targetsize="${1}"
#inkscape -z -e "favicon-${targetsize}.png" -w "${targetsize}" -h "${targetsize}" favicon.svg
inkscape --export-area-snap --export-type png --export-filename "favicon-${targetsize}.png" -w "${targetsize}" -h "${targetsize}" favicon.svg
}
convertfavicon 32
convertfavicon 57
convertfavicon 72
convertfavicon 114
convertfavicon 144
theme/static/images/favicon/favicon-114.png

4.94 KiB

theme/static/images/favicon/favicon-144.png

6.47 KiB

theme/static/images/favicon/favicon-32.png

1.29 KiB

theme/static/images/favicon/favicon-57.png

2.3 KiB

theme/static/images/favicon/favicon-72.png

2.96 KiB

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="32"
height="32"
viewBox="0 0 31.999995 32"
id="svg2"
version="1.1"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
sodipodi:docname="favicon.svg"
inkscape:export-filename="/home/jake/stuff/fg/fg-website/theme/static/images/favicon/favicon-32.png"
inkscape:export-xdpi="15.36"
inkscape:export-ydpi="15.36"
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/">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 16 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="31.999995 : 16 : 1"
inkscape:persp3d-origin="15.999997 : 10.666667 : 1"
id="perspective1349" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#060fff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="22.627418"
inkscape:cx="14.71666"
inkscape:cy="15.666834"
inkscape:document-units="px"
inkscape:current-layer="layer3"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showguides="false"
inkscape:guide-bbox="true"
inkscape:snap-to-guides="true"
inkscape:snap-object-midpoints="true"
inkscape:window-width="1916"
inkscape:window-height="1036"
inkscape:window-x="1600"
inkscape:window-y="20"
inkscape:window-maximized="0"
units="px"
showborder="true"
inkscape:pagecheckerboard="true"
width="32px">
<sodipodi:guide
position="230.56114,23.933946"
orientation="0,1"
id="guide6567"
inkscape:locked="false" />
<sodipodi:guide
position="181.41602,176.79345"
orientation="1,0"
id="guide6569"
inkscape:locked="false" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="All"
transform="translate(-107.38477,-654.54546)"
style="display:inline">
<rect
id="rect363"
width="32"
height="32"
x="107.38477"
y="654.54547"
style="fill:#ffffff"
ry="5.2991958" />
<path
style="display:inline;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.90632;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 113.14113,684.99148 c 0,0 -1.70142,-3.14657 -1.23217,-4.50171 0.59045,-1.70523 -0.14558,-3.0391 0.45512,-4.37109 0.96925,-2.14922 3.6561,-3.41807 4.77809,-5.17051 0.62623,-0.97807 1.74708,-2.93099 2.04466,-4.01126 0.36989,-1.34274 -2.7398,-1.86014 -2.86502,-3.32854 -0.0281,-0.33061 0.50856,-0.85096 0.50856,-0.85096 0.32554,-0.48643 -0.59466,-1.32589 -0.20749,-1.68113 0.88282,-0.81003 0.65693,-1.45471 1.26599,-1.90785 1.12216,-0.83487 2.07658,0.61054 2.50078,-0.17482 2.42338,-4.48645 8.67612,-3.52611 11.45553,0.7408 0.69649,1.06926 0.93503,2.55581 0.74021,3.8475 -0.18723,1.24126 -1.35325,2.05907 -1.76842,3.31126 -0.25816,0.77865 0.33536,1.53385 0.32668,2.467 -0.49055,0.1176 -0.71187,0.12097 -1.19337,0.36864 -0.28215,0.14513 -0.26857,0.39617 -0.45155,0.7291 -0.40254,-0.24909 -0.90542,-0.25693 -1.25789,-0.22118 0.19006,0.27128 0.65118,0.84421 0.53219,0.98304 -0.56073,0.0771 -0.69325,0.095 -0.99986,0.18843 0.0662,0.41491 -0.0568,1.1716 -0.49187,1.38447 -1.04838,0.5129 -2.67422,-1.31403 -3.30597,-1.13871 -0.24666,0.0684 -0.81981,1.67118 -0.60475,3.80935 0.0253,0.25189 1.11266,0.56342 1.21756,0.96667 0.0923,0.35472 0.20594,2.00904 0.62894,2.13814 0.76536,0.23357 1.11845,0.0163 1.33046,-0.40141 0.41941,-0.82645 -0.47418,-2.46348 0.1774,-3.37516 1.56413,-2.18858 4.79736,-0.6215 4.8622,0.14746 0.0877,1.03894 0.96794,1.1931 1.61845,2.03644 -1.60439,0.65445 -3.63515,-0.008 -4.56123,-0.2509 -0.19382,2.14318 1.1578,2.43718 2.16869,2.99866 3.32292,1.84565 3.81336,3.52672 4.16071,5.31502"
id="path4190-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csassasssssascsccccasssssssccsc" />
<path
style="display:none;fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.01694;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 110.11691,683.76537 c 10.15576,-6.93987 12.42945,-26.48361 18.98088,-26.48361 0.77935,0 1.49649,0.27657 2.17248,0.77558"
id="path3358"
inkscape:connector-curvature="0"
sodipodi:nodetypes="csc" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:32.456px;line-height:0%;font-family:'Linux Libertine Mono';-inkscape-font-specification:'Linux Libertine Mono, Normal';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;display:none;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.08187px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="text6773"><textPath
xlink:href="#path3358"
startOffset="100%"
id="textPath6777"
style="stroke-width:1.08187px"><tspan
style="text-align:end;text-anchor:end;stroke-width:1.08187px"
id="tspan6775"
dy="-4.0234241">INFORMATIK</tspan></textPath></text>
</g>
</svg>
......@@ -20,7 +20,11 @@
<script src="{{ siteurl }}/mathjax/tex-chtml.js" id="MathJax-script" async></script>
{#- TODO load javascript? -#}
{#- TODO og: meta tags -#}
{#- TODO favicon -#}
<link rel="apple-touch-icon-precomposed" type="image/png" sizes="144x144" href="{{ siteurl }}/{{ files["favicon-144.png"].link.url }}" />
<link rel="apple-touch-icon-precomposed" type="image/png" sizes="114x114" href="{{ siteurl }}/{{ files["favicon-114.png"].link.url }}" />
<link rel="apple-touch-icon-precomposed" type="image/png" sizes="72x72" href="{{ siteurl }}/{{ files["favicon-72.png"].link.url }}" />
<link rel="apple-touch-icon-precomposed" type="image/png" href="{{ siteurl }}/{{ files["favicon-57.png"].link.url }}" />
<link rel="icon" type="image/png" href="{{ siteurl }}/{{ files["favicon-32.png"].link.url }}" />
<!-- <link rel="icon" type="image/png" sizes="192x192" href="static/img/favicon-192x192.png"/>
<link rel="icon" type="image/png" sizes="32x32" href="static/img/favicon-32x32.png"/>-->
<!-- <link rel="icon" type="image/x-icon" sizes="16x16" href="static/img/favicon.ico"/> -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment