import { PageProps } from '$fresh/server.ts'
import { BlogCard, blogMock } from '../../components/BlogCard.tsx'

export default function Projet({ params }: PageProps) {
    const article = blogMock.at(Number(params.id))

	return (
        article ? BlogCard(article) : <h3>Article inconnu</h3>
	)
}
