Refactor shelves UI and jobs

This commit is contained in:
Rob Walsh
2026-02-27 15:46:10 -07:00
parent cfe780c6f0
commit 41d45d1210
12 changed files with 511 additions and 619 deletions
+3 -7
View File
@@ -11,8 +11,7 @@ import { RequestCard } from '@/components/requests/RequestCard';
import { useAuth } from '@/contexts/AuthContext';
import { useRequests } from '@/lib/hooks/useRequests';
import { cn } from '@/lib/utils/cn';
import { GoodreadsShelvesSection } from '@/components/profile/GoodreadsShelvesSection';
import { HardcoverShelvesSection } from '@/components/profile/HardcoverShelvesSection';
import { ShelvesSection } from '@/components/profile/ShelvesSection';
const statConfig = [
{ key: 'total', label: 'Total', color: 'text-gray-900 dark:text-white' },
@@ -179,11 +178,8 @@ export default function ProfilePage() {
</div>
</section>
{/* Goodreads Shelves */}
<GoodreadsShelvesSection />
{/* Hardcover Lists */}
<HardcoverShelvesSection />
{/* Generic Shelves Section */}
<ShelvesSection />
{/* Active Downloads */}
{activeDownloads.length > 0 && (