Skip to content

Commit

Permalink
Fix image proportions (#205)
Browse files Browse the repository at this point in the history
* Fix image proportions

* Use correct aspect ratio
  • Loading branch information
alimpens authored Sep 4, 2024
1 parent faa0a1d commit f9c2009
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/app/amsterdam/kunst-en-cultuur/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ function KunstEnCultuur() {
</Paragraph>
</Grid.Cell>
<Grid.Cell span={{ narrow: 4, medium: 8, wide: 8 }}>
<AspectRatio ratio="wide">
{/* TODO: proportions are off */}
<NextImage alt="" src={artAndCultureImage} />
<AspectRatio ratio="x-wide">
<NextImage alt="" src={artAndCultureImage} fill />
</AspectRatio>
</Grid.Cell>
</Grid>
Expand Down
2 changes: 1 addition & 1 deletion src/app/amsterdam/nieuws/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function Nieuws() {
</Grid>
<article>
<Grid paddingBottom="medium">
{/* TODO: this looks off on medium screen widths, should probably be full width */}
<Grid.Cell span={6}>
<Heading className="ams-mb--xs">Maatregelen tegen overlast fatbikes</Heading>
<Paragraph>8 november 2023</Paragraph>
Expand All @@ -35,7 +36,6 @@ function Nieuws() {
</Grid.Cell>
<Grid.Cell span={6}>
<AspectRatio ratio="x-wide">
{/* TODO: deze dimensies kloppen nog niet */}
<NextImage alt="" src={fatbikesImage} fill />
</AspectRatio>
</Grid.Cell>
Expand Down

0 comments on commit f9c2009

Please sign in to comment.