#35: keep the redesign's source ASCII

The previous commit put four literal non-ASCII characters into source, which
lang-lint rejects (PLAN.md 21.1: all code in English, ASCII-only, enforced by
CI rather than review). Nine lines failed.

The brand mark in the four rails and sign-in cards was a literal lambda, and
the domains screen's meta line joined DMARC, MTA-STS and DANE with a literal
middot. Both are now \u escapes, so the source is ASCII and the rendered page
is unchanged - the served sign-in page emits ce bb for the mark, and the
domains chunk carries the middot as \xb7.

globals.css goes with them. The linter does not scan .css today, so this was
passing, but the stylesheet was the only file in the tree using box-drawing
section rules and em dashes, and there is no reason for it to be the
exception - ASCII hyphens read the same in a comment.

Verified: lang-lint clean, 98 tests green, tsc clean, production build clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5 committed 2026-08-18 20:32:22 -03:00
1 parent b33fc12f08
commit 4f1b9c5217
6 files changed
+22 -22

No files matched your search

@@ -256,9 +256,9 @@ export default function AdminDomainsPage() {
<div className="break-words text-lg font-medium leading-tight text-slate-100">{d.name}</div>
<div className="mt-1 text-[12.5px] leading-relaxed text-slate-400">
{t("admin.mailboxCount", { count: d.mailbox_count })}
{d.dmarc_policy ? ` · DMARC: ${d.dmarc_policy}` : ""}
{d.mta_sts_mode ? ` · MTA-STS: ${d.mta_sts_mode}` : ""}
{d.dane_enabled ? " · DANE" : ""}
{d.dmarc_policy ? ` \u00b7 DMARC: ${d.dmarc_policy}` : ""}
{d.mta_sts_mode ? ` \u00b7 MTA-STS: ${d.mta_sts_mode}` : ""}
{d.dane_enabled ? " \u00b7 DANE" : ""}
</div>
</div>
<div className="flex flex-none flex-wrap items-center gap-2.5">
@@ -51,7 +51,7 @@ export default function AdminLayout({ children }: { children: React.ReactNode })
<div className="flex h-full flex-col gap-4 p-3">
<div className="flex items-center gap-2.5 px-2 py-1">
<div className="flex h-8 w-8 flex-none items-center justify-center rounded-[10px] bg-dark-card text-[17px] leading-none text-indigo-500 shadow-[inset_0_0_0_1px_#9184d9]">
λ
{"\u03bb"}
</div>
<div className="min-w-0">
<div className="text-[15px] font-medium leading-tight">LambdaMail</div>
@@ -137,7 +137,7 @@ export default function AdminLayout({ children }: { children: React.ReactNode })
<div className="fixed left-0 top-0 z-20 flex w-full items-center justify-between bg-dark-rail px-4 py-3 shadow-[inset_0_-1px_0_0_rgba(233,233,237,0.09)] md:hidden">
<div className="flex min-w-0 items-center gap-2.5">
<div className="flex h-8 w-8 flex-none items-center justify-center rounded-[10px] bg-dark-card text-[17px] leading-none text-indigo-500 shadow-[inset_0_0_0_1px_#9184d9]">
λ
{"\u03bb"}
</div>
<span className="min-w-0 truncate font-medium text-slate-100">
{t("common.appName")} {t("common.adminPortal")}