WIP Player
waveform ok, autoplay, download
This commit is contained in:
@@ -89,7 +89,7 @@ export default function Home() {
|
||||
</header>
|
||||
|
||||
{/* Main Content */}
|
||||
<main className={`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 ${currentTrack ? 'pb-32' : ''}`}>
|
||||
<main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 pb-32">
|
||||
{/* Stats */}
|
||||
{stats && (
|
||||
<div className="grid grid-cols-1 md:grid-cols-4 gap-4 mb-8">
|
||||
@@ -283,12 +283,10 @@ export default function Home() {
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{/* Fixed Audio Player at bottom */}
|
||||
{currentTrack && (
|
||||
<div className="fixed bottom-0 left-0 right-0 z-50 shadow-2xl">
|
||||
<AudioPlayer track={currentTrack} onClose={() => setCurrentTrack(null)} />
|
||||
</div>
|
||||
)}
|
||||
{/* Fixed Audio Player at bottom - always visible */}
|
||||
<div className="fixed bottom-0 left-0 right-0 z-50">
|
||||
<AudioPlayer track={currentTrack} />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user