fix(ui): remove floating telemetry badges, elevate typography hierarchy and editorial measure on homepage

This commit is contained in:
2026-11-03 14:34:33 +05:30
parent 308396c859
commit 02e910bf47
4 changed files with 27 additions and 50 deletions
+16 -45
View File
@@ -43,28 +43,8 @@ export function HeroSection({
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-[450px] bg-gradient-to-b from-blue-500/[0.04] via-indigo-500/[0.03] to-transparent blur-3xl pointer-events-none -z-10" />
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
{/* Floating Kinetic Telemetry Badges (Squared Media Style) */}
<div className="hidden lg:flex items-center gap-3 px-4 py-2.5 rounded-2xl bg-white/95 backdrop-blur-md border border-slate-900/[0.08] shadow-cream-md absolute top-6 left-6 xl:left-12 animate-float-slow z-20 pointer-events-none">
<span className="relative flex h-2.5 w-2.5">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-emerald-400 opacity-75"></span>
<span className="relative inline-flex rounded-full h-2.5 w-2.5 bg-emerald-500"></span>
</span>
<div>
<div className="text-[10px] font-mono font-bold text-slate-500 uppercase tracking-wider">Privacy Engine</div>
<div className="text-xs font-mono font-bold text-slate-900">Zero Disk Retention</div>
</div>
</div>
<div className="hidden lg:flex items-center gap-3 px-4 py-2.5 rounded-2xl bg-white/95 backdrop-blur-md border border-slate-900/[0.08] shadow-cream-md absolute top-12 right-6 xl:right-12 animate-float-medium z-20 pointer-events-none">
<Zap className="w-4 h-4 text-amber-500" />
<div>
<div className="text-[10px] font-mono font-bold text-slate-500 uppercase tracking-wider">Stream Latency</div>
<div className="text-xs font-mono font-bold text-slate-900">&lt; 340ms Inference</div>
</div>
</div>
{/* Main Hero Header */}
<div className="text-center max-w-3xl mx-auto space-y-6 mb-12 sm:mb-16 relative z-10">
<div className="text-center max-w-4xl mx-auto space-y-7 mb-12 sm:mb-16 relative z-10">
{/* Interactive 3D Neural Crystal Prism Jewel (Centered Above Headline - Zero Text Overlap) */}
<div className="w-28 h-28 sm:w-36 sm:h-36 mx-auto -mb-2 pointer-events-none z-10 opacity-95">
<Hero3DCanvas />
@@ -81,32 +61,32 @@ export function HeroSection({
</div>
)}
{/* Main Headline */}
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-display font-black text-slate-900 tracking-tight leading-[1.12]">
{/* Main Headline with Editorial Kerning and Fluid Scale */}
<h1 className="text-4xl sm:text-5xl lg:text-6xl xl:text-7xl font-display font-black text-slate-900 tracking-tight leading-[1.08] max-w-4xl mx-auto">
Transform Photos with <br className="hidden sm:inline" />
<span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600">
Next-Gen Neural AI
</span>
</h1>
{/* Subtitle */}
<p className="text-base sm:text-lg text-slate-600 leading-relaxed max-w-2xl mx-auto font-normal">
{/* Subtitle with Refined Editorial Measure */}
<p className="text-base sm:text-lg lg:text-xl text-slate-600 leading-relaxed max-w-2xl mx-auto font-normal">
{resolvedSubtitle}
</p>
{/* Guarantees Bar */}
<div className="pt-2 flex flex-wrap items-center justify-center gap-3 sm:gap-5 text-xs font-mono text-slate-600">
<span className="flex items-center gap-1.5 bg-white border border-slate-900/[0.07] px-3.5 py-1.5 rounded-full shadow-sm">
<ShieldCheck className="w-4 h-4 text-emerald-600" />
<span className="font-medium text-slate-700">100% In-Memory RAM Stream</span>
{/* Guarantees Bar - Frosted Glass Micro-Pills */}
<div className="pt-2 flex flex-wrap items-center justify-center gap-3 sm:gap-4 text-xs font-mono">
<span className="inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-slate-900/[0.08] px-4 py-2 rounded-full shadow-sm text-slate-800">
<ShieldCheck className="w-4 h-4 text-emerald-600 shrink-0" />
<span className="font-semibold text-slate-800">100% In-Memory RAM Stream</span>
</span>
<span className="flex items-center gap-1.5 bg-white border border-slate-900/[0.07] px-3.5 py-1.5 rounded-full shadow-sm">
<Cpu className="w-4 h-4 text-blue-600" />
<span className="font-medium text-slate-700">Commercial Sub-Pore Models</span>
<span className="inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-slate-900/[0.08] px-4 py-2 rounded-full shadow-sm text-slate-800">
<Cpu className="w-4 h-4 text-blue-600 shrink-0" />
<span className="font-semibold text-slate-800">Sub-Pore Neural Precision</span>
</span>
<span className="flex items-center gap-1.5 bg-white border border-slate-900/[0.07] px-3.5 py-1.5 rounded-full shadow-sm">
<Zap className="w-4 h-4 text-amber-500" />
<span className="font-medium text-slate-700">Zero Watermark Free Trials</span>
<span className="inline-flex items-center gap-2 bg-white/80 backdrop-blur-sm border border-slate-900/[0.08] px-4 py-2 rounded-full shadow-sm text-slate-800">
<Zap className="w-4 h-4 text-amber-500 shrink-0" />
<span className="font-semibold text-slate-800">Zero Watermark Previews</span>
</span>
</div>
</div>
@@ -121,15 +101,6 @@ export function HeroSection({
locale={locale}
/>
</TiltCard>
{/* Bottom Floating Architecture Chip */}
<div className="hidden xl:flex items-center gap-3 px-4 py-2.5 rounded-2xl bg-white/95 backdrop-blur-md border border-slate-900/[0.08] shadow-cream-md absolute -bottom-5 -right-6 animate-float-slow z-20 pointer-events-none">
<Cpu className="w-4 h-4 text-indigo-600" />
<div>
<div className="text-[10px] font-mono font-bold text-slate-500 uppercase tracking-wider">Architecture</div>
<div className="text-xs font-mono font-bold text-slate-900">Dual-Stream P3M &amp; GAN</div>
</div>
</div>
</div>
</div>
</section>