import Link from "next/link"; import { cn } from "@/lib/utils"; type ToolShellProps = { title: string; /** Preferred prop */ description?: string; /** Back-compat alias used by some pages */ subtitle?: string; className?: string; children: React.ReactNode; backHref?: string; backLabel?: string; }; export default function ToolShell({ title, description, subtitle, className, children, backHref = "/laser-toolkit", backLabel = "Back to Toolkit", }: ToolShellProps) { const desc = description ?? subtitle; return (
{desc}
) : null}