mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-30 07:14:20 +00:00
feat: add Skeleton for services page
This commit is contained in:
3 files changed
+21
-3
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import { Card, Skeleton } from "@nextui-org/react";
|
||||
import React from "react";
|
||||
|
||||
export const ServiceSkeletonGrid = () => {
|
||||
return (
|
||||
<Card className="w-full h-fit p-4">
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 3xl:grid-cols-5 gap-4">
|
||||
{[...Array(25)].map((_, index) => (
|
||||
<div key={index} className="flex flex-col space-y-4">
|
||||
<Skeleton className="h-16 rounded-lg">
|
||||
<div className="h-full bg-default-300"></div>
|
||||
</Skeleton>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Card>
|
||||
);
|
||||
};
|
||||
@@ -1 +1,2 @@
|
||||
export * from "./ServiceCard";
|
||||
export * from "./ServiceSkeletonGrid";
|
||||
Reference in new issue
Block a user