mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
One operator's page was compiled into the binary, so every host this runs behind served the same wordmark, the same links and a bridge on someone else's domain. mpc.hanzo.ai answered with a page carrying no operator name at all — the reader had no way to tell whose custody service they were looking at. brand.go resolves the operator from the Host header and landing.go renders the page for it: wordmark, mark, docs and site link. A host with no row renders unbranded, which is what anyone running this themselves should get, and is why adding a row is the whole cost of onboarding an operator. The mark doubles as /favicon.svg so the tab is not blank, and Geist is served from the binary at /fonts — a cross-origin stylesheet is refused by the browser and would leave every reader on system-ui while every rule asked for Geist. Colours are the operator's, not a gradient: the two greys that sat under 4.5:1 on black are lifted to 4.9 and 6.1.