import Link from 'next/link' import { Card } from '@/libs/frontend-ui-primitives' import type { ExplorerFeatureAction } from '@/data/explorerOperations' export function OperationsActionLink({ action }: { action: ExplorerFeatureAction }) { const className = 'inline-flex items-center text-sm font-semibold text-primary-600 hover:underline' const label = `${action.label} ->` if (action.external) { return ( {label} ) } return ( {label} ) } function ActionCard({ action }: { action: ExplorerFeatureAction }) { return (
{action.title}

{action.description}

) } export default function OperationsActionGrid({ actions, title = 'Quick actions', className = '', }: { actions: ExplorerFeatureAction[] title?: string className?: string }) { if (actions.length === 0) return null return (
{title} {actions.length} links ยท Show Hide
{actions.map((action) => ( ))}
{actions.map((action) => ( ))}
) }