Tools page cards link to the tool detail page, not the program

ProgramCard/ProgramList take an optional linkBase (default /programs); the Tools
page passes /tools so a tool tile opens /tools/<name> (its deployment detail),
not /programs/<name>.
This commit is contained in:
2026-07-01 12:59:31 -07:00
parent 86d4552fdc
commit 183c589b63
3 changed files with 10 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ export function Tools() {
{isLoading ? (
<p className="text-[var(--muted)]">Loading...</p>
) : programs && programs.length > 0 ? (
<ProgramList programs={programs} />
<ProgramList programs={programs} linkBase="/tools" />
) : (
<p className="text-[var(--muted)]">No tools yet.</p>
)}