Move Gateway up in nav; render jobs and programs as cards

Reorder the sidebar so Gateway sits right under Overview. Replace the
Scheduled and Program tables with card grids matching Services: add JobCard
and ProgramCard, convert ScheduledSection to a JobCard grid, and turn the
former ProgramTable into a filterable ProgramCard grid (renamed ProgramList;
kept the search box, dropped the sortable table). Remove the now-orphaned
SortHeader component.
This commit is contained in:
2026-06-30 23:02:33 -07:00
parent bc915d23fb
commit ab10ca74fe
8 changed files with 193 additions and 298 deletions

View File

@@ -1,5 +1,5 @@
import { usePrograms } from "@/services/api/hooks"
import { ProgramTable } from "@/components/ProgramTable"
import { ProgramList } from "@/components/ProgramList"
import { PageHeader } from "@/components/PageHeader"
export function Programs() {
@@ -12,7 +12,7 @@ export function Programs() {
{isLoading ? (
<p className="text-[var(--muted)]">Loading...</p>
) : programs && programs.length > 0 ? (
<ProgramTable programs={programs} />
<ProgramList programs={programs} />
) : (
<p className="text-[var(--muted)]">No programs yet.</p>
)}