Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions build/check-bundle-size.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ const BUDGET_BYTES: Record<string, number> = {
// Raised from 103 kB for the interface themes: NieR: Automata and Liquid
// Glass each ship their own token block, and the liquid-glass material
// layer (SVG displacement filters plus their component rules) adds the
// largest share. The measured bundle is 153.7 kB; 160 kB keeps the
// guardrail close while leaving modest headroom.
".css": 160_000,
// largest share. The measured bundle is 153.7 kB; 175 kB adds headroom for
// the Developer Hall of Fame page (~15 kB of animated card and hero
// styles that load only on /contributors.html).
".css": 175_000,
// Raised from 510 kB for Bridge discovery, profile editing, automatic
// reconnection, and recent device support, which have since grown further
// with the supported-device page and MX Master remap controls. Preview
// fixtures retain their separate allowance below; the measured aggregate
// is 573.4 kB with them.
".js": 565_000,
// is 573.4 kB with them, plus the ~11 kB Hall of Fame chunk.
".js": 590_000,
};

const ASSETS = join("dist", "assets");
Expand Down
18 changes: 18 additions & 0 deletions contributors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#09090b" />
<title>Developer Hall of Fame — OpenMouse</title>
<meta name="description" content="Every developer behind OpenMouse and the mouse-protocol project — combined, live, and always up to date." />
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
</head>
<body>
<div id="contributors-app"></div>
<script type="module" src="/src/contributors.tsx"></script>
</body>
</html>
12 changes: 12 additions & 0 deletions src/app/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ const SETTINGS_PATH = (

const REQUEST_PATH = <path d="M12 5v14M5 12h14" />;

const FAME_PATH = (
<>
<path d="M6 9a6 6 0 0 0 12 0" />
<path d="M7.5 3h9l-.5 6a4.5 4.5 0 0 1-8 0l-.5-6Z" />
<path d="M12 15v4M8.5 21h7" />
</>
);

const DEBUG_PATH = (
<>
<path d="M8 6a4 4 0 0 1 8 0" />
Expand Down Expand Up @@ -188,6 +196,10 @@ export function Sidebar({ snapshot, onOpenSupportRequests }: { snapshot: Control
<NavIcon path={REQUEST_PATH} />
Request a mouse
</button>
<a className="nav-item has-label" href="/contributors.html" title="Developer Hall of Fame" aria-label="Developer Hall of Fame">
<NavIcon path={FAME_PATH} />
Hall of Fame
</a>
<a className="nav-item is-debug" href="/check.html" title="Mouse Check" aria-label="Mouse Check">
<NavIcon path={DEBUG_PATH} />
</a>
Expand Down
Loading