import { Card, CardContent, CardDescription, CardHeader } from '@/components/ui/card'; import { useTranslation } from '@/hooks/useTranslation'; interface SectionHeaderProps { title: string; viewAllPath?: string; } function SectionHeader({ title, viewAllPath }: SectionHeaderProps) { const { t } = useTranslation(); return (

{title}

{viewAllPath && ( {t('dashboard.viewAll')} → )}
); } export function RecentActivityCard() { const { t } = useTranslation(); return ( {t('dashboard.recentActivityDescription')}

{t('dashboard.activity.newTrackAdded')}

2 hours ago

{t('dashboard.activity.messageFrom', { user: 'alice' })}

4 hours ago

{t('dashboard.activity.newFavoriteAdded')}

6 hours ago

); }