feat(hero+navbar): always show CRE Innovations logo, dynamic mobile gradient, and shift image downwards for mobile readability

This commit is contained in:
2026-11-05 18:20:44 +05:30
parent 33fe8e03b9
commit df970e194a
2 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
}`}
>
<div className="max-w-[1640px] mx-auto px-4 sm:px-6 lg:px-10 flex items-center justify-between">
{/* Brand Logo - In text-only mode on hero it is hidden, sliding into place when scrolled past hero */}
<div className={`relative z-20 flex-shrink-0 transition-all duration-300 ${isTextOnlyMode ? 'opacity-0 -translate-x-3 pointer-events-none' : 'opacity-100 translate-x-0'}`}>
{/* Brand Logo - Always visible at all times */}
<div className="relative z-20 flex-shrink-0">
<BrandLogo size="md" />
</div>