File size: 1,682 Bytes
e9c0734
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import React from 'react';

interface IconProps {
  className?: string;
}

const EmbeddingIcon: React.FC<IconProps> = ({ className = '' }) => {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" className={`w-full h-auto max-h-28 ${className}`}>
      <rect x="0" y="0" width="200" height="100" fill="#5eead4" rx="10" ry="10" />
      
      {/* Text representation */}
      <rect x="10" y="10" width="80" height="80" fill="#f0fdfa" stroke="#fff" strokeWidth="1" rx="5" ry="5" />
      <text x="20" y="40" fill="#f472b6" fontSize="14" fontWeight="bold">Hello</text>
      <text x="20" y="70" fill="#60a5fa" fontSize="14" fontWeight="bold">World</text>
      
      {/* Arrow */}
      <line x1="95" y1="50" x2="105" y2="50" stroke="#fff" strokeWidth="2" />
      <polygon points="105,46 113,50 105,54" fill="#fff" />
      
      {/* 3D space representation */}
      <rect x="110" y="10" width="80" height="80" fill="#f0fdfa" stroke="#fff" strokeWidth="1" rx="5" ry="5" />
      
      {/* 3D axes */}
      <line x1="115" y1="85" x2="185" y2="85" stroke="#0f766e" strokeWidth="1" opacity="0.5" />
      <line x1="115" y1="85" x2="115" y2="15" stroke="#0f766e" strokeWidth="1" opacity="0.5" />
      <line x1="115" y1="85" x2="145" y2="65" stroke="#0f766e" strokeWidth="1" opacity="0.5" />
      
      {/* 3D points */}
      <circle cx="150" cy="40" r="4" fill="#f472b6" />
      <text x="157" y="44" fill="#f472b6" fontSize="10" fontWeight="bold">Hello</text>
      <circle cx="155" cy="70" r="4" fill="#60a5fa" />
      <text x="120" y="74" fill="#60a5fa" fontSize="10" fontWeight="bold">World</text>
    </svg>
  );
};

export default EmbeddingIcon;