24 lines
1.0 KiB
TypeScript
24 lines
1.0 KiB
TypeScript
import { Button } from "@/components/ui/button";
|
|
import { Link } from "@tanstack/react-router";
|
|
import { LayoutGrid } from "lucide-react";
|
|
|
|
export function ModelCatalogEmptyState() {
|
|
return (
|
|
<div className="flex min-h-[80vh] w-full flex-col items-center justify-center gap-4 py-16 text-center">
|
|
<div className="text-muted-foreground">
|
|
<LayoutGrid className="h-[5.5rem] w-[5.5rem]" strokeWidth={1} />
|
|
</div>
|
|
<div className="flex flex-col gap-1">
|
|
<h1 className="text-muted-foreground text-xl font-medium">No providers configured yet</h1>
|
|
<div className="text-muted-foreground mx-auto mt-2 max-w-[600px] text-sm font-normal">
|
|
Configure your first model provider to see an overview of all providers, API keys, models, and usage metrics.
|
|
</div>
|
|
<div className="mx-auto mt-6 flex flex-row flex-wrap items-center justify-center gap-2">
|
|
<Button asChild data-testid="modelcatalog-configure-providers-cta">
|
|
<Link to="/workspace/providers">Configure Providers</Link>
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
} |