fix(ui): remove redundant badges, redesign 3D animation into floating neural crystal prism, and eliminate text overlap for maximum readability
This commit is contained in:
@@ -45,11 +45,6 @@ export function HeroSection({
|
||||
if (variant === 'tryit' && tool) {
|
||||
return (
|
||||
<section className="relative overflow-hidden pt-12 pb-20 sm:pt-20 sm:pb-28 lg:pt-24 lg:pb-32 bg-[#FAF8F5]">
|
||||
{/* Interactive 3D Three.js Neural Prism Canvas Layer */}
|
||||
<div className="absolute top-4 sm:top-8 left-1/2 -translate-x-1/2 w-full max-w-[620px] h-[340px] sm:h-[400px] pointer-events-none z-0 opacity-65 sm:opacity-80">
|
||||
<Hero3DCanvas />
|
||||
</div>
|
||||
|
||||
{/* Ambient Radial Lighting Glow */}
|
||||
<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" />
|
||||
|
||||
@@ -76,6 +71,11 @@ export function HeroSection({
|
||||
|
||||
{/* Main Hero Header */}
|
||||
<div className="text-center max-w-3xl mx-auto space-y-6 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 />
|
||||
</div>
|
||||
|
||||
{/* Live Core Status Pill */}
|
||||
{resolvedBadge && (
|
||||
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-blue-50 border border-blue-200/80 text-xs font-mono font-semibold text-blue-700 shadow-sm backdrop-blur-sm">
|
||||
@@ -144,15 +144,14 @@ export function HeroSection({
|
||||
|
||||
// Centered Hero for Tools/Apps/Pricing pages
|
||||
return (
|
||||
<section className="relative overflow-hidden pt-20 pb-24 sm:pt-28 sm:pb-32 text-center bg-[#FAF8F5] border-b border-slate-900/[0.07]">
|
||||
{/* Ambient 3D Canvas in background */}
|
||||
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-[500px] h-[300px] pointer-events-none -z-0 opacity-40">
|
||||
<Hero3DCanvas />
|
||||
</div>
|
||||
|
||||
<section className="relative overflow-hidden pt-16 pb-20 sm:pt-24 sm:pb-28 text-center bg-[#FAF8F5] border-b border-slate-900/[0.07]">
|
||||
<div className="absolute top-0 left-1/2 -translate-x-1/2 w-full max-w-7xl h-96 bg-gradient-to-b from-blue-500/[0.04] to-transparent blur-3xl pointer-events-none -z-10" />
|
||||
|
||||
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 space-y-6 relative z-10">
|
||||
{/* Subtle Decorative 3D Crystal Accent */}
|
||||
<div className="w-20 h-20 mx-auto -mb-2 pointer-events-none z-10 opacity-85">
|
||||
<Hero3DCanvas />
|
||||
</div>
|
||||
{resolvedBadge && (
|
||||
<div className="inline-flex items-center gap-2 px-4 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" />
|
||||
|
||||
Reference in New Issue
Block a user