feat: refactor UI components to utilize new Container, Section, and StatusBadge components for improved layout and styling consistency across the application

This commit is contained in:
Julien Froidefond
2025-10-17 11:49:28 +02:00
parent 4f28df6818
commit 482bd9b0d2
23 changed files with 669 additions and 469 deletions

View File

@@ -81,7 +81,7 @@ export function HomeContent({ data, refreshHome }: HomeContentProps) {
<MediaRow
title={t("home.sections.continue_series")}
items={optimizeSeriesData(data.ongoing)}
icon={<LibraryBig className="w-6 h-6" />}
icon={LibraryBig}
/>
)}
@@ -89,7 +89,7 @@ export function HomeContent({ data, refreshHome }: HomeContentProps) {
<MediaRow
title={t("home.sections.continue_reading")}
items={optimizeBookData(data.ongoingBooks)}
icon={<BookOpen className="w-6 h-6" />}
icon={BookOpen}
/>
)}
@@ -97,7 +97,7 @@ export function HomeContent({ data, refreshHome }: HomeContentProps) {
<MediaRow
title={t("home.sections.up_next")}
items={optimizeBookData(data.onDeck)}
icon={<Clock className="w-6 h-6" />}
icon={Clock}
/>
)}
@@ -105,7 +105,7 @@ export function HomeContent({ data, refreshHome }: HomeContentProps) {
<MediaRow
title={t("home.sections.latest_series")}
items={optimizeSeriesData(data.latestSeries)}
icon={<Sparkles className="w-6 h-6" />}
icon={Sparkles}
/>
)}
@@ -113,7 +113,7 @@ export function HomeContent({ data, refreshHome }: HomeContentProps) {
<MediaRow
title={t("home.sections.recently_added")}
items={optimizeBookData(data.recentlyRead)}
icon={<History className="w-6 h-6" />}
icon={History}
/>
)}
</div>