feat: update NEXT_PUBLIC_COMMIT_SHA and improve component layouts for better styling and functionality
This commit is contained in:
@@ -1 +1 @@
|
|||||||
NEXT_PUBLIC_COMMIT_SHA=4b195af
|
NEXT_PUBLIC_COMMIT_SHA=7e28333
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ function NavidromeErrorBoundary({ children }: { children: React.ReactNode }) {
|
|||||||
<div className="flex min-h-svh w-full items-center justify-center p-6 md:p-10">
|
<div className="flex min-h-svh w-full items-center justify-center p-6 md:p-10">
|
||||||
{/* top right add the logo located in /icon-192.png here and the word mice */}
|
{/* top right add the logo located in /icon-192.png here and the word mice */}
|
||||||
<div className="absolute top-4 left-4 flex items-center space-x-2">
|
<div className="absolute top-4 left-4 flex items-center space-x-2">
|
||||||
<Image src="/icon-192.png" alt="Logo" className="h-8 w-8" />
|
<Image src="/icon-192.png" alt="Logo" width={32} height={32} className="h-8 w-8" />
|
||||||
<span className="text-xl font-semibold">mice | navidrome client</span>
|
<span className="text-xl font-semibold">mice | navidrome client</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,13 @@ const Ihateserverside: React.FC<IhateserversideProps> = ({ children }) => {
|
|||||||
return (
|
return (
|
||||||
<div className="hidden md:flex md:flex-col md:h-screen">
|
<div className="hidden md:flex md:flex-col md:h-screen">
|
||||||
{/* Top Menu */}
|
{/* Top Menu */}
|
||||||
<div className="sticky top-0 z-10 bg-background border-b">
|
<div
|
||||||
|
className="sticky z-10 bg-background border-b"
|
||||||
|
style={{
|
||||||
|
left: 'env(titlebar-area-x, 0)',
|
||||||
|
top: 'env(titlebar-area-y, 0)',
|
||||||
|
}}
|
||||||
|
>
|
||||||
<Menu
|
<Menu
|
||||||
toggleSidebar={() => setIsSidebarVisible(!isSidebarVisible)}
|
toggleSidebar={() => setIsSidebarVisible(!isSidebarVisible)}
|
||||||
isSidebarVisible={isSidebarVisible}
|
isSidebarVisible={isSidebarVisible}
|
||||||
|
|||||||
@@ -90,7 +90,14 @@ export function Menu({ toggleSidebar, isSidebarVisible, toggleStatusBar, isStatu
|
|||||||
</div>
|
</div>
|
||||||
<div style={{ marginRight: '0.24rem' }} className="border-r-4 w-0"><p className="invisible">j</p></div>
|
<div style={{ marginRight: '0.24rem' }} className="border-r-4 w-0"><p className="invisible">j</p></div>
|
||||||
|
|
||||||
<Menubar className="rounded-none border-b border-none px-0 lg:px-0 flex-1" style={{ minWidth: 0 }}>
|
<Menubar
|
||||||
|
className="rounded-none border-b border-none px-0 lg:px-0 flex-1"
|
||||||
|
style={{
|
||||||
|
minWidth: 0,
|
||||||
|
WebkitAppRegion: "drag"
|
||||||
|
} as any}
|
||||||
|
>
|
||||||
|
<div style={{ WebkitAppRegion: "no-drag" } as any} className="flex items-center gap-2">
|
||||||
<MenubarMenu>
|
<MenubarMenu>
|
||||||
<MenubarTrigger className="font-bold">mice</MenubarTrigger>
|
<MenubarTrigger className="font-bold">mice</MenubarTrigger>
|
||||||
<MenubarContent>
|
<MenubarContent>
|
||||||
@@ -249,6 +256,7 @@ export function Menu({ toggleSidebar, isSidebarVisible, toggleStatusBar, isStatu
|
|||||||
</MenubarItem>
|
</MenubarItem>
|
||||||
</MenubarContent>
|
</MenubarContent>
|
||||||
</MenubarMenu>
|
</MenubarMenu>
|
||||||
|
</div>
|
||||||
</Menubar>
|
</Menubar>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -137,7 +137,6 @@ export function LoginForm({
|
|||||||
{/* Theme Selection */}
|
{/* Theme Selection */}
|
||||||
<div className="grid gap-3">
|
<div className="grid gap-3">
|
||||||
<span>
|
<span>
|
||||||
<FaPalette className="w-5 h-5" />
|
|
||||||
<Label htmlFor="theme">Theme</Label>
|
<Label htmlFor="theme">Theme</Label>
|
||||||
</span>
|
</span>
|
||||||
<Select value={theme} onValueChange={setTheme}>
|
<Select value={theme} onValueChange={setTheme}>
|
||||||
|
|||||||
Reference in New Issue
Block a user