Refactor code structure for improved readability and maintainability

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
mido
2026-05-04 10:30:44 -05:00
parent 55c19578aa
commit bcbb97040d
10 changed files with 104 additions and 42 deletions

View File

@@ -35,7 +35,7 @@ const collectionIndex = entries.find((item) => item.id === "index");
const entryUrl =
entry.id === "index" ? `/${collection}` : `/${collection}/${entry.id}`;
const breadcrumbs = [
{ label: "Radium Help", href: "/" },
{ label: "Help", href: "/" },
{
label: collectionIndex?.data.title ?? collection,
href: entry.id === "index" ? undefined : `/${collection}`,