import React from 'react' import { usePage, Link } from '@inertiajs/react' import StudioLayout from '../../Layouts/StudioLayout' const kpiConfig = [ { key: 'total_artworks', label: 'Total Artworks', icon: 'fa-images', color: 'text-blue-400', link: '/studio/artworks' }, { key: 'views_30d', label: 'Views (30d)', icon: 'fa-eye', color: 'text-emerald-400', link: null }, { key: 'favourites_30d', label: 'Favourites (30d)', icon: 'fa-heart', color: 'text-pink-400', link: null }, { key: 'shares_30d', label: 'Shares (30d)', icon: 'fa-share-nodes', color: 'text-amber-400', link: null }, { key: 'followers', label: 'Followers', icon: 'fa-user-group', color: 'text-purple-400', link: null }, ] function KpiCard({ config, value }) { const content = (
{typeof value === 'number' ? value.toLocaleString() : value}
{comment.author_name} {' '}on{' '} {comment.artwork_title}
{comment.body}
{new Date(comment.created_at).toLocaleDateString()}
No artworks yet. Upload your first creation!
UploadNo comments yet
)}