From 3ec1cc96aeac498a5bc576a6ac894282d292c835 Mon Sep 17 00:00:00 2001 From: Brian Love Date: Tue, 12 May 2026 16:51:10 -0700 Subject: [PATCH 1/2] fix(website): add 'home_whitepaper' to AnalyticsSurface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WhitePaperBlock.tsx passes 'home_whitepaper' as the surface property when tracking signup submissions, but the AnalyticsSurface union did not include that value — causing TS2322 build failures on main since the Statusbrew website refactor landed (#270). This is blocking unrelated PRs from merging because Website lint is a required check. --- apps/website/src/lib/analytics/events.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/website/src/lib/analytics/events.ts b/apps/website/src/lib/analytics/events.ts index a6099642..62820156 100644 --- a/apps/website/src/lib/analytics/events.ts +++ b/apps/website/src/lib/analytics/events.ts @@ -26,6 +26,7 @@ export type AnalyticsSurface = | 'mobile_nav' | 'footer' | 'home' + | 'home_whitepaper' | 'pricing' | 'docs' | 'library_landing' From d361866c98a1248ee4f32f543770349c8242d251 Mon Sep 17 00:00:00 2001 From: Brian Love Date: Tue, 12 May 2026 16:57:34 -0700 Subject: [PATCH 2/2] fix(website): remove redundant cast that re-introduces href on anchorAttrs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'rest as AnchorButtonProps' cast on line 115 contradicted the prior destructure on line 106 that pulled 'href' out — TS then inferred that anchorAttrs still had 'href', conflicting with the explicit href={href} JSX prop. Result: TS2783 'href is specified more than once' build failure since the Statusbrew website refactor (#270). Removing the redundant cast lets TS infer anchorAttrs from the runtime- true type (rest without href). --- apps/website/src/components/ui/Button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/website/src/components/ui/Button.tsx b/apps/website/src/components/ui/Button.tsx index 65744987..0a2aa214 100644 --- a/apps/website/src/components/ui/Button.tsx +++ b/apps/website/src/components/ui/Button.tsx @@ -112,7 +112,7 @@ export function Button(props: ButtonProps) { className: _cn, style: _st, ...anchorAttrs - } = rest as AnchorButtonProps; + } = rest; return (