We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9448681 commit 1fc2129Copy full SHA for 1fc2129
features/home/components/HeroSection.tsx
@@ -18,7 +18,7 @@ export function HeroSection({ content }: HeroSectionProps) {
18
{/* Background Image */}
19
<div className="absolute inset-0 z-0">
20
<Image
21
- src={content.image_url || "/hero-default.jpg"}
+ src={content.image_url && content.image_url.trim() !== '' && !content.image_url.includes('hero-default') ? content.image_url : "/logo.jpg"}
22
alt="Hero background"
23
fill
24
className="object-cover object-center w-full h-full"
tsconfig.json
@@ -38,6 +38,7 @@
38
"**/*.mts"
39
],
40
"exclude": [
41
- "node_modules"
+ "node_modules",
42
+ "Updateforbetter"
43
]
44
}
0 commit comments