Spaces:
Running
Running
| 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> | |
| ); | |
| }; | |