import React, {FC} from "react";

export type LogoDarkProps = {
    width?: string;
}

export const LogoDark: FC<LogoDarkProps> = ({width = 'w-38'}) => {
    return <svg width="265" height="61" viewBox="0 0 265 61" fill="none" xmlns="http://www.w3.org/2000/svg"
                className={`opacity-90 ${width}`}>
        <rect y="7.5" width="46" height="46" rx="16" fill="url(#paint0_linear_302_6)"/>
        <rect y="7.5" width="46" height="46" rx="16" fill="#1F2327"/>
        <path opacity="0.8"
              d="M31.1506 41.1324L36.6759 28.2545L36.6679 28.2424L25.8337 28.2252L24.5827 31.1477L31.1506 41.1324Z"
              fill="white" fill-opacity="0.82"/>
        <path opacity="0.8"
              d="M30.096 18.2516L16.0869 18.2321L22.6548 28.2167L25.8337 28.2252L30.108 18.2698L30.096 18.2516Z"
              fill="white" fill-opacity="0.82"/>
        <path opacity="0.8"
              d="M16.0755 41.5786L30.0885 41.6044L23.5207 31.6197L20.3356 31.6152L16.0675 41.5665L16.0755 41.5786Z"
              fill="white" fill-opacity="0.82"/>
        <path opacity="0.8"
              d="M15.0249 18.704L9.49974 31.5818L9.50775 31.594L20.3357 31.6153L21.5928 28.6888L15.0249 18.704Z"
              fill="white" fill-opacity="0.82"/>
        <path opacity="0.8" d="M36.6678 28.2424L30.108 18.2698L25.8337 28.2252L36.6678 28.2424Z"
              fill="white"/>
        <path opacity="0.8" d="M9.50752 31.5941L16.0674 41.5666L20.3357 31.6152L9.50752 31.5941Z"
              fill="white"/>
        <path
            d="M70.974 47.552C67.7233 47.552 64.9173 46.862 62.556 45.482C60.2253 44.0713 58.4313 42.124 57.174 39.64C55.9167 37.1253 55.288 34.2273 55.288 30.946C55.288 27.6647 55.9167 24.7667 57.174 22.252C58.4313 19.7373 60.2253 17.7747 62.556 16.364C64.9173 14.9533 67.7233 14.248 70.974 14.248C74.8993 14.248 78.1193 15.2293 80.634 17.192C83.1487 19.1547 84.6973 21.9147 85.28 25.472H78.196C77.828 23.7547 77.0153 22.436 75.758 21.516C74.5313 20.5653 72.906 20.09 70.882 20.09C68.9807 20.09 67.3553 20.5347 66.006 21.424C64.6567 22.2827 63.614 23.5247 62.878 25.15C62.1727 26.7753 61.82 28.7073 61.82 30.946C61.82 33.1847 62.1727 35.1167 62.878 36.742C63.614 38.3367 64.6567 39.5787 66.006 40.468C67.3553 41.3267 68.9807 41.756 70.882 41.756C72.906 41.756 74.5313 41.3267 75.758 40.468C76.9847 39.5787 77.782 38.3213 78.15 36.696H85.234C84.6513 40.1 83.1027 42.768 80.588 44.7C78.104 46.6013 74.8993 47.552 70.974 47.552ZM98.3425 47.552C96.0425 47.552 93.9572 47.046 92.0865 46.034C90.2465 45.022 88.7745 43.6113 87.6705 41.802C86.5972 39.9927 86.0605 37.9227 86.0605 35.592C86.0605 33.2307 86.5972 31.1607 87.6705 29.382C88.7745 27.5727 90.2619 26.162 92.1325 25.15C94.0032 24.138 96.0732 23.632 98.3425 23.632C100.643 23.632 102.713 24.138 104.553 25.15C106.423 26.162 107.895 27.5727 108.969 29.382C110.073 31.1607 110.625 33.2307 110.625 35.592C110.625 37.9227 110.073 39.9927 108.969 41.802C107.895 43.6113 106.423 45.022 104.553 46.034C102.713 47.046 100.643 47.552 98.3425 47.552ZM98.3425 41.986C99.3852 41.986 100.336 41.756 101.195 41.296C102.053 40.8053 102.728 40.0847 103.219 39.134C103.74 38.1833 104.001 37.0027 104.001 35.592C104.001 34.1813 103.74 33.0007 103.219 32.05C102.697 31.0993 102.007 30.394 101.149 29.934C100.321 29.4433 99.4005 29.198 98.3885 29.198C97.3459 29.198 96.3952 29.4433 95.5365 29.934C94.6779 30.394 93.9879 31.0993 93.4665 32.05C92.9452 32.97 92.6845 34.1507 92.6845 35.592C92.6845 37.0027 92.9299 38.1833 93.4205 39.134C93.9419 40.0847 94.6319 40.8053 95.4905 41.296C96.3492 41.756 97.2999 41.986 98.3425 41.986ZM120.458 47.552C117.821 47.552 115.751 46.6473 114.248 44.838C112.746 42.998 111.994 40.3607 111.994 36.926V24.184H118.388V36.328C118.388 38.1987 118.741 39.64 119.446 40.652C120.152 41.6333 121.21 42.124 122.62 42.124C124.154 42.124 125.334 41.5873 126.162 40.514C127.021 39.41 127.45 37.892 127.45 35.96V24.184H133.89V47H127.45V43.734C126.776 44.8993 125.856 45.8347 124.69 46.54C123.556 47.2147 122.145 47.552 120.458 47.552ZM136.498 57.12V24.184H142.938V27.312C143.674 26.3307 144.625 25.472 145.79 24.736C146.986 24 148.52 23.632 150.39 23.632C152.506 23.632 154.408 24.1533 156.094 25.196C157.781 26.2387 159.115 27.6647 160.096 29.474C161.078 31.2833 161.568 33.338 161.568 35.638C161.568 37.9073 161.078 39.9467 160.096 41.756C159.115 43.5653 157.781 44.9913 156.094 46.034C154.408 47.046 152.506 47.552 150.39 47.552C148.704 47.552 147.232 47.2453 145.974 46.632C144.748 46.0187 143.736 45.16 142.938 44.056V57.12H136.498ZM148.872 41.94C150.068 41.94 151.126 41.664 152.046 41.112C152.997 40.56 153.733 39.8087 154.254 38.858C154.776 37.9073 155.036 36.834 155.036 35.638C155.036 34.4113 154.776 33.3227 154.254 32.372C153.733 31.3907 152.997 30.624 152.046 30.072C151.126 29.52 150.068 29.244 148.872 29.244C147.676 29.244 146.618 29.52 145.698 30.072C144.778 30.624 144.058 31.3753 143.536 32.326C143.015 33.2767 142.754 34.3653 142.754 35.592C142.754 36.8187 143.015 37.9073 143.536 38.858C144.058 39.8087 144.778 40.56 145.698 41.112C146.618 41.664 147.676 41.94 148.872 41.94ZM174.87 47.552C172.57 47.552 170.485 47.046 168.614 46.034C166.774 45.022 165.302 43.6113 164.198 41.802C163.125 39.9927 162.588 37.9227 162.588 35.592C162.588 33.2307 163.125 31.1607 164.198 29.382C165.302 27.5727 166.79 26.162 168.66 25.15C170.531 24.138 172.601 23.632 174.87 23.632C177.17 23.632 179.24 24.138 181.08 25.15C182.951 26.162 184.423 27.5727 185.496 29.382C186.6 31.1607 187.152 33.2307 187.152 35.592C187.152 37.9227 186.6 39.9927 185.496 41.802C184.423 43.6113 182.951 45.022 181.08 46.034C179.24 47.046 177.17 47.552 174.87 47.552ZM174.87 41.986C175.913 41.986 176.864 41.756 177.722 41.296C178.581 40.8053 179.256 40.0847 179.746 39.134C180.268 38.1833 180.528 37.0027 180.528 35.592C180.528 34.1813 180.268 33.0007 179.746 32.05C179.225 31.0993 178.535 30.394 177.676 29.934C176.848 29.4433 175.928 29.198 174.916 29.198C173.874 29.198 172.923 29.4433 172.064 29.934C171.206 30.394 170.516 31.0993 169.994 32.05C169.473 32.97 169.212 34.1507 169.212 35.592C169.212 37.0027 169.458 38.1833 169.948 39.134C170.47 40.0847 171.16 40.8053 172.018 41.296C172.877 41.756 173.828 41.986 174.87 41.986ZM188.982 47V24.184H195.422V27.542C196.158 26.346 197.155 25.3953 198.412 24.69C199.7 23.9847 201.203 23.632 202.92 23.632C205.803 23.632 208.011 24.552 209.544 26.392C211.078 28.2013 211.844 30.8233 211.844 34.258V47H205.404V34.856C205.404 32.9853 205.021 31.5593 204.254 30.578C203.518 29.566 202.338 29.06 200.712 29.06C199.179 29.06 197.906 29.612 196.894 30.716C195.913 31.7893 195.422 33.292 195.422 35.224V47H188.982ZM223.899 47.552C220.832 47.552 218.318 46.8313 216.355 45.39C214.392 43.9487 213.288 42.0627 213.043 39.732H219.621C219.836 40.6213 220.357 41.342 221.185 41.894C222.013 42.4153 222.994 42.676 224.129 42.676C225.386 42.676 226.337 42.4613 226.981 42.032C227.656 41.572 227.993 41.02 227.993 40.376C227.993 39.8547 227.748 39.4407 227.257 39.134C226.766 38.7967 225.923 38.5667 224.727 38.444C224.298 38.3827 223.7 38.2907 222.933 38.168C222.197 38.0453 221.599 37.938 221.139 37.846C219.851 37.6007 218.67 37.202 217.597 36.65C216.554 36.0673 215.726 35.316 215.113 34.396C214.5 33.4453 214.193 32.2953 214.193 30.946C214.193 28.8913 214.96 27.1587 216.493 25.748C218.026 24.3373 220.28 23.632 223.255 23.632C226.26 23.632 228.622 24.2913 230.339 25.61C232.087 26.9287 233.068 28.7533 233.283 31.084H227.073C226.981 30.256 226.567 29.6273 225.831 29.198C225.095 28.7687 224.252 28.554 223.301 28.554C222.136 28.554 221.262 28.7533 220.679 29.152C220.096 29.5507 219.805 30.0413 219.805 30.624C219.805 31.5747 220.756 32.2187 222.657 32.556C222.933 32.5867 223.316 32.648 223.807 32.74C224.328 32.8013 224.85 32.878 225.371 32.97C225.923 33.0313 226.352 33.0927 226.659 33.154C227.579 33.2767 228.468 33.4913 229.327 33.798C230.216 34.074 230.998 34.4573 231.673 34.948C232.378 35.4387 232.93 36.0827 233.329 36.88C233.728 37.6773 233.927 38.6587 233.927 39.824C233.927 41.3573 233.544 42.7067 232.777 43.872C232.01 45.0373 230.876 45.942 229.373 46.586C227.901 47.23 226.076 47.552 223.899 47.552Z"
            fill="#1F2327"/>
        <path
            d="M247.328 45.432V22.968H252.992V45.432H247.328ZM239.264 36.984V31.416H261.056V36.984H239.264Z"
            fill="#1F2327"/>
        <defs>
            <linearGradient id="paint0_linear_302_6" x1="23" y1="7.5" x2="23" y2="53.5"
                            gradientUnits="userSpaceOnUse">
                <stop stop-color="#545454"/>
                <stop offset="1" stop-color="#2A2A2A"/>
            </linearGradient>
        </defs>
    </svg>
}
