'use client'; /** * SongsCatalogue — Displays a list/table of the user's registered songs. * * Each entry shows the song title and associated composer information. * Uses Divisi design system styling consistent with the rest of the portal. * * Requirements: 13.1, 13.2, 13.3 */ import type { PortalSong } from '@/lib/mock-data/types'; import { useTranslation } from '@/lib/hooks/useTranslation'; interface SongsCatalogueProps { songs: PortalSong[]; } export default function SongsCatalogue({ songs }: SongsCatalogueProps) { const t = useTranslation(); if (songs.length === 0) { return (

{t.portal.noSongs}

); } return (
{/* Table header */}
{t.portal.songTitle} {t.portal.songComposers} {t.portal.songIswc} {t.portal.songRegistration}
{/* Table rows */}
); }