From 84236d633f7939b9309aef021f8d360b6da9e7a7 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 2 Jul 2024 11:17:39 +0200 Subject: [PATCH] feat(route): :sparkles: use true blog cards for site home page --- routes/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/index.tsx b/routes/index.tsx index b2afc02..5658db6 100644 --- a/routes/index.tsx +++ b/routes/index.tsx @@ -1,12 +1,12 @@ import { Head } from '$fresh/runtime.ts' import { AutoGrid } from ':components/AutoGrid.tsx' -import { BlogCard, blogMock } from ':components/BlogCard.tsx' import { CohabitInfoTable } from ':components/CohabitInfoTable.tsx' import { Heros } from ':components/Heros.tsx' import { MachineCard, machineMock } from ':components/MachineCard.tsx' import { MemberCard, memberMock } from ':components/MemberCard.tsx' import { ProjectCard, projectMock } from ':components/ProjectCard.tsx' import { SponsorCards } from ':components/SponsorCards.tsx' +import BlogCardList from ':islands/BlogCardList.tsx' export default function Home() { return ( @@ -19,7 +19,7 @@ export default function Home() {

Nos actus

<> - {blogMock.slice(0, 4).map(BlogCard)} + Voir plus