2024-02-14 17:13:13 +01:00
|
|
|
import { PageProps } from '$fresh/server.ts'
|
|
|
|
import { BlogCard, blogMock } from '../../components/BlogCard.tsx'
|
|
|
|
|
|
|
|
export default function Projet({ params }: PageProps) {
|
2024-06-06 16:38:52 +02:00
|
|
|
const article = blogMock.at(Number(params.id))
|
2024-02-14 17:13:13 +01:00
|
|
|
|
|
|
|
return (
|
2024-06-06 16:38:52 +02:00
|
|
|
article ? BlogCard(article) : <h3>Article inconnu</h3>
|
2024-02-14 17:13:13 +01:00
|
|
|
)
|
|
|
|
}
|