fix: resolve broken image URLs and add missing sizes prop to all Image components

This commit is contained in:
2026-04-12 13:43:57 +03:00
parent 49e62e2156
commit ae4677d27e
8 changed files with 18 additions and 7 deletions

View File

@@ -24,9 +24,10 @@ export default function FleetPage() {
<header className="relative h-[70vh] flex items-end overflow-hidden bg-surface-container-lowest">
<div className="absolute inset-0 z-0">
<Image
src="https://images.unsplash.com/photo-1541625602330-2277a4c4b282?q=80&w=2070&auto=format&fit=crop"
src="https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=2070&auto=format&fit=crop"
alt="Heavy crane"
fill
sizes="100vw"
className="object-cover grayscale opacity-60"
/>
<div className="absolute inset-0 bg-gradient-to-t from-surface via-transparent to-transparent"></div>