| 1 | import { Skeleton } from "@/components/ui/skeleton"; |
| 2 | |
| 3 | /** Comments down the main column and a sidebar, the shape of an issue or pull request conversation while it loads. */ |
| 4 | export function ThreadSkeleton() |
| 5 | return ( |
| 6 | <div className="grid gap-6 md:grid-cols-[1fr_220px] |
| 7 | <div className="flex flex-col gap-4 |
| 8 | {Array.from({ |
| 9 | <div key={index |
| 10 | <Skeleton className=" |
| 11 | <div className="flex flex-1 flex-col gap-2 rounded-lg border p-4 |
| 12 | <Skeleton className=" |
| 13 | <Skeleton className=" |
| 14 | <Skeleton className=" |
| 15 | </div> |
| 16 | </div> |
| 17 | ))} |
| 18 | </div> |
| 19 | <div className="flex flex-col gap-4 |
| 20 | {Array.from({ |
| 21 | <div key={index |
| 22 | <Skeleton className=" |
| 23 | <Skeleton className=" |
| 24 | </div> |
| 25 | ))} |
| 26 | </div> |
| 27 | </div> |
| 28 | ); |
| 29 | } |