"use client"; import { SeriesCover } from "@/components/ui/series-cover"; import { useTranslate } from "@/hooks/useTranslate"; import type { KomgaSeries } from "@/types/komga"; interface OptimizedHeroSeries { id: string; metadata: { title: string; }; } interface HeroSectionProps { series: OptimizedHeroSeries[]; } export function HeroSection({ series }: HeroSectionProps) { const { t } = useTranslate(); // logger.info("HeroSection - Séries reçues:", { // count: series?.length || 0, // firstSeries: series?.[0], // }); return (
{/* Grille de couvertures en arrière-plan */}
{series?.map((series) => (
))}
{/* Overlay gradient */}
{/* Contenu */}

{t("home.hero.title")}

{t("home.hero.subtitle")}

); }