diff --git a/dashboards/admin-web/src/components/EmptyState.tsx b/dashboards/admin-web/src/components/EmptyState.tsx deleted file mode 100644 index 5de628e8..00000000 --- a/dashboards/admin-web/src/components/EmptyState.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import type { ReactNode } from 'react'; -import { Button } from './ui/button'; - -interface EmptyStateProps { - icon?: ReactNode; - title: string; - description: string; - action?: { - label: string; - onClick: () => void; - }; -} - -export function EmptyState({ icon, title, description, action }: EmptyStateProps): ReactNode { - return ( -
- {icon && ( -
- {icon} -
- )} -

{title}

-

{description}

- {action && } -
- ); -} diff --git a/dashboards/admin-web/src/components/LoadingSpinner.tsx b/dashboards/admin-web/src/components/LoadingSpinner.tsx deleted file mode 100644 index ce07cdd3..00000000 --- a/dashboards/admin-web/src/components/LoadingSpinner.tsx +++ /dev/null @@ -1,37 +0,0 @@ -interface LoadingSpinnerProps { - size?: 'sm' | 'md' | 'lg'; - className?: string; -} - -export function LoadingSpinner({ size = 'md', className = '' }: LoadingSpinnerProps) { - const sizeClasses = { - sm: 'w-4 h-4', - md: 'w-8 h-8', - lg: 'w-12 h-12', - }; - - return ( -
- - - - -
- ); -} diff --git a/dashboards/admin-web/src/components/PageHeader.tsx b/dashboards/admin-web/src/components/PageHeader.tsx deleted file mode 100644 index 2b6e1b80..00000000 --- a/dashboards/admin-web/src/components/PageHeader.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import type { ReactNode } from 'react'; - -interface PageHeaderProps { - title: string; - breadcrumbs?: Array<{ label: string; href?: string }>; - actions?: ReactNode; -} - -export function PageHeader({ title, breadcrumbs, actions }: PageHeaderProps): ReactNode { - return ( -
-
- {breadcrumbs && breadcrumbs.length > 0 && ( - - )} -

{title}

-
- {actions &&
{actions}
} -
- ); -}