Skip to content

Commit

Permalink
width for hero images
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Gasperini authored and Alessandro Gasperini committed Mar 26, 2024
1 parent 83ca0b5 commit 9b56559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/layout/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const Hero: FC<HeroProps> = ({
{image && (
<div className="absolute left-none top-none h-full w-full">
<CustomImage
width={1920}
image={image}
sizes="(max-width: 640px) 90vw, (max-width: 1200px) 90vw, 90vw"
className="h-full w-full object-cover"
Expand Down

0 comments on commit 9b56559

Please sign in to comment.