Merge pull request 'Kaffeetasse: ueberarbeitetes Design in der Kaffee-Ecke' (#80) from fds2610-bot/monitor:main into main
Reviewed-on: https://codeberg.org/fds2610/monitor/pulls/80
This commit is contained in:
commit
20e78fe028
1 changed files with 1 additions and 2 deletions
|
|
@ -174,8 +174,7 @@ function renderCoffeeCorner() {
|
||||||
const { x, y } = COFFEE_CORNER;
|
const { x, y } = COFFEE_CORNER;
|
||||||
const g = el("g", { class: "coffee-corner" });
|
const g = el("g", { class: "coffee-corner" });
|
||||||
g.appendChild(el("rect", { x: x - 34, y: y - 20, width: 68, height: 40, rx: 8, class: "coffee-table" }));
|
g.appendChild(el("rect", { x: x - 34, y: y - 20, width: 68, height: 40, rx: 8, class: "coffee-table" }));
|
||||||
g.appendChild(el("circle", { cx: x - 14, cy: y - 26, r: 8, class: "coffee-cup" }));
|
g.appendChild(el("circle", { cx: x, cy: y - 26, r: 16, class: "coffee-cup" }));
|
||||||
g.appendChild(el("circle", { cx: x + 14, cy: y - 26, r: 8, class: "coffee-cup" }));
|
|
||||||
g.appendChild(text("☕", { x, y: y - 34, class: "coffee-icon", "text-anchor": "middle" }));
|
g.appendChild(text("☕", { x, y: y - 34, class: "coffee-icon", "text-anchor": "middle" }));
|
||||||
return g;
|
return g;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue