mirror of
https://github.com/Such-Software/such.software.git
synced 2026-10-17 05:32:05 +02:00
Fix build: remove invalid JSX comment inside <Image> in bento-grid
The previous commit (e1ff601) put a {/* */} comment between JSX attributes, which is
a syntax error, and it shipped because the commit wasn't gated on the build. Removed.
This commit is contained in:
@@ -67,8 +67,6 @@ function BentoCard({ item, delay }: { item: Item; delay: number }) {
|
||||
alt={item.alt}
|
||||
fill
|
||||
className="object-contain p-2 opacity-60 transition-transform duration-1000 group-hover:scale-105"
|
||||
{/* object-contain height-constrains the image, so it renders ~the same width
|
||||
in either span (~360px); 66vw/100vw made Next serve up to ~750-1200w. */}
|
||||
sizes="(max-width: 768px) 90vw, 33vw"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user