Skip to content

Commit

Permalink
improvement: grid for cards
Browse files Browse the repository at this point in the history
  • Loading branch information
nsdonato committed Jan 26, 2024
1 parent 35e2191 commit abc9cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default async function Slug({ params }: { params: { slug: string[] } }) {
<>
<Header title={data.title} description={data.description} />

<div className='grid gap-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 mt-8'>
<div className='grid gap-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-4 mt-8'>
{data.submenu.map(item => (
<Card key={item.imgPlaceholder} item={item} />
))}
Expand Down

0 comments on commit abc9cd3

Please sign in to comment.