Moved the Documents sidebar item to the bottom, above the page count

This commit is contained in:
Eric Lammertsma 2026-01-22 12:41:49 -05:00
parent 6c5223e262
commit ee60d72d2f

View file

@ -95,11 +95,6 @@ export function Sidebar({
</div>
)}
{/* Platform navigation */}
{navItems.length > 0 && (
<NavSection items={navItems} onItemClick={onNavItemClick} isCollapsed={isCollapsed} />
)}
{/* New chat button */}
<div className="p-2">
{isCollapsed ? (
@ -231,7 +226,12 @@ export function Sidebar({
</ScrollArea>
{/* Footer */}
<div className="mt-auto">
<div className="mt-auto border-t">
{/* Platform navigation */}
{navItems.length > 0 && (
<NavSection items={navItems} onItemClick={onNavItemClick} isCollapsed={isCollapsed} />
)}
{pageUsage && !isCollapsed && (
<PageUsageDisplay pagesUsed={pageUsage.pagesUsed} pagesLimit={pageUsage.pagesLimit} />
)}