mirror of
https://github.com/saltbo/zpan.git
synced 2026-09-24 23:22:31 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user