Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/ui/pages/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export function HomePage({

{compactRecent.length === 0 && isWaitingForLibrary && (
<section className="flex flex-col gap-3">
<h2 className="text-lg font-semibold text-foreground">Recently played</h2>
<h2 className="text-xl font-semibold text-foreground">Recently played</h2>
<div
className="grid gap-1.5 [grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))]"
role="status"
Expand All @@ -382,7 +382,7 @@ export function HomePage({

{compactRecent.length > 0 && (
<section className="flex flex-col gap-3">
<h2 className="text-lg font-semibold text-foreground">Recently played</h2>
<h2 className="text-xl font-semibold text-foreground">Recently played</h2>
<div className="grid gap-1.5 [grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))]">
{compactRecent.map((track) => (
<button
Expand Down Expand Up @@ -411,14 +411,14 @@ export function HomePage({

{moreSuggestions.length === 0 && isLoadingSuggestions && (
<section className="flex flex-col gap-3">
<h2 className="text-lg font-semibold text-foreground">More recommendations</h2>
<h2 className="text-xl font-semibold text-foreground">More recommendations</h2>
<AlbumGridSkeleton count={MORE_SUGGESTIONS_COUNT} label="Loading more recommendations" />
</section>
)}

{moreSuggestions.length > 0 && (
<section className="flex flex-col gap-3">
<h2 className="text-lg font-semibold text-foreground">More recommendations</h2>
<h2 className="text-xl font-semibold text-foreground">More recommendations</h2>
<div className="grid gap-3 [grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr))]">
{moreSuggestions.map((track) => (
<AlbumCard
Expand All @@ -436,14 +436,14 @@ export function HomePage({

{largeRecent.length === 0 && isWaitingForLibrary && (
<section className="flex flex-col gap-3">
<h2 className="text-lg font-semibold text-foreground">Listen again</h2>
<h2 className="text-xl font-semibold text-foreground">Listen again</h2>
<AlbumGridSkeleton count={RECENT_LARGE_COUNT} label="Loading listen again" />
</section>
)}

{largeRecent.length > 0 && (
<section className="flex flex-col gap-3">
<h2 className="text-lg font-semibold text-foreground">Listen again</h2>
<h2 className="text-xl font-semibold text-foreground">Listen again</h2>
<div className="grid gap-3 [grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr))]">
{largeRecent.map((track) => (
<AlbumCard
Expand Down
Loading