From 3507f2916248a989a699afe2cf097b7e37b19af3 Mon Sep 17 00:00:00 2001 From: ZeroWave022 <36341766+ZeroWave022@users.noreply.github.com> Date: Sun, 25 Aug 2024 17:07:29 +0200 Subject: [PATCH] feat: Add loading animation to storage page --- .../[locale]/(default)/storage/loading.tsx | 24 +++++++++++++++++++ src/components/storage/SkeletonCard.tsx | 17 +++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 src/app/[locale]/(default)/storage/loading.tsx create mode 100644 src/components/storage/SkeletonCard.tsx diff --git a/src/app/[locale]/(default)/storage/loading.tsx b/src/app/[locale]/(default)/storage/loading.tsx new file mode 100644 index 0000000..f88b271 --- /dev/null +++ b/src/app/[locale]/(default)/storage/loading.tsx @@ -0,0 +1,24 @@ +import { SkeletonCard } from '@/components/storage/SkeletonCard'; +import { Skeleton } from '@/components/ui/Skeleton'; + +export default function StorageSkeleton() { + return ( + <> +