Model page: header, content and sidebar as consistent cards

Tabs become a segmented control in the content card header; drop the full-bleed header band and the page-wide tab line; files tab without nested boxes; download card heading matches the other sidebar cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-10-05 20:16:00 +02:00
1 parent 1527fcd830
commit 5fadd64367
2 files changed
+106 -71

No files matched your search

+5 -1
View File
@@ -1,5 +1,6 @@
"use client";
import { DownloadIcon } from "lucide-react";
import Link from "next/link";
import { useState } from "react";
import { cancelJob, startDownload } from "@/components/job-actions";
@@ -37,7 +38,10 @@ export function DownloadCard({ modelId, status }: { modelId: string; status: Mod
return (
<div className="flex flex-col gap-3">
<div className="flex items-center justify-between gap-2">
<h3 className="text-sm font-semibold">Download</h3>
<h3 className="flex items-center gap-1.5 text-sm font-semibold">
<DownloadIcon className="size-4 text-muted-foreground" />
Download
</h3>
{latest && <JobStateBadge job={latest} />}
</div>
<p className="text-xs text-muted-foreground">{hint}</p>