File size: 3,185 Bytes
c6c8587
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
"use client";

import { motion } from "framer-motion";
import { Eye, Lock, Zap } from "lucide-react";

export default function Hero() {
  return (
    <section className="relative overflow-hidden bg-gradient-to-b from-gray-900 to-gray-950 py-20">
      <div className="absolute inset-0 bg-grid-white/[0.02] bg-[size:50px_50px]" />
      
      <div className="container mx-auto px-4 relative z-10">
        <motion.div
          initial={{ opacity: 0, y: 20 }}
          animate={{ opacity: 1, y: 0 }}
          transition={{ duration: 0.5 }}
          className="text-center max-w-4xl mx-auto"
        >
          <h1 className="text-5xl md:text-6xl font-bold mb-6 bg-gradient-to-r from-blue-400 via-purple-400 to-pink-400 bg-clip-text text-transparent">
            From Black Box to Glass Box
          </h1>
          
          <p className="text-xl text-gray-300 mb-8">
            Visualise LLM code generation in real-time. See attention patterns, 
            activation flows, and expert routing to understand how AI writes code.
          </p>
          
          <div className="flex justify-center gap-4 mb-12">
            <button className="px-8 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors font-medium">
              Try Live Demo
            </button>
            <button className="px-8 py-3 bg-gray-800 text-white rounded-lg hover:bg-gray-700 transition-colors font-medium">
              Read Paper
            </button>
          </div>
          
          <div className="grid grid-cols-1 md:grid-cols-3 gap-6 mt-16">
            <motion.div
              whileHover={{ scale: 1.05 }}
              className="bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700"
            >
              <Eye className="w-10 h-10 text-blue-500 mb-4 mx-auto" />
              <h3 className="text-lg font-semibold mb-2">See Inside</h3>
              <p className="text-gray-400 text-sm">
                Visualise attention maps and activation patterns as models generate code
              </p>
            </motion.div>
            
            <motion.div
              whileHover={{ scale: 1.05 }}
              className="bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700"
            >
              <Lock className="w-10 h-10 text-purple-500 mb-4 mx-auto" />
              <h3 className="text-lg font-semibold mb-2">Build Trust</h3>
              <p className="text-gray-400 text-sm">
                Detect hallucinations and API misuses before deploying AI-generated code
              </p>
            </motion.div>
            
            <motion.div
              whileHover={{ scale: 1.05 }}
              className="bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700"
            >
              <Zap className="w-10 h-10 text-yellow-500 mb-4 mx-auto" />
              <h3 className="text-lg font-semibold mb-2">Real-time Analysis</h3>
              <p className="text-gray-400 text-sm">
                Stream traces live from your IDE or CI/CD pipeline
              </p>
            </motion.div>
          </div>
        </motion.div>
      </div>
    </section>
  );
}