Skip to content

Commit

Permalink
feat(frontend): ✨ loading skeleton for satellites page (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mats authored and GitHub committed Apr 4, 2024
1 parent da1ba7d commit 82e34cc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions frontend/src/app/satellites/loading.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Skeleton } from "@/components/ui/skeleton";
import React from "react";

export default function Loading() {
return (
<div>
{/* Full width div, split into three equal portions */}
<div className="flex w-full origin-center flex-col justify-center">
<div className="my-10 flex w-full origin-center flex-row flex-wrap justify-center gap-4">
<Skeleton className="flex h-96 w-1/4 flex-col " />
<Skeleton className="flex h-96 w-1/4 flex-col " />
<Skeleton className="flex h-96 w-1/4 flex-col " />
<Skeleton className="flex h-96 w-1/4 flex-col " />
<Skeleton className="flex h-96 w-1/4 flex-col " />
<Skeleton className="flex h-96 w-1/4 flex-col " />
<Skeleton className="flex h-96 w-1/4 flex-col " />
<Skeleton className="flex h-96 w-1/4 flex-col " />
<Skeleton className="flex h-96 w-1/4 flex-col " />
</div>
</div>
</div>
);
}

0 comments on commit 82e34cc

Please sign in to comment.