fix: update NEXT_PUBLIC_COMMIT_SHA and improve layout for Album and Menu components
This commit is contained in:
@@ -1 +1 @@
|
|||||||
NEXT_PUBLIC_COMMIT_SHA=54a268f
|
NEXT_PUBLIC_COMMIT_SHA=00db487
|
||||||
|
|||||||
@@ -145,13 +145,13 @@ export default function AlbumPage() {
|
|||||||
<p className="text-xl text-primary mt-0 mb-4 underline">{album.artist}</p>
|
<p className="text-xl text-primary mt-0 mb-4 underline">{album.artist}</p>
|
||||||
</Link>
|
</Link>
|
||||||
<Button className="px-5" onClick={() => playAlbum(album.id)}>
|
<Button className="px-5" onClick={() => playAlbum(album.id)}>
|
||||||
<Play />
|
Play
|
||||||
Play Album
|
|
||||||
</Button>
|
</Button>
|
||||||
<div className="text-sm text-muted-foreground">
|
<div className="text-sm text-muted-foreground">
|
||||||
<p>{album.songCount} songs • {album.year} • {album.genre}</p>
|
<p>{album.genre} • {album.year}</p>
|
||||||
<p>Duration: {formatDuration(album.duration)}</p>
|
<p>{album.songCount} songs, {formatDuration(album.duration)}</p>
|
||||||
</div>
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
|
|||||||
@@ -134,7 +134,6 @@ export function Menu({ toggleSidebar, isSidebarVisible, toggleStatusBar, isStatu
|
|||||||
</MenubarItem>
|
</MenubarItem>
|
||||||
</MenubarContent>
|
</MenubarContent>
|
||||||
</MenubarMenu>
|
</MenubarMenu>
|
||||||
<div className="border-r-4 w-0"><p className="invisible">j</p></div>
|
|
||||||
<MenubarMenu>
|
<MenubarMenu>
|
||||||
<MenubarTrigger className="relative">File</MenubarTrigger>
|
<MenubarTrigger className="relative">File</MenubarTrigger>
|
||||||
<MenubarContent>
|
<MenubarContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user