website/routes/blog/index.tsx

19 lines
346 B
TypeScript

import { BlogCard, blogMock } from '../../components/BlogCard.tsx'
export default function Blog() {
return (
<>
<h1>Nos articles</h1>
<section
style={{
display: 'grid',
gridTemplateColumns: 'repeat(auto-fit, minmax(15rem, 1fr));',
gap: 'var(--_gap)',
}}
>
{blogMock.map(BlogCard)}
</section>
</>
)
}