import React from 'react';
import type { Size } from '../../types';

const polygonLogo = (width: Size = '120', height: Size = '160') => {
    return (
        <svg
            width={width}
            height={height}
            viewBox="0,0,120,160"
            fill="none"
            xmlns="http://www.w3.org/2000/svg"
        >
            <path
                d="M87.3956 62.2618C86.3447 61.7043 85.1717 61.4126 83.9803 61.4126C82.7889 61.4126 81.6158 61.7043 80.565 62.2618L65.1693 71.3015L54.4126 77.2366L39.0169 86.2829C37.9661 86.8405 36.793 87.1321 35.6016 87.1321C34.4102 87.1321 33.2372 86.8405 32.1863 86.2829L19.9505 79.2128C18.9439 78.6365 18.102 77.8148 17.5043 76.8253C16.9067 75.8358 16.5732 74.7113 16.5352 73.5581V59.4378C16.5131 58.272 16.8216 57.1236 17.4255 56.1236C18.0294 55.1237 18.9044 54.3126 19.9505 53.7831L32.1863 47C33.2372 46.4425 34.4102 46.1508 35.6016 46.1508C36.793 46.1508 37.9661 46.4425 39.0169 47L51.2527 53.7831C52.2593 54.3593 53.1012 55.1811 53.6989 56.1706C54.2965 57.1601 54.6301 58.2846 54.668 59.4378V68.4775L65.1693 62.2619V53.5026C65.1965 52.3424 64.896 51.1978 64.3019 50.1985C63.7078 49.1991 62.8439 48.3848 61.8078 47.8479L39.2993 34.8492C38.2484 34.2917 37.0754 34 35.884 34C34.6926 34 33.5195 34.2917 32.4687 34.8492L9.70463 47.8479C8.56833 48.2854 7.59961 49.0671 6.9359 50.0821C6.27218 51.0971 5.94718 52.2939 6.007 53.5027V79.7803C5.98992 80.9416 6.30083 82.0844 6.90447 83.0792C7.50812 84.0739 8.38035 84.8808 9.42227 85.4084L32.1863 98.4337C33.2372 98.9913 34.4102 99.283 35.6016 99.283C36.793 99.283 37.9661 98.9913 39.0169 98.4337L54.4126 89.6745L64.9408 83.4589L80.2826 74.7264C81.3335 74.1689 82.5065 73.8772 83.6979 73.8772C84.8893 73.8772 86.0623 74.1689 87.1132 74.7264L99.349 81.5095C100.356 82.0858 101.198 82.9075 101.795 83.897C102.393 84.8865 102.726 86.011 102.764 87.1642V101.011C102.786 102.177 102.478 103.325 101.874 104.325C101.27 105.325 100.395 106.136 99.349 106.666L87.1132 113.729C86.0624 114.287 84.8893 114.578 83.6979 114.578C82.5065 114.578 81.3335 114.287 80.2826 113.729L68.0468 106.946C67.0402 106.37 66.1983 105.548 65.6007 104.558C65.003 103.569 64.6695 102.444 64.6315 101.291V92.2181L54.4126 98.1466V107.186C54.3904 108.352 54.6989 109.5 55.3028 110.5C55.9068 111.5 56.7817 112.311 57.8278 112.841L80.5919 125.84C81.6427 126.397 82.8158 126.689 84.0072 126.689C85.1986 126.689 86.3716 126.397 87.4224 125.84L110.186 112.841C111.187 112.262 112.023 111.44 112.616 110.452C113.209 109.464 113.539 108.342 113.575 107.193V80.9086C113.597 79.7428 113.289 78.5943 112.685 77.5944C112.081 76.5944 111.206 75.7834 110.16 75.2538L87.3956 62.2618Z"
                fill="url(#paint0_linear_30_8716)"
                fillOpacity="0.7"
            />
            <path
                fillRule="evenodd"
                clipRule="evenodd"
                d="M31.8828 33.745C33.1144 33.0916 34.4886 32.75 35.884 32.75C37.2793 32.75 38.6535 33.0916 39.8851 33.745L39.9049 33.7555L62.4094 46.7518C63.6401 47.3958 64.6677 48.3675 65.3764 49.5597C66.0876 50.7561 66.449 52.1264 66.4193 53.5165V62.9746L53.418 70.6699V59.4594C53.384 58.5271 53.1128 57.618 52.6289 56.8168C52.143 56.0123 51.4584 55.3428 50.6389 54.872L38.4214 48.0991C37.5538 47.6408 36.5854 47.4008 35.6016 47.4008C34.6178 47.4008 33.6495 47.6408 32.7819 48.0991L20.536 54.8877L20.5151 54.8983C19.6773 55.3224 18.9778 55.9713 18.4955 56.7699C18.0133 57.5683 17.7673 58.4846 17.785 59.4141L17.7852 59.426V73.5364C17.8192 74.4687 18.0904 75.3778 18.5743 76.1791C19.0617 76.9859 19.7488 77.657 20.5715 78.128L20.5759 78.1305L32.7912 85.1888C33.6564 85.6439 34.6213 85.8821 35.6016 85.8821C36.5804 85.8821 37.5439 85.6446 38.4081 85.1908L53.7939 76.1503L64.5508 70.2151L79.9553 61.1703L79.9791 61.1576C81.2107 60.5042 82.5849 60.1626 83.9803 60.1626C85.3756 60.1626 86.7499 60.5042 87.9814 61.1576L87.9984 61.1667L110.753 74.1534C111.995 74.7886 113.035 75.7561 113.755 76.9481C114.478 78.146 114.849 79.522 114.825 80.9197V107.213L114.824 107.232C114.781 108.595 114.39 109.925 113.688 111.095C112.986 112.265 111.996 113.238 110.813 113.923L110.806 113.927L88.0254 126.935L88.0083 126.944C86.7767 127.597 85.4025 127.939 84.0072 127.939C82.6118 127.939 81.2376 127.597 80.006 126.944L79.9889 126.935L57.2341 113.941C55.9926 113.306 54.9528 112.339 54.2328 111.147C53.5094 109.949 53.1383 108.573 53.1626 107.175V97.4267L65.8815 90.0478V101.27C65.9155 102.202 66.1867 103.111 66.6706 103.912C67.1566 104.717 67.8413 105.386 68.6609 105.857C68.6632 105.858 68.6655 105.86 68.6679 105.861L80.8781 112.63C81.7457 113.088 82.7141 113.328 83.6979 113.328C84.6783 113.328 85.6432 113.09 86.5085 112.635L98.7538 105.566L98.7845 105.55C99.6223 105.126 100.322 104.477 100.804 103.679C101.286 102.88 101.532 101.964 101.515 101.034L101.514 101.023V87.186C101.48 86.2537 101.209 85.3445 100.725 84.5433C100.239 83.7387 99.5546 83.0691 98.735 82.5983C98.7326 82.5969 98.7303 82.5956 98.728 82.5943L86.5176 75.8255C85.65 75.3672 84.6817 75.1272 83.6979 75.1272C82.7164 75.1272 81.7502 75.3661 80.8841 75.8223L65.5678 84.5403L55.0394 90.756L39.619 99.5293L39.6028 99.5379C38.3712 100.191 36.997 100.533 35.6016 100.533C34.2063 100.533 32.832 100.191 31.6005 99.5379L31.5829 99.5286L8.82788 86.5085C7.59161 85.8756 6.55531 84.9133 5.83584 83.7276C5.11223 82.5352 4.73831 81.1649 4.757 79.7716V53.532C4.69146 52.07 5.08772 50.6245 5.88971 49.398C6.67944 48.1903 7.82297 47.2554 9.16307 46.7177L31.8657 33.7541L31.8828 33.745ZM33.0709 35.9448L10.2422 48.9804L10.1538 49.0144C9.2611 49.3581 8.50168 49.9716 7.98208 50.7662C7.46257 51.5607 7.20873 52.4964 7.25547 53.4409L7.257 53.4718V79.7895L7.25686 79.7987C7.24324 80.7246 7.49109 81.6364 7.97311 82.4307C8.45517 83.2251 9.15248 83.8707 9.98693 84.2932L10.0154 84.3076L32.789 97.3384C33.6548 97.7943 34.6205 98.033 35.6016 98.033C36.5832 98.033 37.5494 97.794 38.4156 97.3377L53.7857 88.593L64.3138 82.3775L79.6804 73.6309L79.6968 73.6222C80.9283 72.9688 82.3026 72.6272 83.6979 72.6272C85.0933 72.6272 86.4675 72.9688 87.699 73.6222L87.7092 73.6276L99.9626 80.4204L99.9701 80.4247C101.161 81.1062 102.157 82.0787 102.865 83.2508C103.573 84.423 103.969 85.7558 104.014 87.1231L104.014 87.1437V101C104.038 102.397 103.667 103.773 102.944 104.971C102.225 106.162 101.186 107.129 99.9456 107.764L87.7188 114.823L87.699 114.833C86.4675 115.487 85.0933 115.828 83.6979 115.828C82.3026 115.828 80.9283 115.487 79.6968 114.833L79.6866 114.828L67.4332 108.035L67.4257 108.031C66.2353 107.349 65.2386 106.377 64.5307 105.205C63.8227 104.032 63.4272 102.7 63.3822 101.332L63.3815 101.312V94.3884L55.6626 98.8665V107.198L55.6623 107.21C55.6447 108.139 55.8906 109.056 56.3728 109.854C56.8551 110.653 57.5546 111.302 58.3924 111.726L58.4204 111.74L81.1941 124.744C82.06 125.2 83.0259 125.439 84.0072 125.439C84.9885 125.439 85.9543 125.2 86.8203 124.744L109.56 111.759C109.562 111.758 109.563 111.758 109.564 111.757C110.38 111.284 111.061 110.613 111.544 109.809C112.024 109.009 112.292 108.102 112.325 107.172V80.8967L112.325 80.8848C112.343 79.9553 112.097 79.039 111.615 78.2406C111.132 77.4421 110.433 76.7931 109.595 76.369L109.567 76.3549L86.7934 63.3575C85.9275 62.9014 84.9616 62.6626 83.9803 62.6626C83.0014 62.6626 82.0379 62.9002 81.1736 63.354L65.7878 72.3878L55.0312 78.3229L39.6267 87.3744L39.6027 87.3871C38.3712 88.0406 36.997 88.3821 35.6016 88.3821C34.2063 88.3821 32.832 88.0406 31.6005 87.3871L31.5805 87.3766L19.3294 80.2976C19.3287 80.2972 19.3279 80.2968 19.3272 80.2964C18.1377 79.6149 17.1418 78.6429 16.4344 77.4715C15.7264 76.2993 15.3309 74.9665 15.2859 73.5992L15.2852 73.5786V59.4492C15.261 58.0514 15.632 56.6753 16.3555 55.4774C17.0768 54.2831 18.1193 53.3142 19.364 52.6789L31.5903 45.9012L31.6005 45.8958C32.832 45.2424 34.2063 44.9008 35.6016 44.9008C36.997 44.9008 38.3712 45.2424 39.6028 45.8958L39.6129 45.9012L51.8663 52.694L51.8738 52.6983C53.0642 53.3798 54.0609 54.3522 54.7689 55.5243C55.4768 56.6965 55.8723 58.0293 55.9173 59.3967L55.918 59.4172V66.285L63.9193 61.5492V53.488L63.9197 53.4734C63.9413 52.5483 63.7018 51.6352 63.2274 50.8372C62.753 50.0391 62.0624 49.3877 61.2327 48.9577L61.2074 48.9446L38.6945 35.9434C37.8293 35.4883 36.8643 35.25 35.884 35.25C34.9027 35.25 33.9368 35.4888 33.0709 35.9448Z"
                fill="white"
            />
            <defs>
                <linearGradient
                    id="paint0_linear_30_8716"
                    x1="59.788"
                    y1="34"
                    x2="59.788"
                    y2="126.689"
                    gradientUnits="userSpaceOnUse"
                >
                    <stop stopColor="white" />
                    <stop offset="1" stopColor="white" stopOpacity="0.3" />
                </linearGradient>
            </defs>
        </svg>
    );
};

export default polygonLogo;
