diff --git a/src/components/docs-footer.tsx b/src/components/docs-footer.tsx index 0a160de..7983063 100644 --- a/src/components/docs-footer.tsx +++ b/src/components/docs-footer.tsx @@ -46,7 +46,7 @@ const DocsFooter = ({ pages[current]?.published ).toLocaleString(DateTime.DATETIME_MED)} > - + Published {publicationDate} @@ -56,7 +56,7 @@ const DocsFooter = ({ {previous || next ? ( ) : undefined} -
+
{/* Previous */} {previous && ( { const tree = useMemo(() => buildTree(pages), [pages]); return ( - <> +
{Object.values(tree).map((node: TreeNode) => ( ))} - +
); }; @@ -51,7 +51,7 @@ const CategoryItem = ({ const hasChildren = Object.keys(node.children).length > 0; return ( -
0 && "ml-2.5")}> +
0 && "ml-4")}> {/* Indentation */} {depth > 0 && (