2024-02-15 12:50:40 +01:00
|
|
|
import { PageProps } from '$fresh/server.ts'
|
2024-07-01 13:11:20 +02:00
|
|
|
import { ProjectCard, projectMock } from ':components/ProjectCard.tsx'
|
2024-02-15 12:50:40 +01:00
|
|
|
|
|
|
|
export default function Projets({ params }: PageProps) {
|
|
|
|
const Projets = projectMock.at(Number(params.id))
|
|
|
|
|
|
|
|
return (
|
|
|
|
Projets
|
|
|
|
? ProjectCard(Projets)
|
|
|
|
: <h3>Projets inconnu, peut être un futur</h3>
|
|
|
|
)
|
|
|
|
}
|