chore: first commit
This commit is contained in:
24
src/StoccaTreRoot/index.tsx
Normal file
24
src/StoccaTreRoot/index.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import { h, Rung } from "@djledda/ladder";
|
||||
import StoccaTreLogo from "@/assets/stocca-tre-logo.svg";
|
||||
import "./stocca-tre-root.scss";
|
||||
|
||||
export default class StoccaTreRoot extends Rung {
|
||||
constructor() {
|
||||
super({});
|
||||
}
|
||||
|
||||
build(): Node {
|
||||
return <div className={"stocca-tre-root"}>
|
||||
<img alt={"Stocca Tre Pizzera"} src={StoccaTreLogo} />
|
||||
<p>Die Pizzeria im dritten Stock.</p>
|
||||
<hr></hr>
|
||||
<h3>
|
||||
Pizza-Bestellungen:
|
||||
</h3>
|
||||
<em className={"no-pizza"}>
|
||||
Keine Pizzen aktuell verfügbar!!!!!
|
||||
Später mal wieder vorbeischauen. Die Pizzen müssen ja noch lange gehen...
|
||||
</em>
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
5
src/StoccaTreRoot/stocca-tre-root.scss
Normal file
5
src/StoccaTreRoot/stocca-tre-root.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
.stocca-tre-root {
|
||||
.no-pizza {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
99
src/assets/stocca-tre-logo.svg
Normal file
99
src/assets/stocca-tre-logo.svg
Normal file
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="160.47701mm"
|
||||
height="53.365002mm"
|
||||
viewBox="0 0 160.47701 53.365002"
|
||||
version="1.1"
|
||||
id="svg31154"
|
||||
inkscape:version="1.1.2 (08b2f3d93c, 2022-04-05)"
|
||||
sodipodi:docname="stocca-tre-logo.svg"
|
||||
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="namedview31156"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:pageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.5037598"
|
||||
inkscape:cx="274.97742"
|
||||
inkscape:cy="122.02747"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1016"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs31151" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<g
|
||||
id="Ebene_1-2"
|
||||
data-name="Ebene 1"
|
||||
transform="matrix(0.47008949,0,0,0.47008949,0,12.066247)">
|
||||
<path
|
||||
class="cls-1"
|
||||
d="m 29.34,31.29 a 16.54,16.54 0 0 0 -4.9,-2.05 c -1.78,-0.45 -3.63,-0.82 -5.5,-1.11 -1.87,-0.29 -3.35,-0.64 -4.55,-1 A 11.52,11.52 0 0 1 11.58,26 4,4 0 0 1 10.2,24.5 5.71,5.71 0 0 1 9.81,22.27 a 5.4,5.4 0 0 1 0.39,-2.06 4.51,4.51 0 0 1 1.28,-1.66 6.26,6.26 0 0 1 2.17,-1.19 10.39,10.39 0 0 1 3.22,-0.45 9.54,9.54 0 0 1 5.94,1.63 5.31,5.31 0 0 1 2.19,4.13 v 0.53 h 7.93 V 22.64 A 11.37,11.37 0 0 0 28.45,13.51 15.86,15.86 0 0 0 23.33,10.89 21.5,21.5 0 0 0 16.87,10 a 20.75,20.75 0 0 0 -6.5,0.94 13.59,13.59 0 0 0 -4.69,2.64 10.85,10.85 0 0 0 -2.83,3.95 12.36,12.36 0 0 0 -1,4.84 11.12,11.12 0 0 0 1.21,5.41 10.87,10.87 0 0 0 3.25,3.66 16.68,16.68 0 0 0 4.69,2.2 40.08,40.08 0 0 0 5.47,1.2 c 1.56,0.26 3,0.55 4.2,0.87 a 10.8,10.8 0 0 1 3,1.12 4.93,4.93 0 0 1 1.79,1.68 A 4.49,4.49 0 0 1 26.07,41 5.15,5.15 0 0 1 24,45.34 C 22.54,46.41 20.35,47 17.47,47 a 14.17,14.17 0 0 1 -4.17,-0.56 9.5,9.5 0 0 1 -3,-1.6 6.71,6.71 0 0 1 -1.82,-2.29 7.15,7.15 0 0 1 -0.66,-2.9 V 39.1 L 0,39 v 0.56 a 13.7,13.7 0 0 0 1.07,5.29 13.22,13.22 0 0 0 3.31,4.49 16.55,16.55 0 0 0 5.47,3.15 22.31,22.31 0 0 0 7.58,1.18 26,26 0 0 0 6.7,-0.81 15.62,15.62 0 0 0 5.32,-2.45 11.64,11.64 0 0 0 3.55,-4.1 12.79,12.79 0 0 0 1.24,-5.74 10.88,10.88 0 0 0 -1.34,-5.66 10.66,10.66 0 0 0 -3.56,-3.62 z"
|
||||
id="path36565" />
|
||||
<polygon
|
||||
class="cls-1"
|
||||
points="68.5,11.14 54.56,11.14 54.56,0 46.53,0 46.53,11.14 37.56,11.14 37.56,18.62 46.53,18.62 46.53,52.55 54.56,52.55 54.56,18.62 68.5,18.62 "
|
||||
id="polygon36567" />
|
||||
<path
|
||||
class="cls-1"
|
||||
d="m 109.73,23.41 a 21.22,21.22 0 0 0 -11.48,-11.59 22.55,22.55 0 0 0 -17.18,0 21.31,21.31 0 0 0 -11.44,11.63 23,23 0 0 0 0,17.06 22.28,22.28 0 0 0 4.55,6.94 21.39,21.39 0 0 0 15.49,6.35 21.62,21.62 0 0 0 15.48,-6.35 22,22 0 0 0 4.59,-6.94 22.4,22.4 0 0 0 1.66,-8.51 22.1,22.1 0 0 0 -1.67,-8.59 z m -7.48,14.06 a 13.29,13.29 0 0 1 -2.88,4.44 13.68,13.68 0 0 1 -4.31,3 14.18,14.18 0 0 1 -10.73,0 14.43,14.43 0 0 1 -4.34,-3 14.15,14.15 0 0 1 -3.91,-10 14.52,14.52 0 0 1 1,-5.48 13.79,13.79 0 0 1 2.92,-4.38 13.69,13.69 0 0 1 9.7,-4.05 13.15,13.15 0 0 1 5.36,1.11 12.85,12.85 0 0 1 4.31,3 13.48,13.48 0 0 1 2.89,4.44 14.68,14.68 0 0 1 0,11 z"
|
||||
id="path36569" />
|
||||
<path
|
||||
class="cls-1"
|
||||
d="m 149.77,38.11 a 12.46,12.46 0 0 1 -1.92,3.28 12.86,12.86 0 0 1 -2.76,2.46 13.91,13.91 0 0 1 -3.41,1.55 13.46,13.46 0 0 1 -13.19,-3.33 14.13,14.13 0 0 1 -3,-4.41 14.45,14.45 0 0 1 -1.1,-5.7 14.14,14.14 0 0 1 1.1,-5.66 13.68,13.68 0 0 1 7.25,-7.3 13.84,13.84 0 0 1 8.83,-0.53 12.6,12.6 0 0 1 3.29,1.44 11.81,11.81 0 0 1 2.69,2.31 11.21,11.21 0 0 1 1.95,3 l 0.15,0.33 h 8.45 l -0.2,-0.71 a 18.7,18.7 0 0 0 -2.8,-5.93 19.48,19.48 0 0 0 -4.51,-4.68 20.67,20.67 0 0 0 -5.89,-3 21.51,21.51 0 0 0 -6.93,-1.1 21.1,21.1 0 0 0 -8.48,1.71 21.37,21.37 0 0 0 -6.77,4.66 22,22 0 0 0 -4.54,7 22.34,22.34 0 0 0 -1.62,8.5 22.66,22.66 0 0 0 1.64,8.51 22.09,22.09 0 0 0 4.54,6.93 21.75,21.75 0 0 0 6.81,4.67 21.11,21.11 0 0 0 8.44,1.7 22,22 0 0 0 7.09,-1.13 20,20 0 0 0 6,-3.13 19.44,19.44 0 0 0 4.52,-4.84 19.76,19.76 0 0 0 2.6,-6.27 l 0.15,-0.68 h -8.23 z"
|
||||
id="path36571" />
|
||||
<path
|
||||
class="cls-1"
|
||||
d="m 194.94401,38.11 a 12.46,12.46 0 0 1 -1.92,3.28 12.86,12.86 0 0 1 -2.76,2.46 13.91,13.91 0 0 1 -3.41,1.55 13.46,13.46 0 0 1 -13.19,-3.33 14.13,14.13 0 0 1 -3,-4.41 14.45,14.45 0 0 1 -1.1,-5.7 14.14,14.14 0 0 1 1.1,-5.66 13.68,13.68 0 0 1 7.25,-7.3 13.84,13.84 0 0 1 8.83,-0.53 12.6,12.6 0 0 1 3.29,1.44 11.81,11.81 0 0 1 2.69,2.31 11.21,11.21 0 0 1 1.95,3 l 0.15,0.33 h 8.45 l -0.2,-0.71 a 18.7,18.7 0 0 0 -2.8,-5.93 19.48,19.48 0 0 0 -4.51,-4.68 20.67,20.67 0 0 0 -5.89,-3 21.51,21.51 0 0 0 -6.93,-1.1 21.1,21.1 0 0 0 -8.48,1.71 21.37,21.37 0 0 0 -6.77,4.66 22,22 0 0 0 -4.54,7 22.34,22.34 0 0 0 -1.62,8.5 22.66,22.66 0 0 0 1.64,8.51 22.09,22.09 0 0 0 4.54,6.93 21.75,21.75 0 0 0 6.81,4.67 21.11,21.11 0 0 0 8.44,1.7 22,22 0 0 0 7.09,-1.13 20,20 0 0 0 6,-3.13 19.44,19.44 0 0 0 4.52,-4.84 19.76,19.76 0 0 0 2.6,-6.27 l 0.15,-0.68 h -8.23 z"
|
||||
id="path36571-3" />
|
||||
<g
|
||||
aria-label="a"
|
||||
id="text2064"
|
||||
style="font-size:108.065px;line-height:1.25;stroke-width:0.562836"
|
||||
transform="matrix(0.99399311,0,0,0.99399311,-0.99617961,0.06084596)">
|
||||
<path
|
||||
d="m 229.19684,53.81046 q -8.5682,0 -14.44834,-6.384154 -5.79614,-6.384153 -5.79614,-15.456371 0,-9.072218 5.79614,-15.456371 5.88014,-6.384153 14.44834,-6.384153 4.28411,0 7.8962,1.932047 3.61208,1.848043 5.54413,4.536108 v -5.628135 h 9.24022 V 52.97044 h -9.24022 v -5.628136 q -1.93205,2.688065 -5.54413,4.620111 -3.61209,1.848045 -7.8962,1.848045 z m -7.30817,-12.264296 q 3.52809,3.864093 8.98821,3.864093 5.46014,0 8.98822,-3.864093 3.52809,-3.864092 3.52809,-9.576229 0,-5.712137 -3.52809,-9.57623 -3.52808,-3.864093 -8.98822,-3.864093 -5.46012,0 -8.98821,3.864093 -3.52809,3.864093 -3.52809,9.57623 0,5.712137 3.52809,9.576229 z"
|
||||
style="font-family:'Euclid Circular A';-inkscape-font-specification:'Euclid Circular A';stroke-width:0.437509"
|
||||
id="path13083" />
|
||||
</g>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:95.5532px;line-height:1.25;font-family:sans-serif;opacity:0.99;fill:#aa0000;fill-opacity:1;stroke:none;stroke-width:0.995345"
|
||||
x="245.82347"
|
||||
y="22.395281"
|
||||
id="text14273"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan14271"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:95.5532px;font-family:Z003;-inkscape-font-specification:Z003;opacity:0.99;fill:#aa0000;stroke-width:0.995345"
|
||||
x="245.82347"
|
||||
y="22.395281">tre</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.9149px;line-height:1.25;font-family:Chilanka;-inkscape-font-specification:Chilanka;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.77287"
|
||||
x="104.74509"
|
||||
y="81.700806"
|
||||
id="text22454"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan22452"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Josefin Sans';-inkscape-font-specification:'Josefin Sans';stroke-width:0.77287"
|
||||
x="104.74509"
|
||||
y="81.700806">pizzeria</tspan></text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.7 KiB |
4
src/filtypes.d.ts
vendored
Normal file
4
src/filtypes.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
declare module "*.svg" {
|
||||
declare const svg: string;
|
||||
export default svg;
|
||||
}
|
||||
4
src/main.ts
Normal file
4
src/main.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { bootstrap } from '@djledda/ladder';
|
||||
import StoccaTreRoot from './StoccaTreRoot';
|
||||
|
||||
bootstrap(new StoccaTreRoot(), "root");
|
||||
Reference in New Issue
Block a user