mock平台

index.js 3.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. import React from 'react';
  2. import PropTypes from 'prop-types';
  3. const LogoSVG = props => {
  4. let length = props.length;
  5. return (
  6. <svg className="svg" width={length} height={length} viewBox="0 0 64 64" version="1.1">
  7. <title>Icon</title>
  8. <desc>Created with Sketch.</desc>
  9. <defs>
  10. <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
  11. <stop stopColor="#FFFFFF" offset="0%" />
  12. <stop stopColor="#F2F2F2" offset="100%" />
  13. </linearGradient>
  14. <circle id="path-2" cx="31.9988602" cy="31.9988602" r="2.92886048" />
  15. <filter
  16. x="-85.4%"
  17. y="-68.3%"
  18. width="270.7%"
  19. height="270.7%"
  20. filterUnits="objectBoundingBox"
  21. id="filter-3"
  22. >
  23. <feOffset dx="0" dy="1" in="SourceAlpha" result="shadowOffsetOuter1" />
  24. <feGaussianBlur stdDeviation="1.5" in="shadowOffsetOuter1" result="shadowBlurOuter1" />
  25. <feColorMatrix
  26. values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.159703351 0"
  27. type="matrix"
  28. in="shadowBlurOuter1"
  29. />
  30. </filter>
  31. </defs>
  32. <g id="首页" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
  33. <g id="大屏幕">
  34. <g id="Icon">
  35. <circle id="Oval-1" fill="url(#linearGradient-1)" cx="32" cy="32" r="32" />
  36. <path
  37. d="M36.7078009,31.8054514 L36.7078009,51.7110548 C36.7078009,54.2844537 34.6258634,56.3695395 32.0579205,56.3695395 C29.4899777,56.3695395 27.4099998,54.0704461 27.4099998,51.7941246 L27.4099998,31.8061972 C27.4099998,29.528395 29.4909575,27.218453 32.0589004,27.230043 C34.6268432,27.241633 36.7078009,29.528395 36.7078009,31.8054514 Z"
  38. id="blue"
  39. fill="#2359F1"
  40. fillRule="nonzero"
  41. />
  42. <path
  43. d="M45.2586091,17.1026914 C45.2586091,17.1026914 45.5657231,34.0524383 45.2345291,37.01141 C44.9033351,39.9703817 43.1767091,41.6667796 40.6088126,41.6667796 C38.040916,41.6667796 35.9609757,39.3676862 35.9609757,37.0913646 L35.9609757,17.1034372 C35.9609757,14.825635 38.0418959,12.515693 40.6097924,12.527283 C43.177689,12.538873 45.2586091,14.825635 45.2586091,17.1026914 Z"
  44. id="green"
  45. fill="#57CF27"
  46. fillRule="nonzero"
  47. transform="translate(40.674608, 27.097010) rotate(60.000000) translate(-40.674608, -27.097010) "
  48. />
  49. <path
  50. d="M28.0410158,17.0465598 L28.0410158,36.9521632 C28.0410158,39.525562 25.9591158,41.6106479 23.3912193,41.6106479 C20.8233227,41.6106479 18.7433824,39.3115545 18.7433824,37.035233 L18.7433824,17.0473055 C18.7433824,14.7695034 20.8243026,12.4595614 23.3921991,12.4711513 C25.9600956,12.4827413 28.0410158,14.7695034 28.0410158,17.0465598 Z"
  51. id="red"
  52. fill="#FF561B"
  53. fillRule="nonzero"
  54. transform="translate(23.392199, 27.040878) rotate(-60.000000) translate(-23.392199, -27.040878) "
  55. />
  56. <g id="inner-round">
  57. <use fill="black" fillOpacity="1" filter="url(#filter-3)" xlinkHref="#path-2" />
  58. <use fill="#F7F7F7" fillRule="evenodd" xlinkHref="#path-2" />
  59. </g>
  60. </g>
  61. </g>
  62. </g>
  63. </svg>
  64. );
  65. };
  66. LogoSVG.propTypes = {
  67. length: PropTypes.any
  68. };
  69. export default LogoSVG;