feat: SPA pour les pages existantes

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-02-17 14:50:36 +01:00
parent 668702b1fb
commit 140cc14316
11 changed files with 331 additions and 164 deletions

View File

@@ -1,14 +1,13 @@
import React from 'react';
import { MangaCard } from './MangaCard.jsx';
export function MangaGrid({ mangas, onMangaClick }) {
export function MangaGrid({ mangas }) {
return (
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 p-6">
{mangas.map((manga) => (
<MangaCard
key={manga.id}
manga={manga}
onClick={onMangaClick}
manga={manga}
/>
))}
</div>