having one solution for different components of app

This commit is contained in:
Arjun Patel
2022-01-27 20:17:00 -08:00
parent 0d23d1dfd7
commit 0f7e5a831b
256 changed files with 7997 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { Divider } from "antd";
export default function Loading() {
return (
<div className="container mx-auto flex flex-col max-w-md m-10 bg-white p-10 rounded-lg shadow-md space-y-5 items-center animate-pulse">
{/* header */}
<div className="w-full h-24 flex animate-pulse flex-row items-center justify-center space-x-5">
<div className="w-12 bg-gray-300 h-12 rounded-full "></div>
<div className="flex flex-col space-y-3">
<div className="w-60 bg-gray-300 h-6 rounded-md "></div>
<div className="w-40 bg-gray-300 h-6 rounded-md "></div>
</div>
</div>
</div>
);
}
+11
View File
@@ -0,0 +1,11 @@
export default function SkeletonLoader() {
return (
<div className="w-full h-24 flex animate-pulse flex-row items-center justify-center space-x-5">
<div className="w-12 bg-gray-300 h-12 rounded-full "></div>
<div className="flex flex-col space-y-3">
<div className="w-60 bg-gray-300 h-6 rounded-md "></div>
<div className="w-40 bg-gray-300 h-6 rounded-md "></div>
</div>
</div>
);
}