diff options
| author | Haishan <[email protected]> | 2019-03-31 00:08:46 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-03-31 00:21:10 +0800 |
| commit | 2a9de5ea106d3fd1f966dfe2c8cf8a34fa4193d1 (patch) | |
| tree | 59a66170f5800c7acb8fc84da419821d94a6a124 /src/components/SvgYacd.js | |
| parent | e9518ba36a5dc7f90f41a5548b9b2c67e8e23d9c (diff) | |
icon: using svg component for the logo
Diffstat (limited to 'src/components/SvgYacd.js')
| -rw-r--r-- | src/components/SvgYacd.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/components/SvgYacd.js b/src/components/SvgYacd.js new file mode 100644 index 0000000..dfeada1 --- /dev/null +++ b/src/components/SvgYacd.js @@ -0,0 +1,38 @@ +import React from 'react'; +import PropTypes from 'prop-types'; + +function SvgYacd({ width = 320, height = 320 }) { + // fill="#2A477A" + + return ( + <svg + width={width} + height={height} + viewBox="0 0 320 320" + xmlns="http://www.w3.org/2000/svg" + > + <g fill="none" fillRule="evenodd"> + {/* face */} + <path + d="M71.689 53.055c9.23-1.487 25.684 27.263 41.411 56.663 18.572-8.017 71.708-7.717 93.775 0 4.714-15.612 31.96-57.405 41.626-56.663 3.992.088 13.07 31.705 23.309 94.96 2.743 16.949 7.537 47.492 14.38 91.63-42.339 17.834-84.37 26.751-126.095 26.751-41.724 0-83.756-8.917-126.095-26.751C52.973 116.244 65.536 54.047 71.689 53.055z" + stroke="#EEE" + strokeWidth="5" + fill="currentColor" + /> + <circle fill="#EEE" cx="216.5" cy="181.5" r="14.5" /> + <circle fill="#EEE" cx="104.553" cy="181.553" r="14.553" /> + {/* mouth */} + <g stroke="#EEE" strokeLinecap="round" strokeWidth="4"> + <path d="M175.568 218.694c-2.494 1.582-5.534 2.207-8.563 1.508-3.029-.7-5.487-2.594-7.035-5.11M143.981 218.694c2.494 1.582 5.534 2.207 8.563 1.508 3.03-.7 5.488-2.594 7.036-5.11" /> + </g> + </g> + </svg> + ); +} + +SvgYacd.propTypes = { + width: PropTypes.number, + height: PropTypes.number +}; + +export default SvgYacd; |
