Skip to content

Commit

Permalink
feat(frontend): ✨ make loading skeleton for individual project (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mats authored and GitHub committed Apr 13, 2024
1 parent bde79d2 commit 48fd958
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions frontend/src/app/projects/[projectSlug]/loading.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react";

// Assuming the correct import path for the Skeleton component
import { Skeleton } from "@/components/ui/skeleton";

export default function Loading() {
return (
<div className="flex w-full origin-center flex-col justify-center gap-4">
<Skeleton className="h-24 w-1/3 self-center" />
<Skeleton className="h-96 w-2/3 self-center" />
</div>
);
}

0 comments on commit 48fd958

Please sign in to comment.