File size: 2,101 Bytes
5752a28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import { Brain, Eye, Activity, FileCheck, Download, Zap } from 'lucide-react';
import { Card } from './ui/card';

export function FeaturesShowcase() {
  const features = [
    {
      icon: Brain,
      title: 'Vision Transformer (ViT)',
      description: 'Advanced computer vision model analyzes UI layouts and visual hierarchies',
      color: 'from-purple-500 to-purple-600'
    },
    {
      icon: Eye,
      title: 'Explainable AI (XAI)',
      description: 'Transparent reasoning for every detection with confidence scores',
      color: 'from-blue-500 to-blue-600'
    },
    {
      icon: Activity,
      title: 'Interactive Heatmaps',
      description: 'Visual overlay highlighting problematic areas with severity indicators',
      color: 'from-green-500 to-green-600'
    },
    {
      icon: FileCheck,
      title: 'CFPB Compliance',
      description: 'Automated checking against Consumer Financial Protection Bureau guidelines',
      color: 'from-red-500 to-red-600'
    },
    {
      icon: Zap,
      title: 'Real-time Analysis',
      description: 'Fast processing with multi-category dark pattern detection',
      color: 'from-yellow-500 to-yellow-600'
    },
    {
      icon: Download,
      title: 'Export Reports',
      description: 'Download detailed analysis reports in TXT or JSON format',
      color: 'from-indigo-500 to-indigo-600'
    }
  ];

  return (
    <div className="grid md:grid-cols-2 lg:grid-cols-3 gap-6">

      {features.map((feature, index) => {

        const Icon = feature.icon;

        return (

          <Card key={index} className="p-6 hover:shadow-lg transition-shadow">

            <div className={`w-12 h-12 rounded-lg bg-gradient-to-br ${feature.color} flex items-center justify-center mb-4`}>

              <Icon className="w-6 h-6 text-white" />

            </div>

            <h4 className="font-semibold mb-2 text-slate-900">{feature.title}</h4>

            <p className="text-sm text-slate-600">{feature.description}</p>

          </Card>

        );

      })}

    </div>
  );
}