x
This commit is contained in:
1 parent
ce2f4cf0c8
commit
5a87e7f77d
21 files changed
+1083
-88
No files matched your search
@@ -39,14 +39,12 @@ export default function DynamicHero({ payload }: DynamicHeroProps) {
|
||||
<div className="absolute inset-0 z-0">
|
||||
<img
|
||||
src={imageUrl || `${import.meta.env.VITE_API_URL.replace('/api', '')}/assets/hero.png`}
|
||||
className="w-full h-full object-cover scale-[1.02]"
|
||||
className="w-full h-full object-cover"
|
||||
alt="Hero Background"
|
||||
onError={(e) => {
|
||||
(e.target as HTMLImageElement).style.display = 'none';
|
||||
}}
|
||||
/>
|
||||
<div className="ui-hero-overlay" />
|
||||
<div className="ui-hero-overlay-strong" />
|
||||
</div>
|
||||
|
||||
<div className="ui-hero-content animate-fade-in">
|
||||
|
||||
Reference in new issue
Block a user