This commit is contained in:
Your Name committed 2026-07-12 00:46:25 -04:00
1 parent 5c09629b6f
commit 2e00715142
5 files changed
+34 -21

No files matched your search

+3 -3
View File
@@ -36,8 +36,8 @@ export default function DynamicHero({ payload }: DynamicHeroProps) {
};
return (
<section className="ui-hero-shell">
<div className="absolute inset-0 z-0">
<section className="relative w-full flex flex-col md:block md:h-[90vh] md:aspect-[21/9] bg-[#EBE7E0] overflow-hidden">
<div className="relative w-full h-[50vh] min-h-[400px] md:absolute md:inset-0 md:h-full md:z-0">
<img
src={imageUrl || `${import.meta.env.VITE_API_URL.replace('/api', '')}/assets/hero.png`}
className="w-full h-full object-cover"
@@ -49,7 +49,7 @@ export default function DynamicHero({ payload }: DynamicHeroProps) {
/>
</div>
<div className="ui-hero-content animate-fade-in">
<div className="relative z-10 mx-auto py-12 w-full max-w-4xl space-y-6 px-8 text-center md:py-0 md:h-full md:flex md:flex-col md:justify-center md:items-center animate-fade-in">
<p className="text-pop-black/70 font-semibold tracking-[0.3em] text-xs md:text-sm uppercase drop-shadow-md">
{tagline || t('hero.defaultTagline')}
</p>