~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/pds.js

An atproto PDS in JavaScript, for Cloudflare Workers and Node

0
0
main
24 lines · 940 B Raw History
import { Skeleton } from '#/components/atoms/skeleton.jsx';
import { FileTreeSkeleton } from '#/components/organisms/file-tree-skeleton.jsx';

/** The clone commands, the breadcrumb and ref bar, and the listing, as
 * placeholders, shown while the repository loads. */
export function RepoPageSkeleton() {
  return (
    <div className="flex flex-col gap-4">
      <div className="flex flex-col gap-2">
        <Skeleton className="h-[38px] rounded-lg" />
        <Skeleton className="h-[38px] rounded-lg" />
      </div>
      <div className="flex items-center justify-between gap-3">
        <Skeleton className="h-4 w-40 rounded-md" />
        <div className="flex shrink-0 items-center gap-3">
          <Skeleton className="h-3.5 w-14 rounded-md" />
          <Skeleton className="h-3.5 w-16 rounded-md" />
          <Skeleton className="h-7 w-24 rounded-lg" />
        </div>
      </div>
      <FileTreeSkeleton />
    </div>
  );
}