style: move Powered by ZPan above storage quota and add repo link

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
saltbo
2026-04-25 08:59:58 -04:00
co-authored by Copilot
parent b179db9efd
commit b8ef531dfd
+13 -3
View File
@@ -190,6 +190,19 @@ export function AppSidebar() {
</SidebarGroupContent>
</SidebarGroup>
</SidebarContent>
{!branding.hide_powered_by && (
<div className="px-4 py-1.5 text-center text-xs text-muted-foreground/60">
Powered by{' '}
<a
href="https://github.com/saltbo/zpan"
target="_blank"
rel="noopener noreferrer"
className="underline hover:text-muted-foreground"
>
ZPan
</a>
</div>
)}
{quota && (
<div className="border-t px-5 py-3">
<div className="mb-2 flex items-center gap-1.5 text-xs font-medium text-sidebar-foreground">
@@ -216,9 +229,6 @@ export function AppSidebar() {
</p>
</div>
)}
{!branding.hide_powered_by && (
<div className="px-4 py-1.5 text-center text-xs text-muted-foreground/60">Powered by ZPan</div>
)}
<SidebarFooter className="border-t p-3">
<SidebarMenu>
<SidebarMenuItem>