UNPKG

node-red-contrib-chatbot

Version:

REDBot a Chat bot for a full featured chat bot for Telegram, Facebook Messenger and Slack. Almost no coding skills required

77 lines (70 loc) 12.6 kB
import React from 'react'; import PropTypes from 'prop-types'; const FullLogo = ({ width = 150, height = 50 }) => ( <svg width={`${width}px`} height={`${height}px`} viewBox="0 0 385 125" version="1.1" preserveAspectRatio="xMidYMin slice"> <title>Slicemc_logo</title> <defs> <linearGradient x1="52.7936161%" y1="100%" x2="52.7936161%" y2="39.4877247%" id="linearGradient-1"> <stop stopColor="#2B3232" offset="0%"></stop> <stop stopColor="#419BF9" offset="100%"></stop> </linearGradient> </defs> <g id="MissionControl" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd"> <rect id="Rectangle" fill="#F6A623" x="330" y="75" width="45" height="11"></rect> <path d="M3,19.999135 C3,10.0584873 11.0543778,2 21.0048666,2 L113.752946,2 C123.696759,2 131.757812,10.0671727 131.757812,19.999135 L131.757812,72.4837219 C131.757812,82.4243697 126.876,90.4828569 126.876,90.4828569 L126.876,90.4828569 C126.876,90.4828569 77.795665,125.265773 78.0578717,125.265773 C77.795665,125.265773 94.5339899,90.4828569 94.5339899,90.4828569 L21.002239,90.4828569 C11.0598769,90.4828569 3,82.4156842 3,72.4837219 L3,19.999135 Z" id="Rectangle-1" fill="url(#linearGradient-1)"></path> <rect id="Rectangle-1" fill="#FFFFFF" x="16" y="25" width="103.738522" height="37.8340492" rx="18.9170246"></rect> <ellipse id="Oval-1" fill="#419BF8" cx="41.7300985" cy="44.7300985" rx="13.7300985" ry="13.7300985"></ellipse> <ellipse id="Oval-1" fill="#4098F3" cx="94.7300985" cy="44.7300985" rx="13.7300985" ry="13.7300985"></ellipse> <text id="Mission" fontFamily="HelveticaNeue-Bold, Helvetica Neue" fontSize="48" fontWeight="bold" fill="#FFFFFF"> <tspan x="145.454325" y="43">Mission</tspan> </text> <text id="Control" fontFamily="HelveticaNeue-Bold, Helvetica Neue" fontSize="48" fontWeight="bold" fill="#FFFFFF"> <tspan x="148.390325" y="85">Control</tspan> </text> </g> </svg> ); FullLogo.propTypes = { width: PropTypes.number, height: PropTypes.number }; export default FullLogo; export const LogoSimple = ({ width = 70, height = 50 }) => ( <svg width={`${width}px`} height={`${height}px`} viewBox="0 0 380 125" version="1.1" preserveAspectRatio="xMidYMin slice"> <title>Slicemc_logo</title> <defs> <linearGradient x1="52.7936161%" y1="100%" x2="52.7936161%" y2="39.4877247%" id="linearGradient-1"> <stop stopColor="#2B3232" offset="0%"></stop> <stop stopColor="#419BF9" offset="100%"></stop> </linearGradient> </defs> <g id="MissionControl" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd"> <path d="M3,19.999135 C3,10.0584873 11.0543778,2 21.0048666,2 L113.752946,2 C123.696759,2 131.757812,10.0671727 131.757812,19.999135 L131.757812,72.4837219 C131.757812,82.4243697 126.876,90.4828569 126.876,90.4828569 L126.876,90.4828569 C126.876,90.4828569 77.795665,125.265773 78.0578717,125.265773 C77.795665,125.265773 94.5339899,90.4828569 94.5339899,90.4828569 L21.002239,90.4828569 C11.0598769,90.4828569 3,82.4156842 3,72.4837219 L3,19.999135 Z" id="Rectangle-1" fill="url(#linearGradient-1)"></path> <rect id="Rectangle-1" fill="#FFFFFF" x="16" y="25" width="103.738522" height="37.8340492" rx="18.9170246"></rect> <ellipse id="Oval-1" fill="#419BF8" cx="41.7300985" cy="44.7300985" rx="13.7300985" ry="13.7300985"></ellipse> <ellipse id="Oval-1" fill="#4098F3" cx="94.7300985" cy="44.7300985" rx="13.7300985" ry="13.7300985"></ellipse> </g> </svg> ); LogoSimple.propTypes = { width: PropTypes.number, height: PropTypes.number }; const LogoFull = ({ width = 372, height = 79, style }) => ( <svg width={`${width}px`} height={`${height}px`} style={style} viewBox="0 0 372 79" xmlns="http://www.w3.org/2000/svg"> <path id="Rettangolo-arrotondato-copia" fill="#a01818" fillRule="evenodd" stroke="none" d="M 8.131147 0 C 3.640477 0 -0 3.493317 -0 7.802467 L -0 71.197533 C -0 75.506676 3.640477 79 8.131147 79 L 363.868866 79 C 368.359528 79 372 75.506676 372 71.197533 L 372 7.802467 C 372 3.493317 368.359528 0 363.868866 0 Z" /> <g id="Gruppo-copia-2"> <path id="Fumetto-rettangolare" fill="#fffcfc" fillRule="evenodd" stroke="none" d="M 55 53 L 44.540543 65.594589 L 26.189194 65.594589 C 17.563004 65.594589 14 64.722763 14 57.83783 L 14 23.486481 C 14 16.601624 16.454895 13.513519 25.081085 13.513519 L 86.027023 13.513519 C 94.653137 13.513519 96 16.601624 96 23.486481 L 96 39.614655 L 96 57.83783 C 96 64.722763 94.653137 65.594589 86.027023 65.594589 L 65.729721 65.594589 L 55 53 Z" /> <path id="Ellisse" fill="#a01818" fillRule="evenodd" stroke="none" d="M 43.702705 33.459457 C 43.702705 28.56353 39.733768 24.594593 34.837837 24.594593 C 29.941908 24.594593 25.972973 28.56353 25.972973 33.459457 C 25.972973 38.355389 29.941908 42.324326 34.837837 42.324326 C 39.733768 42.324326 43.702705 38.355389 43.702705 33.459457 Z" /> <path id="Ellisse-copia" fill="#a01818" fillRule="evenodd" stroke="none" d="M 82.810814 33.459457 C 82.810814 28.56353 78.841873 24.594593 73.945946 24.594593 C 69.050018 24.594593 65.081078 28.56353 65.081078 33.459457 C 65.081078 38.355389 69.050018 42.324326 73.945946 42.324326 C 78.841873 42.324326 82.810814 38.355389 82.810814 33.459457 Z" /> </g> <path id="edBot" fill="#ffffff" fillRule="evenodd" stroke="none" d="M 357.21875 58.863281 L 357.21875 66.351563 L 352.472656 66.527344 C 347.738251 66.691406 344.503906 65.871109 342.769531 64.066406 C 341.644531 62.917969 341.082031 61.148453 341.082031 58.757813 L 341.082031 35.167969 L 335.738281 35.167969 L 335.738281 28.03125 L 341.082031 28.03125 L 341.082031 17.34375 L 350.996094 17.34375 L 350.996094 28.03125 L 357.21875 28.03125 L 357.21875 35.167969 L 350.996094 35.167969 L 350.996094 55.417969 C 350.996094 56.988297 351.195313 57.966797 351.59375 58.353516 C 351.992188 58.740234 353.210938 58.933594 355.25 58.933594 C 355.554688 58.933594 355.876953 58.927734 356.216797 58.916016 C 356.556641 58.904297 356.890625 58.886719 357.21875 58.863281 Z M 327.652344 32.53125 C 330.886749 36.585953 332.503906 41.378876 332.503906 46.910156 C 332.503906 52.535187 330.886749 57.345688 327.652344 61.341797 C 324.417938 65.337906 319.507843 67.335938 312.921875 67.335938 C 306.335907 67.335938 301.425812 65.337906 298.191406 61.341797 C 294.957001 57.345688 293.339844 52.535187 293.339844 46.910156 C 293.339844 41.378876 294.957001 36.585953 298.191406 32.53125 C 301.425812 28.476547 306.335907 26.449219 312.921875 26.449219 C 319.507843 26.449219 324.417938 28.476547 327.652344 32.53125 Z M 312.886719 34.921875 C 309.957031 34.921875 307.701172 35.958969 306.119141 38.033203 C 304.537109 40.107437 303.746094 43.066391 303.746094 46.910156 C 303.746094 50.753922 304.537109 53.718735 306.119141 55.804688 C 307.701172 57.89064 309.957031 58.933594 312.886719 58.933594 C 315.816406 58.933594 318.066406 57.89064 319.636719 55.804688 C 321.207031 53.718735 321.992188 50.753922 321.992188 46.910156 C 321.992188 43.066391 321.207031 40.107437 319.636719 38.033203 C 318.066406 35.958969 315.816406 34.921875 312.886719 34.921875 Z M 268.167969 66 L 244.683594 66 L 244.683594 14.179688 L 269.855469 14.179688 C 276.207062 14.273438 280.707031 16.113266 283.355469 19.699219 C 284.949219 21.902359 285.746094 24.539047 285.746094 27.609375 C 285.746094 30.773453 284.949219 33.316391 283.355469 35.238281 C 282.464844 36.316406 281.152344 37.300781 279.417969 38.191406 C 282.066406 39.152344 284.064453 40.675766 285.412109 42.761719 C 286.759766 44.847672 287.433594 47.378891 287.433594 50.355469 C 287.433594 53.425797 286.660156 56.179672 285.113281 58.617188 C 284.128906 60.23439 282.898438 61.59375 281.421875 62.695313 C 279.757813 63.960938 277.794922 64.828125 275.533203 65.296875 C 273.271484 65.765625 270.816406 66 268.167969 66 Z M 267.921875 43.183594 L 255.019531 43.183594 L 255.019531 57 L 267.746094 57 C 270.019531 57 271.789063 56.695313 273.054688 56.085938 C 275.351563 54.960938 276.5 52.804703 276.5 49.617188 C 276.5 46.92186 275.386719 45.070313 273.160156 44.0625 C 271.917969 43.5 270.171875 43.207031 267.921875 43.183594 Z M 273.300781 33.304688 C 274.707031 32.460938 275.410156 30.949234 275.410156 28.769531 C 275.410156 26.355453 274.472656 24.761719 272.597656 23.988281 C 270.980469 23.449219 268.917969 23.179688 266.410156 23.179688 L 255.019531 23.179688 L 255.019531 34.605469 L 267.746094 34.605469 C 270.019531 34.605469 271.871094 34.171875 273.300781 33.304688 Z M 234.59375 14.25 L 234.59375 66 L 224.855469 66 L 224.855469 60.691406 C 223.425781 62.964859 221.796875 64.617188 219.96875 65.648438 C 218.140625 66.679688 215.867188 67.195313 213.148438 67.195313 C 208.671844 67.195313 204.904327 65.384781 201.845703 61.763672 C 198.787079 58.142563 197.257813 53.496124 197.257813 47.824219 C 197.257813 41.285126 198.763672 36.14064 201.775391 32.390625 C 204.787109 28.64061 208.812469 26.765625 213.851563 26.765625 C 216.171875 26.765625 218.234375 27.275391 220.039063 28.294922 C 221.84375 29.314453 223.308594 30.726547 224.433594 32.53125 L 224.433594 14.25 Z M 207.59375 47.085938 C 207.59375 50.625015 208.296875 53.449203 209.703125 55.558594 C 211.085938 57.691422 213.195313 58.757813 216.03125 58.757813 C 218.867188 58.757813 221.023438 57.70314 222.5 55.59375 C 223.976563 53.48436 224.714844 50.753922 224.714844 47.402344 C 224.714844 42.714813 223.53125 39.363297 221.164063 37.347656 C 219.710938 36.128906 218.023438 35.519531 216.101563 35.519531 C 213.171875 35.519531 211.021484 36.626938 209.650391 38.841797 C 208.279297 41.056656 207.59375 43.804672 207.59375 47.085938 Z M 192.476563 54.75 C 192.21875 57.023453 191.035156 59.332016 188.925781 61.675781 C 185.644501 65.402359 181.050812 67.265625 175.144531 67.265625 C 170.269501 67.265625 165.968781 65.695328 162.242188 62.554688 C 158.515594 59.414047 156.652344 54.304718 156.652344 47.226563 C 156.652344 40.593719 158.333954 35.507828 161.697266 31.96875 C 165.060577 28.429672 169.425751 26.660156 174.792969 26.660156 C 177.980499 26.660156 180.851563 27.257813 183.40625 28.453125 C 185.960938 29.648438 188.070313 31.535141 189.734375 34.113281 C 191.234375 36.386734 192.207031 39.023422 192.652344 42.023438 C 192.910156 43.781265 193.015625 46.312485 192.96875 49.617188 L 166.742188 49.617188 C 166.882813 53.460953 168.089844 56.156235 170.363281 57.703125 C 171.746094 58.664063 173.410156 59.144531 175.355469 59.144531 C 177.417969 59.144531 179.09375 58.558594 180.382813 57.386719 C 181.085938 56.753906 181.707031 55.875 182.246094 54.75 Z M 182.5625 43.007813 C 182.398438 40.35936 181.595703 38.349609 180.154297 36.978516 C 178.712891 35.607422 176.925781 34.921875 174.792969 34.921875 C 172.472656 34.921875 170.673828 35.648438 169.396484 37.101563 C 168.119141 38.554688 167.316406 40.523422 166.988281 43.007813 Z" /> <path id="R" fill="#ffffff" fillRule="evenodd" stroke="none" d="M 130.210938 45.679688 L 141.390625 45.679688 L 141.390625 66 L 151.972656 66 L 151.972656 14.179688 L 126.554688 14.179688 C 122.921844 14.25 120.126953 14.695313 118.169922 15.515625 C 116.212891 16.335938 114.554688 17.542953 113.195313 19.136719 C 112.070313 20.449219 111.179688 21.902328 110.523438 23.496094 C 109.867188 25.089859 109.539063 26.906235 109.539063 28.945313 C 109.539063 31.406265 110.160156 33.826157 111.402344 36.205078 C 112.644531 38.584 114.695313 40.265625 117.554688 41.25 C 115.164063 42.210938 113.470703 43.576157 112.474609 45.345703 C 111.478516 47.11525 110.980469 49.816391 110.980469 53.449219 L 110.980469 56.929688 C 110.980469 59.29689 110.886719 60.902344 110.699219 61.746094 C 110.417969 63.082031 109.761719 64.066406 108.730469 64.699219 L 108.730469 66 L 120.648438 66 C 120.976563 64.851563 121.210938 63.925781 121.351563 63.222656 C 121.632813 61.769531 121.785156 60.28125 121.808594 58.757813 L 121.878906 53.941406 C 121.925781 50.636703 122.529297 48.433594 123.689453 47.332031 C 124.849609 46.230469 127.023407 45.679688 130.210938 45.679688 Z M 123.636719 36.257813 C 121.480469 35.273438 120.402344 33.32814 120.402344 30.421875 C 120.402344 27.281235 121.445313 25.171875 123.53125 24.09375 C 124.703125 23.484375 126.460938 23.179688 128.804688 23.179688 L 141.390625 23.179688 L 141.390625 37.101563 L 129.121094 37.101563 C 126.683594 37.101563 124.855469 36.820313 123.636719 36.257813 Z" /> </svg> ); LogoFull.propTypes = { width: PropTypes.number, height: PropTypes.number, style: PropTypes.object }; export { LogoFull };