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
+1 -1
View File
@@ -18,7 +18,7 @@
"hi": "नेक्स्ट-जेन न्यूरल एआई के साथ फोटो बदलें" "hi": "नेक्स्ट-जेन न्यूरल एआई के साथ फोटो बदलें"
}, },
"subtitle": { "subtitle": {
"en": "Experience studio-grade photo tools free online with zero sign-up. Get 4K lossless export, batch editing, and exclusive creative toolkits in our native mobile apps.", "en": "Commercial-grade neural vision tools with zero sign-up and zero data retention. Process high-resolution portraits, precision cutouts, and restorations directly in your browser.",
"hi": "बिना साइन-अप के स्टूडियो-ग्रेड फोटो टूल्स मुफ़्त में आज़माएं। हमारे मोबाइल ऐप्स में 4K एक्सपोर्ट प्राप्त करें।" "hi": "बिना साइन-अप के स्टूडियो-ग्रेड फोटो टूल्स मुफ़्त में आज़माएं। हमारे मोबाइल ऐप्स में 4K एक्सपोर्ट प्राप्त करें।"
}, },
"tryIt": { "tryIt": {
+7 -1
View File
@@ -32,12 +32,18 @@
h1, h2, h3, h4, .font-display { h1, h2, h3, h4, .font-display {
font-family: var(--font-display), var(--font-sans), sans-serif; font-family: var(--font-display), var(--font-sans), sans-serif;
letter-spacing: -0.03em; letter-spacing: -0.04em;
color: #0F172A; color: #0F172A;
text-wrap: balance;
}
p {
text-wrap: pretty;
} }
.font-mono { .font-mono {
font-family: var(--font-mono), monospace; font-family: var(--font-mono), monospace;
letter-spacing: -0.015em;
} }
} }
+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="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"> <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 */} {/* 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) */} {/* 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"> <div className="w-28 h-28 sm:w-36 sm:h-36 mx-auto -mb-2 pointer-events-none z-10 opacity-95">
<Hero3DCanvas /> <Hero3DCanvas />
@@ -81,32 +61,32 @@ export function HeroSection({
</div> </div>
)} )}
{/* Main Headline */} {/* Main Headline with Editorial Kerning and Fluid Scale */}
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-display font-black text-slate-900 tracking-tight leading-[1.12]"> <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" /> 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"> <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600">
Next-Gen Neural AI Next-Gen Neural AI
</span> </span>
</h1> </h1>
{/* Subtitle */} {/* Subtitle with Refined Editorial Measure */}
<p className="text-base sm:text-lg text-slate-600 leading-relaxed max-w-2xl mx-auto font-normal"> <p className="text-base sm:text-lg lg:text-xl text-slate-600 leading-relaxed max-w-2xl mx-auto font-normal">
{resolvedSubtitle} {resolvedSubtitle}
</p> </p>
{/* Guarantees Bar */} {/* Guarantees Bar - Frosted Glass Micro-Pills */}
<div className="pt-2 flex flex-wrap items-center justify-center gap-3 sm:gap-5 text-xs font-mono text-slate-600"> <div className="pt-2 flex flex-wrap items-center justify-center gap-3 sm:gap-4 text-xs font-mono">
<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"> <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" /> <ShieldCheck className="w-4 h-4 text-emerald-600 shrink-0" />
<span className="font-medium text-slate-700">100% In-Memory RAM Stream</span> <span className="font-semibold text-slate-800">100% In-Memory RAM Stream</span>
</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"> <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" /> <Cpu className="w-4 h-4 text-blue-600 shrink-0" />
<span className="font-medium text-slate-700">Commercial Sub-Pore Models</span> <span className="font-semibold text-slate-800">Sub-Pore Neural Precision</span>
</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"> <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" /> <Zap className="w-4 h-4 text-amber-500 shrink-0" />
<span className="font-medium text-slate-700">Zero Watermark Free Trials</span> <span className="font-semibold text-slate-800">Zero Watermark Previews</span>
</span> </span>
</div> </div>
</div> </div>
@@ -121,15 +101,6 @@ export function HeroSection({
locale={locale} locale={locale}
/> />
</TiltCard> </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>
</div> </div>
</section> </section>
@@ -94,13 +94,13 @@ export function MajorToolBannersSection() {
<div className="text-center max-w-3xl mx-auto mb-16 sm:mb-24 space-y-4"> <div className="text-center max-w-3xl mx-auto mb-16 sm:mb-24 space-y-4">
<div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700 shadow-sm"> <div className="inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-blue-50 border border-blue-200 text-xs font-mono font-semibold text-blue-700 shadow-sm">
<Sparkles className="w-3.5 h-3.5 text-blue-600" /> <Sparkles className="w-3.5 h-3.5 text-blue-600" />
<span>FLAGSHIP NEURAL CAPABILITIES</span> <span>COMMERCIAL VISION ARCHITECTURES</span>
</div> </div>
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight"> <h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
Flagship <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600">Vision Banners</span> Flagship <span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-purple-600">Neural Models in Action</span>
</h2> </h2>
<p className="text-base sm:text-lg text-slate-600 font-normal"> <p className="text-base sm:text-lg text-slate-600 font-normal">
Experience our most powerful commercial AI models in action with continuous auto-scanning comparisons. Real-time sub-millimeter inference demonstrated with live interactive scanning comparisons.
</p> </p>
</div> </div>