import { PageLayout } from '@/components/admin/shared/PageLayout';
import { HeroSection } from '@/components/admin/shared/HeroSection';
import { Button } from '@/components/ui/button';
import Link from 'next/link';
import { PlusCircle, ArrowLeft, Database, Calendar, Edit, Eye, Sparkles, FileText, Clock } from 'lucide-react';
interface ContentType {
id: string;
name: string;
description: string | null;
apiIdentifier: string;
fields: Array<{
id: string;
label: string;
}>;
entries: Array<{
id: string;
data: any;
createdAt: Date;
updatedAt: Date;
}>;
}
interface ContentEntriesListProps {
contentType: ContentType;
}
export function ContentEntriesList({ contentType }: ContentEntriesListProps) {
return (
<>
{contentType.entries.length} {contentType.entries.length === 1 ? 'entrada' : 'entradas'} en total
Crea tu primera entrada de {contentType.name.toLowerCase()} para comenzar a organizar tu contenido.