From 373e50ba045691148a755229970b98d8da62e7c4 Mon Sep 17 00:00:00 2001 From: August Cayzer Date: Wed, 21 Oct 2026 17:19:15 +0100 Subject: [PATCH] fix(site): one error page on both sites, with the primary action on the right --- src/components/error-page.tsx | 17 +++++++------- src/status/components/status-error.tsx | 32 ++++++++------------------ 2 files changed, 18 insertions(+), 31 deletions(-) diff --git a/src/components/error-page.tsx b/src/components/error-page.tsx index af2330d6..774dd880 100644 --- a/src/components/error-page.tsx +++ b/src/components/error-page.tsx @@ -34,16 +34,11 @@ export function ErrorPage({

{message}

{/* - A real navigation rather than a reload handler. This component renders + Real navigations rather than a reload handler. This component renders inside a boundary that may itself have failed to hydrate, and an - anchor works with no JavaScript running at all. + anchor works with no JavaScript running at all. The primary action + comes last, on the right, as on the console and the website. */} - - {primaryLabel} - {secondaryHref && secondaryLabel ? ( ) : null} + + {primaryLabel} +
); diff --git a/src/status/components/status-error.tsx b/src/status/components/status-error.tsx index 1c0554b9..c935a116 100644 --- a/src/status/components/status-error.tsx +++ b/src/status/components/status-error.tsx @@ -31,32 +31,18 @@ export function StatusError({ error }: ErrorComponentProps) { ); } -/** An unknown path on the status page. It had none of its own before. */ +/** An unknown path on the status page. */ export function StatusNotFound() { return ( -
-

- Page not found -

-

- This site carries the current status of Marfa and nothing else. -

-
- - Current status - - - Documentation - -
-
+
); }