File size: 1,496 Bytes
9cd6ddb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
export const RibbonLeft = ({ color = "#43444A" }: { color?: string }) => {
  return (
    <svg
      width={32}
      height={28}
      viewBox="0 0 26 32"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path d="M32 0H17.97l10.42 15.764L17 32h15V0z" fill={color} />
      <path
        d="M13.002 0h-8.82l2.28 3.427 2.206 3.427 1.9 2.894 4.03 6.016-4.03 6.016-1.14 1.827L6.463 28.1 4 32h8l11.418-16.236L13.002 0z"
        fill={color}
      />
      <path
        d="M4.866 9.748L0 15.764l4.866 6.016 4.866-6.016-4.866-6.016z"
        fill={color}
      />
    </svg>
  );
};
export const RibbonRight = ({ color = "#43444A" }: { color?: string }) => {
  return (
    <svg
      width={32}
      height={28}
      viewBox="0 0 26 32"
      fill="none"
      style={{
        transform: "scaleX(-1)",
      }}
      xmlns="http://www.w3.org/2000/svg"
    >
      <path d="M32 0H17.97l10.42 15.764L17 32h15V0z" fill={color} />
      <path
        d="M13.002 0h-8.82l2.28 3.427 2.206 3.427 1.9 2.894 4.03 6.016-4.03 6.016-1.14 1.827L6.463 28.1 4 32h8l11.418-16.236L13.002 0z"
        fill={color}
      />
      <path
        d="M4.866 9.748L0 15.764l4.866 6.016 4.866-6.016-4.866-6.016z"
        fill={color}
      />
    </svg>
  );
};

export const MiniRibbon = () => {
  return (
    <div className="flex items-start justify-center w-full flex-1">
      <RibbonLeft />
      <div className="w-full flex-1 bg-[#43444A] h-[28px]" />
      <RibbonRight />
    </div>
  );
};