import { useAuthStore } from '../store/authStore'; import { Box, Layers, Zap, Globe, Sparkles, Wand2, Image as ImageIcon, BoxSelect, ArrowRight } from 'lucide-react'; import { useEffect, useState } from 'react'; export default function Home() { const { openAuthModal, user } = useAuthStore(); const [scrolled, setScrolled] = useState(false); useEffect(() => { const handleScroll = () => { setScrolled(window.scrollY > 50); }; window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); }, []); return (
{/* Navbar */} {/* Hero Section */}
{/* Background glow */}
The Future of E-Commerce

Interactive 3D
Made Effortless.

Turn flat images into stunning 3D models, edit materials in real-time, and embed a photorealistic product configurator directly into your store.

{user ? ( ) : ( )}
{/* Hero Image Mockup */}
3D Interface Mockup
{/* Feature 1: AI Generation */}

AI Image-to-3D
Powered Generation

Don't have 3D assets? No problem. Upload a simple 2D sketch or product photo, and let our advanced AI reconstruction engine build a fully textured 3D mesh in under a minute.

    {['Meshy & Tripo3D integrations', 'High-poly mesh reconstruction', 'Automatic diffuse mapping'].map((feature, i) => (
  • {feature}
  • ))}
AI Generation
{/* Feature 2: UV Editor */}

Real-time UV &
Material Editor

Achieve photorealistic results instantly. Our web-based PBR (Physically Based Rendering) editor lets you adjust roughness, metalness, and maps on the fly without heavy desktop software.

Texture Maps

Upload custom normal, roughness, and metalness maps.

Live Preview

See material changes instantly under HDRI lighting.

UV Editor
{/* Feature 3: E-Commerce Showcase */}

Embed Seamlessly
Into Your Store

Boost your conversion rates by giving customers the power to configure products in full 3D before buying. Export a simple iframe or React component and drop it directly into Shopify, WooCommerce, or any custom site.

Product Showcase
{/* CTA Section */}

Ready to Transform Your E-Commerce?

Join hundreds of forward-thinking brands using Titan 3D today.

{/* Footer */}
); }