|
| 1 | +import * as Surplus from 'surplus'; |
| 2 | + |
| 3 | +import css from 'minimap/js/util/css.mjs'; |
| 4 | + |
| 5 | +import * as C from './Logo.css'; |
| 6 | + |
| 7 | +export default ({ className }) => ( |
| 8 | + <svg |
| 9 | + width="100%" |
| 10 | + height="100%" |
| 11 | + viewBox="0 0 161 30" |
| 12 | + version="1.1" |
| 13 | + xmlns="http://www.w3.org/2000/svg" |
| 14 | + className={css(C.root, className)} |
| 15 | + > |
| 16 | + <defs> |
| 17 | + <rect |
| 18 | + x="0" |
| 19 | + y="0" |
| 20 | + width="7" |
| 21 | + height="30" |
| 22 | + id="mmlogo-bar" |
| 23 | + shapeRendering="crispEdges" |
| 24 | + /> |
| 25 | + <g id="mmlogo-m"> |
| 26 | + <use href="#mmlogo-bar" /> |
| 27 | + <use href="#mmlogo-bar" x="21" /> |
| 28 | + <path d="M3,0H9L14,15L19,0H25L16,27H12Z" /> |
| 29 | + </g> |
| 30 | + <g id="mmlogo-n"> |
| 31 | + <use href="#mmlogo-bar" /> |
| 32 | + <use href="#mmlogo-bar" x="14" /> |
| 33 | + <path d="M3,0H9L14,15H17V30H14Z" /> |
| 34 | + </g> |
| 35 | + <path |
| 36 | + d="M11.003,0.932L10.895,0.082L11.389,0L11.558,1.328L11.558,1.328C12.971,5.073 19.165,24.703 21,27.594L19.988,27.595C19.871,28.344 19.585,29.296 18.978,29.721C18.166,30.291 1.926,29.893 0,29.371C0.189,28.608 0.375,27.848 0.468,27.062C0.468,27.062 11.026,26.734 11.917,26.435C9.698,25.165 3.291,24.629 1.528,25.804C-0.494,20.019 6.879,1.101 11.003,0.932ZM20.784,27.267C20.795,26.451 13.447,25.641 12.712,26.439C12.996,25.266 11.414,2.256 11.237,1.921C10.22,11.512 9.16,24.167 12.337,26.351C13.057,26.458 13.65,26.922 14.367,27.059C15.537,27.282 16.736,27.279 17.929,27.258L17.929,27.258L20.784,27.267Z" |
| 37 | + id="mmlogo-ship" |
| 38 | + /> |
| 39 | + <g id="mmlogo-p"> |
| 40 | + <use href="#mmlogo-bar" /> |
| 41 | + <path d="M3,0H9C25,0,25,20,9,20H3ZM3,14H9C15.5,14,15.5,6,9,6H3Z" /> |
| 42 | + </g> |
| 43 | + </defs> |
| 44 | + <use href="#mmlogo-m" x="0" /> |
| 45 | + <use href="#mmlogo-bar" x="33" /> |
| 46 | + <use href="#mmlogo-n" x="45" /> |
| 47 | + <use href="#mmlogo-bar" x="71" /> |
| 48 | + <use href="#mmlogo-m" x="83" /> |
| 49 | + <use href="#mmlogo-ship" x="115.5" /> |
| 50 | + <use href="#mmlogo-p" x="140" /> |
| 51 | + </svg> |
| 52 | +); |
| 53 | + |
| 54 | +export const LogoIconSquare = () => ( |
| 55 | + <svg |
| 56 | + width="100%" |
| 57 | + height="100%" |
| 58 | + viewBox="0 0 40 40" |
| 59 | + version="1.1" |
| 60 | + xmlns="http://www.w3.org/2000/svg" |
| 61 | + className={C.root} |
| 62 | + > |
| 63 | + <defs> |
| 64 | + <path |
| 65 | + d="M11.003,0.932L10.895,0.082L11.389,0L11.558,1.328L11.558,1.328C12.971,5.073 19.165,24.703 21,27.594L19.988,27.595C19.871,28.344 19.585,29.296 18.978,29.721C18.166,30.291 1.926,29.893 0,29.371C0.189,28.608 0.375,27.848 0.468,27.062C0.468,27.062 11.026,26.734 11.917,26.435C9.698,25.165 3.291,24.629 1.528,25.804C-0.494,20.019 6.879,1.101 11.003,0.932ZM20.784,27.267C20.795,26.451 13.447,25.641 12.712,26.439C12.996,25.266 11.414,2.256 11.237,1.921C10.22,11.512 9.16,24.167 12.337,26.351C13.057,26.458 13.65,26.922 14.367,27.059C15.537,27.282 16.736,27.279 17.929,27.258L17.929,27.258L20.784,27.267Z" |
| 66 | + style={{ fill: 'black' }} |
| 67 | + id="mmicon-ship" |
| 68 | + /> |
| 69 | + <mask id="mmicon-ship-mask"> |
| 70 | + <rect |
| 71 | + x="0" |
| 72 | + y="0" |
| 73 | + width="40" |
| 74 | + height="40" |
| 75 | + style={{ fill: 'white' }} |
| 76 | + /> |
| 77 | + <use href="#mmicon-ship" x="9.5" y="5" /> |
| 78 | + </mask> |
| 79 | + </defs> |
| 80 | + <rect |
| 81 | + x="0" |
| 82 | + y="0" |
| 83 | + width="40" |
| 84 | + height="40" |
| 85 | + mask="url(#mmicon-ship-mask)" |
| 86 | + /> |
| 87 | + </svg> |
| 88 | +); |
| 89 | + |
| 90 | +export const LogoIcon = () => ( |
| 91 | + <svg |
| 92 | + width="100%" |
| 93 | + height="100%" |
| 94 | + viewBox="0 0 40 40" |
| 95 | + version="1.1" |
| 96 | + xmlns="http://www.w3.org/2000/svg" |
| 97 | + className={C.root} |
| 98 | + > |
| 99 | + <defs> |
| 100 | + <path |
| 101 | + d="M11.003,0.932L10.895,0.082L11.389,0L11.558,1.328L11.558,1.328C12.971,5.073 19.165,24.703 21,27.594L19.988,27.595C19.871,28.344 19.585,29.296 18.978,29.721C18.166,30.291 1.926,29.893 0,29.371C0.189,28.608 0.375,27.848 0.468,27.062C0.468,27.062 11.026,26.734 11.917,26.435C9.698,25.165 3.291,24.629 1.528,25.804C-0.494,20.019 6.879,1.101 11.003,0.932ZM20.784,27.267C20.795,26.451 13.447,25.641 12.712,26.439C12.996,25.266 11.414,2.256 11.237,1.921C10.22,11.512 9.16,24.167 12.337,26.351C13.057,26.458 13.65,26.922 14.367,27.059C15.537,27.282 16.736,27.279 17.929,27.258L17.929,27.258L20.784,27.267Z" |
| 102 | + id="mmicon-ship" |
| 103 | + /> |
| 104 | + </defs> |
| 105 | + <use href="#mmicon-ship" x="9.5" y="5" /> |
| 106 | + </svg> |
| 107 | +); |
0 commit comments