This commit is contained in:
Adrian Gunnar Lauterer 2024-08-05 19:45:11 +02:00
commit 3c31616174
Signed by: adriangl
GPG Key ID: D33368A59745C2F0
6 changed files with 4291 additions and 0 deletions

4
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,4 @@
{
"eslint.enable": false,
"standard.enable": false
}

912
generator.html Normal file

File diff suppressed because one or more lines are too long

BIN
logo_black_thicc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

169
logo_black_thicc.svg Normal file
View File

@ -0,0 +1,169 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="200mm"
height="200mm"
viewBox="0 0 200 200"
version="1.1"
id="svg5"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
sodipodi:docname="logo_black_thicc.svg"
inkscape:export-filename="C:\Users\al3xk\OneDrive - NTNU\PVV\Gogs\PR\logoer\logo_black_thicc.png"
inkscape:export-xdpi="480"
inkscape:export-ydpi="480"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="0.5827274"
inkscape:cx="357.80023"
inkscape:cy="482.21518"
inkscape:window-width="1920"
inkscape:window-height="1057"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="g98"
width="200mm" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g98"
transform="scale(0.25)">
<g
id="Layer_4"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<line
class="st1"
x1="478.39999"
y1="720.29999"
x2="313.20001"
y2="720.29999"
id="line9"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
class="st1"
d="M 478.4,720.3"
id="path11"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<polyline
class="st2"
points="717.1,223.3 717.1,720.3 497.3,720.3 "
id="polyline13"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
class="st2"
d="m 498.39888,720.3 c 0,-5.6 -4.5,-10.1 -10.1,-10.1 -5.6,0 -10.1,4.5 -10.1,10.1 h -163.8 c 0,-5.6 -4.5,-10.1 -10.1,-10.1 -5.6,0 -10.1,4.5 -10.1,10.1 -69.7592,0 -145.68417,0 -217.599996,0 V 79.7 H 717.09888 v 120 0 h -17.3 v 24.8 h 17.3"
id="path15"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
sodipodi:nodetypes="csccsccccccccc" />
</g>
<g
id="Layer_3"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1">
<circle
class="st2"
cx="396.79999"
cy="400"
id="circle18"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
r="320.29999" />
</g>
<g
id="Layer_1"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
<polyline
class="st2"
points="514.5,173.5 170.2,173.5 170.3,626.6 623.3,626.5 623.3,215.7 584.4,173.4 557,173.4 548,180.6 526.5,180.7 "
id="polyline21"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
class="st2"
d="m 526.5,331.8 c 0,7.6 -5.4,13.7 -12,13.7 H 227.7 c -6.6,0 -12,-6.1 -12,-13.7 V 187.2 c 0,-7.6 5.4,-13.7 12,-13.7 h 286.8 c 6.6,0 12,6.1 12,13.7 z"
id="path27"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
class="st2"
d="m 526.7,333.6 c 0,6.6 -5.4,12 -12,12 H 296.8 c -6.6,0 -12,-5.4 -12,-12 V 185.5 c 0,-6.6 5.4,-12 12,-12 h 217.9 c 6.6,0 12,5.4 12,12 z"
id="path29"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
class="st2"
d="m 577.9,613.7 c 0,6.6 -5.4,12 -12,12 H 227.7 c -6.6,0 -12,-5.4 -12,-12 V 381.1 c 0,-6.6 5.4,-12 12,-12 h 338.2 c 6.6,0 12,5.4 12,12 z"
id="path31"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
x="179.89999"
y="590.20001"
class="st2"
width="25.700001"
height="23"
id="rect33"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
x="587.59998"
y="590.20001"
class="st2"
width="25.700001"
height="23"
id="rect35"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
x="433.60001"
y="193.5"
class="st2"
width="64.900002"
height="137.8"
id="rect37"
style="fill:#283681;fill-opacity:0;stroke:#000000;stroke-width:8.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<path
d="m 274.9401,541.572 c 0,3.528 2.772,6.426 6.3,6.426 3.528,0 6.426,-2.898 6.426,-6.426 v -30.996 h 30.87 c 10.458,0 19.152,-8.694 19.152,-19.152 v -22.68 c 0,-10.332 -8.694,-19.026 -19.152,-19.026 h -43.596 z m 12.726,-43.722 v -35.406 h 30.87 c 3.276,0 6.426,2.898 6.426,6.3 v 22.68 c 0,3.528 -3.024,6.426 -6.426,6.426 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:126px;font-family:OCRA;-inkscape-font-specification:OCRA;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:4.2;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
id="path55-2"
inkscape:export-filename="C:\Users\al3xk\OneDrive - NTNU\PVV\Gogs\PR\logoer\logo_black_thicc.png"
inkscape:export-xdpi="480"
inkscape:export-ydpi="480" />
<path
d="m 365.99479,478.824 25.326,65.142 c 1.008,2.394 3.276,4.032 6.048,4.032 2.646,0 4.914,-1.638 5.922,-4.032 l 25.452,-65.268 v -22.68 c 0,-3.402 -2.898,-6.3 -6.426,-6.3 -3.528,0 -6.3,2.898 -6.3,6.3 v 20.286 l -18.648,47.628 -18.648,-47.628 v -20.286 c 0,-3.402 -2.898,-6.3 -6.426,-6.3 -3.528,0 -6.3,2.898 -6.3,6.3 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:126px;font-family:OCRA;-inkscape-font-specification:OCRA;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:4.2;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
id="path57-8"
inkscape:export-filename="C:\Users\al3xk\OneDrive - NTNU\PVV\Gogs\PR\logoer\logo_black_thicc.png"
inkscape:export-xdpi="480"
inkscape:export-ydpi="480" />
<path
d="m 457.04947,478.824 25.326,65.142 c 1.008,2.394 3.276,4.032 6.048,4.032 2.646,0 4.914,-1.638 5.922,-4.032 l 25.452,-65.268 v -22.68 c 0,-3.402 -2.898,-6.3 -6.426,-6.3 -3.528,0 -6.3,2.898 -6.3,6.3 v 20.286 l -18.648,47.628 -18.648,-47.628 v -20.286 c 0,-3.402 -2.898,-6.3 -6.426,-6.3 -3.528,0 -6.3,2.898 -6.3,6.3 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:126px;font-family:OCRA;-inkscape-font-specification:OCRA;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:4.2;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
id="path59-1"
inkscape:export-filename="C:\Users\al3xk\OneDrive - NTNU\PVV\Gogs\PR\logoer\logo_black_thicc.png"
inkscape:export-xdpi="480"
inkscape:export-ydpi="480" />
</g>
</g>
<style
type="text/css"
id="style2">
.st0{fill:#ffffff;}
.st1{fill:none;stroke:#ffffff;stroke-width:2;stroke-miterlimit:10;}
.st2{fill:none;stroke:#000000;stroke-width:2;stroke-miterlimit:10;}
.st3{fill:none;}
.st4{stroke:#000000;stroke-miterlimit:10;}
.st5{font-family:'OCRAStd';}
.st6{font-size:126px;}
</style>
</svg>

After

Width:  |  Height:  |  Size: 8.5 KiB

3167
logob64 Normal file

File diff suppressed because it is too large Load Diff

39
plakat.svg Normal file
View File

@ -0,0 +1,39 @@
<svg width="297" height="420">
<defs>
<filter id="shadow" x="0%" y="0%" width="140%" height="140%">
<feOffset result="offOut" in="SourceAlpha" dx="5" dy="5" />
<feGaussianBlur result="blurOut" in="offOut" stdDeviation="3" />
<feBlend in="SourceGraphic" in2="blurOut" mode="normal" />
</filter>
</defs>
<rect width="100%" height="100%" fill="#283681" />
<path d="m 0 -20 h 315 c 160 0 160 200 15 200 h -195 C 10 180 10 180 10 237 v 360 h -10 z" fill="#fff" opacity="2" filter="url(#shadow)" transform="scale(0.6)"/>
<!-- https://yqnn.github.io/svg-path-editor/ -->
<text x="5%" y="9%" dominant-baseline="middle" text-anchor="left" font-size="32" font-weight="bold" lengthAdjust="spacing" textLength="75%" >{title}</text>
<text x="5%" y="18%" dominant-baseline="middle" text-anchor="left" font-size="20" font-weight="normal" lengthAdjust="spacing" textLength="75%" >{subtitle}</text>
<text x="10%" y="30%" dominant-baseline="middle" text-anchor="left" font-size="14" font-weight="bold" fill="#fff">{descriptionTitle}</text>
<text x="10%" y="36%" dominant-baseline="middle" text-anchor="left" font-size="14" fill="#fff">{description}</text>
<line x1="20%" y1="90%" x2="80%" y2="55%" stroke="#fff" stroke-width="3" />
<circle cx="87.5%" cy="52.5%" r="15%" fill="#fff" />
<image x="78%" y="44.5%" width="17%" height="17%" href="{image_url}"/>
<rect x="0" y="75%" width="100%" height="10%" fill="#fff" filter="url(#shadow)" />
<text x="50%" y="78%" textLength="85%" dominant-baseline="middle" text-anchor="middle" font-size="12" fill="#323232" font-weight="bold">
<tspan font-weight="normal">Tid:</tspan>
<tspan font-weight="bold">{time}</tspan>
<tspan font-weight="normal"> Dato:</tspan>
<tspan font-weight="bold">{date}</tspan>
<tspan font-weight="normal"> Sted:</tspan>
<tspan font-weight="bold">{location}</tspan>
</text>
<text x="50%" y="81%" textLength="70%" dominant-baseline="middle" text-anchor="middle" font-size="7" fill="#424242">Kurset er <tspan font-weight="bold">gratis</tspan> og åpent for <tspan font-weight="bold">alle</tspan>. Ingen påmelding nødvendig.</text>
<text x="50%" y="83.5%" textLength="45%" dominant-baseline="middle" text-anchor="middle" font-size="7" fill="#424242">Kurset varer i ca.{varighet}timer</text>
<circle cx="18%" cy="92%" r="6.5%" fill="#fff" />
<image x="12%" y="86%" width="12%" height="12%" href="logo_black_thicc.svg"/>
<text x="90%" y="90%" dominant-baseline="middle" text-anchor="end" font-size="12" fill="#fff" font-weight="bold">Programmvareverkstedet</text>
<text x="90%" y="93%" dominant-baseline="middle" text-anchor="end" font-size="12" fill="#fff" font-weight="bold">pvv.ntnu.no</text>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB