import Link from "next/link"; import { LitList } from "@/components/ui/lit-list"; import { LitGroup, LitLine } from "@/components/ui/lit-line"; // A list of places to go, as one lit list: name, one line of what it is, and // its address. /tools and /tools/song are this. Server-safe. /** What each song pile is for, in one line. */ export const PILE_WHAT: Record = { sort: "Candidate clips never judged", salvage: "Clips parked as unclean, offered again", verify: "Accepted clips the risk check flagged, riskiest first", keeps: "Clips kept on purpose for a stray word, to side", }; export type ToolEntry = { href: string; name: string; what: string; testid: string }; export default function ToolList({ groups }: { groups: { title: string; tools: ToolEntry[] }[] }) { return ( {groups.map((g) => ( {g.tools.map((t) => ( {/* On a phone the line is the link (its ::after covers it), the address left out. */} {t.name} {t.what} {t.href} ))} ))} ); }