Skip to content

Commit 9bb9a1a

Browse files
committed
better empty states
1 parent 566eb72 commit 9bb9a1a

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

apps/dashboard/app/(main)/observability/database/_components/empty-state.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ interface EmptyStateProps {
1111

1212
export function EmptyState({ onCreateConnection }: EmptyStateProps) {
1313
return (
14-
<Card className="fade-in-50 animate-in rounded border-2 border-dashed bg-gradient-to-br from-background to-muted/20 duration-700">
14+
<Card className="rounded border-2 border-dashed bg-gradient-to-br from-background to-muted/20">
1515
<CardContent className="flex flex-col items-center justify-center px-8 py-16">
1616
<div className="group relative mb-8">
17-
<div className="rounded-full border-2 border-primary/20 bg-primary/10 p-6 transition-transform duration-300 group-hover:scale-105">
17+
<div className="rounded-full border-2 border-primary/20 bg-primary/10 p-6">
1818
<DatabaseIcon
1919
className="h-16 w-16 text-primary"
2020
size={16}
2121
weight="duotone"
2222
/>
2323
</div>
24-
<div className="-top-2 -right-2 absolute animate-pulse rounded-full border-2 border-primary/20 bg-background p-2 shadow-sm">
24+
<div className="-top-2 -right-2 absolute rounded-full border-2 border-primary/20 bg-background p-2 shadow-sm">
2525
<PlusIcon className="h-6 w-6 text-primary" size={16} />
2626
</div>
2727
</div>

apps/dashboard/app/(main)/websites/[id]/flags/_components/empty-state.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ interface EmptyStateProps {
1111

1212
export function EmptyState({ onCreateFlag }: EmptyStateProps) {
1313
return (
14-
<Card className="fade-in-50 animate-in rounded-xl border-2 border-dashed bg-gradient-to-br from-background to-muted/20 duration-700">
14+
<Card className="rounded-xl border-2 border-dashed bg-gradient-to-br from-background to-muted/20">
1515
<CardContent className="flex flex-col items-center justify-center px-8 py-16">
1616
<div className="group relative mb-8">
17-
<div className="rounded-full border-2 border-primary/20 bg-primary/10 p-6 transition-transform duration-300 group-hover:scale-105">
17+
<div className="rounded-full border-2 border-primary/20 bg-primary/10 p-6">
1818
<FlagIcon
1919
className="h-16 w-16 text-primary"
2020
size={16}
2121
weight="duotone"
2222
/>
2323
</div>
24-
<div className="-top-2 -right-2 absolute animate-pulse rounded-full border-2 border-primary/20 bg-background p-2 shadow-sm">
24+
<div className="-top-2 -right-2 absolute rounded-full border-2 border-primary/20 bg-background p-2 shadow-sm">
2525
<PlusIcon className="h-6 w-6 text-primary" size={16} />
2626
</div>
2727
</div>

apps/dashboard/app/(main)/websites/[id]/funnels/_components/empty-state.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ interface EmptyStateProps {
1111

1212
export function EmptyState({ onCreateFunnel }: EmptyStateProps) {
1313
return (
14-
<Card className="fade-in-50 animate-in rounded-xl border-2 border-dashed bg-gradient-to-br from-background to-muted/20 duration-700">
14+
<Card className="rounded-xl border-2 border-dashed bg-gradient-to-br from-background to-muted/20">
1515
<CardContent className="flex flex-col items-center justify-center px-8 py-16">
1616
<div className="group relative mb-8">
17-
<div className="rounded-full border-2 border-primary/20 bg-primary/10 p-6 transition-transform duration-300 group-hover:scale-105">
17+
<div className="rounded-full border-2 border-primary/20 bg-primary/10 p-6">
1818
<FunnelIcon
1919
className="h-16 w-16 text-primary"
2020
size={16}
2121
weight="duotone"
2222
/>
2323
</div>
24-
<div className="-top-2 -right-2 absolute animate-pulse rounded-full border-2 border-primary/20 bg-background p-2 shadow-sm">
24+
<div className="-top-2 -right-2 absolute rounded-full border-2 border-primary/20 bg-background p-2 shadow-sm">
2525
<PlusIcon className="h-6 w-6 text-primary" size={16} />
2626
</div>
2727
</div>

apps/dashboard/app/(main)/websites/[id]/goals/_components/empty-state.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ interface EmptyStateProps {
1111

1212
export function EmptyState({ onCreateGoal }: EmptyStateProps) {
1313
return (
14-
<Card className="fade-in-50 animate-in rounded-xl border-2 border-dashed bg-gradient-to-br from-background to-muted/20 duration-700">
14+
<Card className="rounded-xl border-2 border-dashed bg-gradient-to-br from-background to-muted/20">
1515
<CardContent className="flex flex-col items-center justify-center px-8 py-16">
1616
<div className="group relative mb-8">
17-
<div className="rounded-full border-2 border-primary/20 bg-primary/10 p-6 transition-transform duration-300 group-hover:scale-105">
17+
<div className="rounded-full border-2 border-primary/20 bg-primary/10 p-6">
1818
<TargetIcon
1919
className="h-16 w-16 text-primary"
2020
size={16}
2121
weight="duotone"
2222
/>
2323
</div>
24-
<div className="-top-2 -right-2 absolute animate-pulse rounded-full border-2 border-primary/20 bg-background p-2 shadow-sm">
24+
<div className="-top-2 -right-2 absolute rounded-full border-2 border-primary/20 bg-background p-2 shadow-sm">
2525
<PlusIcon className="h-6 w-6 text-primary" size={16} />
2626
</div>
2727
</div>

0 commit comments

Comments
 (0)