import Image from 'next/image' import Link from 'next/link' import type { Series } from '@/types/nostr' interface SeriesCardProps { series: Series onSelect: (seriesId: string | undefined) => void selected?: boolean } export function SeriesCard({ series, onSelect, selected }: SeriesCardProps) { return (
{series.coverUrl && (
{series.title}
)}

{series.title}

{series.description}

{series.category === 'science-fiction' ? 'Science-fiction' : 'Recherche scientifique'}
Voir la page de la série
) }