"use client"; import { Button } from "@app/components/ui/button"; import { cn } from "@app/lib/cn"; import { LayoutGrid, SearchX } from "lucide-react"; import { useTranslations } from "next-intl"; type LauncherEmptyStateVariant = "empty" | "noResults"; type LauncherEmptyStateProps = { variant: LauncherEmptyStateVariant; layout: "grid" | "list"; query?: string; onClearFilters?: () => void; }; function GhostResourceGrid() { return (
{isNoResults ? trimmedQuery ? t( "resourceLauncherEmptyStateNoResultsWithQuery", { query: trimmedQuery } ) : t( "resourceLauncherEmptyStateNoResultsDescription" ) : t("resourceLauncherEmptyStateDescription")}