diff --git a/web/src/App.css b/web/src/App.css index 468e846..1129c16 100644 --- a/web/src/App.css +++ b/web/src/App.css @@ -2675,6 +2675,33 @@ width: 520px; } +.ts-about-dialog { + width: 440px; +} + +.ts-about-memorial { + display: flex; + align-items: center; + gap: 16px; + margin: 16px 0 0; + padding-top: 16px; + border-top: 1px solid var(--border-soft); +} + +.ts-about-memorial img { + width: 120px; + height: 120px; + border-radius: 50%; + object-fit: cover; + flex-shrink: 0; +} + +.ts-about-memorial figcaption { + display: flex; + flex-direction: column; + gap: 4px; +} + .ts-client-log-dialog { width: 760px; } diff --git a/web/src/App.tsx b/web/src/App.tsx index 1eb0007..adadfa1 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -148,6 +148,7 @@ import { } from "./themes/greenteaspeak"; import { BARE_URL_REGEX, renderBbcode, wrapUrls } from "./lib/bbcode"; import { parseChannelName, spacerDisplayName } from "./lib/spacer"; +import akimoPhoto from "./assets/akimo.jpg"; import { applyParkedGatewayEvent, emptyParkedState, @@ -1917,6 +1918,43 @@ function ConnectDialog({ // restart warning). Deliberately no backdrop-click-to-close - the point is // the user actually reads it before the connection drops, not that it's // invisible-easy to swipe away like a cookie banner. +// In memory of Akimo, the project owner's dog (†21.10.2026). Permanent: +// never remove or hide this, no matter what else changes in the dialog. +function AboutDialog({ onClose }: { onClose: () => void }) { + const t = useT(); + return ( +
+
e.stopPropagation()}> +
+ {t("menu.help.about")} +
+
+

{t("about.text")}

+

+ webspeak3.de + {" · "} + GitHub +

+
+ Akimo +
+ {t("about.memorial.title")} + {t("about.memorial.text")} +
+
+
+
+
+ +
+
+
+
+ ); +} + function RestartNoticeDialog({ message, onAck }: { message: string; onAck: () => void }) { const t = useT(); return ( @@ -6860,6 +6898,7 @@ function AppInner() { // Terms of use, own-hosted instance only (see IS_OWN_HOSTED_INSTANCE): shown // mandatorily on first visit, reopenable any time from the menu afterwards. const [tosOpen, setTosOpen] = useState(false); + const [aboutOpen, setAboutOpen] = useState(false); const [tosMandatory, setTosMandatory] = useState(false); useEffect(() => { if (IS_OWN_HOSTED_INSTANCE && !hasAcceptedToS()) { @@ -10682,16 +10721,16 @@ function AppInner() { {helpMenuOpen && (
- setHelpMenuOpen(false)} + onClick={() => { + setAboutOpen(true); + setHelpMenuOpen(false); + }} > ℹ️ {t("menu.help.about")} - + setRestartNotice(null)} />} + {aboutOpen && setAboutOpen(false)} />} + {tosOpen && (