Use one back link style across the dashboards

Every dashboard page now uses the shared BackLink, the small
"← Back to dashboard" link above the page title that the Waitlist page
already had, instead of a mix of grey Back buttons in different places.
Pages that had no way back (site settings, profile, donate, manual
registration) get one too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 13:25:04 +02:00
co-authored by Claude Opus 5.5
parent d268236686
commit 9be78c3c34
27 changed files with 110 additions and 72 deletions
@@ -0,0 +1,14 @@
import React from "react";
import Link from "next/link";
/**
* The site-wide "← Back to …" link, shown above a page's title (next to its icon tile).
* Every dashboard page uses this one so back navigation looks and sits the same everywhere.
*/
export function BackLink({ href, label = "Back to dashboard" }: { href: string; label?: string }) {
return (
<Link href={href} className="inline-block text-xs text-brand-600 hover:underline">
← {label}
</Link>
);
}