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:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user