feat: add pagination to library/songs and remove listening streaks

This commit is contained in:
2026-01-25 00:46:15 +00:00
committed by GitHub
parent da6ffd189c
commit f77a280e34
4 changed files with 57 additions and 18 deletions

View File

@@ -14,7 +14,6 @@ import { SongRecommendations } from './components/SongRecommendations';
import { Skeleton } from '@/components/ui/skeleton';
import { useIsMobile } from '@/hooks/use-mobile';
import { UserProfile } from './components/UserProfile';
import CompactListeningStreak from './components/CompactListeningStreak';
type TimeOfDay = 'morning' | 'afternoon' | 'evening';
@@ -205,17 +204,10 @@ function MusicPageContent() {
return (
<div className="p-6 pb-24 w-full">
{/* Connection status (offline indicator) */}
{/* Song Recommendations Section */}
<div className="mb-8">
<SongRecommendations userName={userName} />
</div>
{/* Listening Streak Section - Only shown when 3+ days streak */}
<div className="mb-6">
<CompactListeningStreak />
</div>
<>
<Tabs defaultValue="music" className="h-full space-y-6">