dashboard: add retention and quick fix loading states

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-05-01 14:15:31 +02:00
parent c3815bf6ab
commit 5e743a3502
52 changed files with 1324 additions and 205 deletions

View File

@@ -0,0 +1,22 @@
import type { LucideIcon } from 'lucide-react';
import { Loader2Icon } from 'lucide-react';
import { FullPageEmptyState } from './full-page-empty-state';
const FullPageLoadingState = () => {
return (
<FullPageEmptyState
className="min-h-[calc(100vh-theme(spacing.16))]"
title="Fetching..."
icon={
((props) => (
<Loader2Icon {...props} className="animate-spin" />
)) as LucideIcon
}
>
Wait a moment while we fetch your dashboards
</FullPageEmptyState>
);
};
export default FullPageLoadingState;