feat(3d): transform website into 3d cinematic graphics with horizontal scroll and holographic comparison in light luxury theme
This commit is contained in:
@@ -6,6 +6,7 @@ import { Sparkles, ArrowRight, Smartphone, Layers } from 'lucide-react';
|
||||
import { resolveLocalised, ToolItem, AppItem, VariantSpec } from '@/types';
|
||||
import { TryItWidget } from './TryItWidget';
|
||||
import { TiltCard } from '@/components/ui/TiltCard';
|
||||
import { Hero3DCanvas } from '@/components/3d/Hero3DCanvas';
|
||||
|
||||
interface HeroSectionProps {
|
||||
title?: any;
|
||||
@@ -42,23 +43,33 @@ 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">
|
||||
{/* 3D Ambient Kinetic Prism Floating Behind Header */}
|
||||
<div className="absolute top-12 left-1/2 -translate-x-1/2 w-[320px] h-[320px] pointer-events-none -z-10 opacity-70 hidden md:block">
|
||||
<Hero3DCanvas className="w-full h-full" />
|
||||
</div>
|
||||
|
||||
{/* Main Hero Header */}
|
||||
<div className="text-center max-w-4xl mx-auto space-y-7 mb-12 sm:mb-16 relative z-10">
|
||||
{/* 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">
|
||||
<span className="relative flex h-2 w-2">
|
||||
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-500 opacity-75"></span>
|
||||
<span className="relative inline-flex rounded-full h-2 w-2 bg-blue-600"></span>
|
||||
</span>
|
||||
<span>{resolvedBadge}</span>
|
||||
<div className="text-center max-w-4xl mx-auto space-y-6 mb-12 sm:mb-16 relative z-10">
|
||||
{/* Live Core Status & Enigma Editorial Metadata */}
|
||||
<div className="flex flex-wrap items-center justify-center gap-2.5">
|
||||
{resolvedBadge && (
|
||||
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-blue-50/90 border border-blue-200/80 text-xs font-mono font-semibold text-blue-700 shadow-sm backdrop-blur-sm">
|
||||
<span className="relative flex h-2 w-2">
|
||||
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-blue-500 opacity-75"></span>
|
||||
<span className="relative inline-flex rounded-full h-2 w-2 bg-blue-600"></span>
|
||||
</span>
|
||||
<span>{resolvedBadge}</span>
|
||||
</div>
|
||||
)}
|
||||
<div className="hidden sm:inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-amber-50/80 border border-amber-200/60 text-[11px] font-mono font-bold text-amber-800">
|
||||
<span>VOL. 26 // NEURAL STUDIO</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* 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">
|
||||
<span className="text-transparent bg-clip-text bg-gradient-to-r from-blue-700 via-indigo-600 to-amber-600">
|
||||
Next-Gen Neural AI
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user