x
This commit is contained in:
1 parent
7cb65bf5e7
commit
512a988d17
21 files changed
+516
-159
No files matched your search
@@ -38,7 +38,7 @@ export default function DynamicHero({ payload }: DynamicHeroProps) {
|
||||
<section className="relative w-full min-h-[90vh] md:min-h-0 md:aspect-[21/9] flex items-center justify-center overflow-hidden bg-night-900">
|
||||
<div className="absolute inset-0 z-0">
|
||||
<img
|
||||
src={imageUrl || "/images/hero.png"}
|
||||
src={imageUrl || `${import.meta.env.VITE_API_URL.replace('/api', '')}/assets/hero.png`}
|
||||
className="w-full h-full object-cover scale-[1.02]"
|
||||
alt="Hero Background"
|
||||
onError={(e) => {
|
||||
|
||||
Reference in new issue
Block a user