Download code/web/src/components/octopus.tsx from MiniMaxAI/oss-ecosystem-data: direct link, hf CLI and curl.
- Browser
- Download file 2.44 kB
-
https://huggingface.co/datasets/MiniMaxAI/oss-ecosystem-data/resolve/refs%2Fpr%2F1/code/web/src/components/octopus.tsx
- Command line
-
hf download hf://datasets/MiniMaxAI/oss-ecosystem-data@refs/pr/1/code/web/src/components/octopus.tsx
-
curl -L -o octopus.tsx https://huggingface.co/datasets/MiniMaxAI/oss-ecosystem-data/resolve/refs%2Fpr%2F1/code/web/src/components/octopus.tsx
2.44 kB
| /** | |
| * The MiniMax Code octopus (the mark at the top left of code.minimax.cn), white on the dark | |
| * stage as it is there. It bobs and gently squashes like it is breathing; with reduced motion it | |
| * stands still. The glow behind it, in the modality's colour, is drawn by the galaxy. | |
| */ | |
| const PATH = | |
| "M26.1139 4.97856C27.0309 5.3238 27.9237 4.03738 26.646 3.1182C24.6317 1.66905 23.1936 2.46289 22.4987 3.03243C22.4723 3.05442 21.7246 2.46069 21.2277 2.15283C19.6422 1.16987 17.8984 0.470588 16.0578 0.178119C15.3585 0.0681688 14.6526 0.0131941 13.9467 0V0.00879121C13.0364 -0.00880087 12.1238 0.048375 11.2244 0.189112C9.3838 0.479381 7.63998 1.17867 6.0545 2.16383C5.55532 2.47389 4.80986 3.06542 4.78347 3.04343C4.08858 2.47169 2.64823 1.67784 0.636135 3.12919C-0.64149 4.04837 0.251308 5.337 1.1683 4.98956C1.79941 4.75206 2.60645 4.16712 3.20898 4.64431C1.53113 6.70258 0.526185 9.31941 0.526185 12.1693C0.526185 15.0192 1.46076 17.4491 3.03086 19.47L2.77797 19.6658C1.22987 20.8686 0.957189 23.083 2.16664 24.6201C3.3739 26.155 5.6103 26.4255 7.1562 25.2271L8.87582 23.8922C9.06274 23.7471 9.28264 23.7075 9.48495 23.7493C9.51134 23.7559 9.53773 23.7625 9.56412 23.7691C9.85439 23.8615 10.0853 24.1253 10.0853 24.475C10.0853 26.4189 11.6708 27.9934 13.6301 28H13.6477C15.607 27.9934 17.1947 26.4189 17.1925 24.475C17.1925 24.1319 17.4146 23.8725 17.6961 23.7757C17.7334 23.7669 17.7708 23.7559 17.8082 23.7471C18.0039 23.7119 18.2172 23.7537 18.3997 23.8945L20.1194 25.2292C21.6653 26.4299 23.9017 26.1572 25.1089 24.6245C26.3184 23.0874 26.0457 20.873 24.4976 19.6701L24.2491 19.4744C25.0539 18.4365 25.6917 17.2666 26.1227 16C26.1315 15.9736 26.1403 15.9472 26.1491 15.9208C26.1886 15.8021 26.2282 15.6811 26.2634 15.5602C26.281 15.5008 26.2964 15.4414 26.314 15.3821C26.3382 15.2919 26.3646 15.2018 26.3887 15.1116C26.4151 15.0104 26.4371 14.9093 26.4613 14.8081C26.4723 14.7576 26.4855 14.707 26.4965 14.6542C26.668 13.8494 26.7604 13.0159 26.7604 12.1605C26.7604 9.31061 25.7554 6.69159 24.0776 4.63551C24.6801 4.15613 25.4872 4.74107 26.1183 4.98076L26.1139 4.97856Z" | |
| export function Octopus({ size }: { size: number }) { | |
| return ( | |
| <svg width={size} height={size * (28 / 27.2822)} viewBox="0 0 27.2822 28" aria-hidden className="overflow-visible" | |
| style={{ animation: "octo-swim 3.6s ease-in-out infinite", transformOrigin: "50% 60%" }}> | |
| <path d={PATH} fill="#fff" fillOpacity={0.96} /> | |
| </svg> | |
| ) | |
| } | |