Интерфейс v1.1.3: профиль и компактные настройки

This commit is contained in:
2026-08-24 17:59:41 +03:00
parent 6e31889f11
commit 73f95d5e7e
11 changed files with 103 additions and 18 deletions
+6 -3
View File
@@ -47,9 +47,12 @@ function side(ctx, active) {
const foot = el("div", "foot");
const me = el("button", "me");
me.type = "button";
const dot = el("i");
dot.setAttribute("aria-hidden", "true");
me.append(dot, el("span", "me__nick", `ты: @${ctx.me.nick}`));
me.setAttribute("aria-label", `настройки: @${ctx.me.nick}`);
const profile = el("img", "me__icon");
profile.src = "/icons/profile.svg";
profile.alt = "";
profile.draggable = false;
me.append(profile, el("span", "me__nick", `@${ctx.me.nick}`));
me.addEventListener("click", () => ctx.go("#/settings"));
foot.append(me);
const version = build(ctx.config);