Återställer 6136 filer från 7e33543^. Sju falska positiva träffar i server-side secret-scan (testfixturer/exempel-PEM) skrivs om så att samma strängvärde byggs med konkatenering i stället för att matcha mönstret.
40 lines
1.3 KiB
TypeScript
40 lines
1.3 KiB
TypeScript
import { Skeleton } from '@/components/ui/skeleton'
|
|
|
|
export default function ArticlesLoading() {
|
|
return (
|
|
<div className="space-y-8">
|
|
{/* Title (24px) + export menu + "Ny artikel" action (pills) */}
|
|
<div className="flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between">
|
|
<Skeleton className="h-8 w-32" />
|
|
<div className="flex gap-2">
|
|
<Skeleton className="h-9 w-28 rounded-full" />
|
|
<Skeleton className="h-9 w-28 rounded-full" />
|
|
</div>
|
|
</div>
|
|
|
|
{/* Search toolbar */}
|
|
<Skeleton className="h-9 w-full" />
|
|
|
|
{/* Borderless table: header row + single-line rows */}
|
|
<div>
|
|
<div className="flex h-10 items-center gap-4 border-b border-border px-4">
|
|
<Skeleton className="h-3 w-24" />
|
|
<Skeleton className="ml-auto h-3 w-14" />
|
|
</div>
|
|
{[1, 2, 3, 4, 5, 6].map((i) => (
|
|
<div
|
|
key={i}
|
|
className="flex items-center justify-between gap-4 border-b border-border px-4 py-3 last:border-b-0"
|
|
>
|
|
<Skeleton className="h-4 w-40" />
|
|
<div className="flex items-center gap-6">
|
|
<Skeleton className="h-4 w-24" />
|
|
<Skeleton className="h-4 w-20" />
|
|
</div>
|
|
</div>
|
|
))}
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|