Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

942 B
Raw Blame
import { Blocks, LayoutGridPlus } from 'lucide-react';

import { SkillCatalogPageSkeleton } from '@/components/Skeleton/Settings/tabs/SkillCatalog';
import { routeMeta } from '@/spa/router/routeMeta';

/**
 * The installed-skill and connector managers draw their own page frame, so the
 * route skeleton is their whole-page shape (the same one the settings tabs used
 * before moving here), not the Marketplace list chrome.
 */
const InstalledSkillsSkeleton = () => <SkillCatalogPageSkeleton viewMode={'skill'} />;
const ConnectorsSkeleton = () => <SkillCatalogPageSkeleton viewMode={'connector'} />;

export const marketplaceInstalledSkillsRouteMeta = routeMeta({
  icon: LayoutGridPlus,
  Skeleton: InstalledSkillsSkeleton,
  titleKey: 'navigation.marketplaceInstalledSkills',
});

export const marketplaceConnectorsRouteMeta = routeMeta({
  icon: Blocks,
  Skeleton: ConnectorsSkeleton,
  titleKey: 'navigation.marketplaceConnectors',
});