import { PageProps } from '$fresh/server.ts' import { ProjectCard, projectMock } from ':components/ProjectCard.tsx' export default function Projets({ params }: PageProps) { const Projets = projectMock.at(Number(params.id)) return ( Projets ? ProjectCard(Projets) :