gab-social/app/javascript/gabsocial/assets/like_icon.js
2020-04-23 02:13:29 -04:00

24 lines
2.8 KiB
JavaScript

const LikeIcon = ({
className = '',
size = '26px',
title = 'Like',
}) => (
<svg
className={className}
version='1.1'
xmlns='http://www.w3.org/2000/svg'
x='0px'
y='0px'
width={size}
height={size}
viewBox='0 0 48 48'
xmlSpace='preserve'
aria-label={title}
>
<g>
<path d='M 44.75 26.83 C 45.69 25.41 46.16 23.84 46.16 22.13 C 46.16 20.15 45.43 18.43 43.97 16.96 C 42.51 15.5 40.78 14.77 38.78 14.77 L 33.7 14.77 C 34.62 12.87 35 11 35 9.23 C 35 6.98 34.75 5.2 34 3.87 C 33.4 2.54 32.42 1.56 31.13 0.94 C 29.84 0.31 28.39 0 26.77 0 C 25.79 0 24.93 0.36 24.18 1 C 23.35 1.88 22.75 2.91 22.39 4.18 C 22 5.45 21.73 6.67 21.51 7.83 C 21.29 9 20.95 9.82 20.48 10.3 C 19.54 11.32 18.52 12.55 17.4 13.99 C 15.46 16.51 14.14 18 13.45 18.46 L 5.54 18.46 C 4.52 18.46 3.65 18.83 2.93 19.55 C 2.21 20.27 1.85 21.14 1.85 22.16 L 1.85 40.63 C 1.85 41.64 2.21 42.51 2.93 43.23 C 3.65 43.96 4.52 44.32 5.54 44.32 L 13.85 44.32 C 14.27 44.32 15.6 44.7 17.83 45.47 C 20.2 46.3 22.28 46.93 24 47.36 C 25.88 47.79 27.7 48 29.54 48 L 33.27 48 C 35.98 48 38.16 47.23 39.82 45.69 C 41.47 44.14 42.29 42 42.27 39.36 C 43.42 37.87 44 36.16 44 34.22 C 44 33.8 43.97 33.38 43.91 32.98 C 44.64 31.69 45 30.3 45 28.82 C 45 28.13 44.92 27.47 44.75 26.83 Z M 8.68 40 C 8.32 40.44 7.89 40.63 7.39 40.63 C 6.89 40.63 6.45 40.44 6 40 C 5.72 39.71 5.54 39.28 5.54 38.78 C 5.54 38.28 5.72 37.84 6 37.48 C 6.45 37.11 6.89 36.93 7.39 36.93 C 7.89 36.93 8.32 37.11 8.68 37.48 C 9 37.84 9.23 38.28 9.23 38.78 C 9.23 39.28 9 39.71 8.68 40 Z M 41.85 24.5 C 41.44 25.38 40.92 25.83 40.31 25.85 C 40.59 26.18 40.84 26.64 41 27.22 C 41.22 27.81 41.32 28.34 41.32 28.82 C 41.32 30.15 40.81 31.3 39.79 32.26 C 40.13 32.87 40.31 33.54 40.31 34.25 C 40.31 34.96 40.14 35.67 39.8 36.37 C 39.46 37 39 37.57 38.43 37.88 C 38.53 38.46 38.57 39 38.57 39.5 C 38.57 42.71 36.73 44.32 33 44.32 L 29.55 44.32 C 27 44.32 23.74 43.61 19.68 42.21 C 19.58 42.17 19.3 42 18.84 41.91 C 18.38 41.74 18 41.63 17.82 41.55 C 17.59 41.47 17.26 41.36 16.81 41.21 C 16.36 41 15.99 40.96 15.71 40.9 C 15.43 40.83 15.11 40.77 14.76 40.71 C 14.4 40.65 14.1 40.63 13.85 40.63 L 12.93 40.63 L 12.93 22.16 L 13.85 22.16 C 14.16 22.16 14.5 22 14.88 21.9 C 15.25 21.73 15.63 21.47 16 21.12 C 16.42 20.77 16.79 20.43 17.14 20.1 C 17.48 19.76 17.87 19.34 18.29 18.83 C 18.71 18.32 19 17.91 19.29 17.6 C 19.53 17.29 19.83 16.9 20.2 16.42 C 20.56 15.94 20.79 15.65 20.86 15.55 C 21.92 14.25 22.66 13.37 23 12.93 C 23.87 12.1 24.44 11 24.8 9.77 C 25.16 8.49 25.45 7.28 25.68 6.15 C 25.91 5 26.27 4.2 26.78 3.7 C 28.62 3.7 29.85 4.14 30.47 5 C 31 5.95 31.39 7.35 31.39 9.23 C 31.39 10.37 30.93 11.91 30 13.86 C 29 15.82 28.62 17.35 28.62 18.46 L 38.78 18.46 C 39.74 18.46 40.59 18.84 41.34 19.58 C 42 20.32 42.47 21.18 42.47 22.16 C 42.47 22.83 42.27 23.61 41.85 24.5 Z M 41.85 24.5' />
</g>
</svg>
)
export default LikeIcon