import { LogoType } from "./full";

export default function HorizontalLogo({
  className,
  type,
}: {
  className: string;
  type?: LogoType;
}) {
  if (type === LogoType.small) {
    return (
      <svg
        width="333"
        height="108"
        viewBox="0 0 333 108"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        className={className}
      >
        <path
          d="M0 25.8696C1.44531 26.8947 2.49609 27.6044 3.51172 28.3575C11.5273 34.2719 19.5352 40.1903 27.543 46.1165C32.4023 49.6927 36.7227 53.7815 39.7461 59.1282C42.2109 63.3707 43.7344 67.9406 44.3164 72.8338C44.5273 74.5647 44.6484 76.3075 44.6719 78.0542C44.707 87.3319 44.6719 96.6057 44.6719 105.883V107.5C44.1758 107.252 43.6953 106.976 43.2266 106.676C33.7109 99.6615 24.1406 92.7061 14.707 85.5734C6.43359 79.2962 1.57422 70.8781 0.335938 60.4017C0.128907 58.5998 0.023438 56.79 0.015625 54.9762C1.00024e-06 46.152 0 37.3277 0 28.5074V25.8696Z"
          fill="#438E86"
        />
        <path
          d="M83.8554 15.338V22.9912C83.8554 27.9869 83.8867 32.9826 83.8554 37.9743C83.789 46.8814 80.0937 54.0694 73.2383 59.4081C66.25 64.8651 59.0039 69.9752 51.8633 75.239C51.6093 75.4282 51.3437 75.6017 50.8711 75.9329C50.7656 75.4203 50.6953 74.8999 50.6601 74.3755C50.6601 67.3058 50.5507 60.2322 50.6797 53.1664C50.8398 44.7049 54.1406 37.5761 60.6953 32.3754C67.9961 26.5832 75.6133 21.2011 83.0976 15.6495C83.3437 15.5273 83.5976 15.4208 83.8554 15.338Z"
          fill="#438E86"
        />
        <path
          d="M44.5586 45.0322L39.1797 41.0498C35.6172 38.416 32.0352 35.8057 28.4844 33.1482C22.8008 28.8819 19.9297 23.1608 19.9336 15.9767V2.16861C19.9336 1.5338 19.9336 0.90293 19.9336 0C20.4141 0.181374 20.8789 0.402178 21.3203 0.662412C26.2891 4.31356 31.2891 7.92529 36.1914 11.6671C40.7148 15.1172 43.6016 19.6555 44.4531 25.4122C44.5664 25.98 44.6367 26.5556 44.6641 27.1392C44.6836 32.6514 44.6953 38.1636 44.6914 43.6719C44.6914 43.9834 44.6328 44.2949 44.5586 45.0322Z"
          fill="#438E86"
        />
        <path
          d="M112.065 48.2946V53.2946C114.209 49.7243 117.635 47.9353 122.346 47.9353C126.241 47.9353 129.397 49.2399 131.815 51.8415C134.229 54.4353 135.44 57.9665 135.44 62.4353V82.279H125.096V63.8259C125.096 61.6384 124.51 59.947 123.346 58.7478C122.19 57.5524 120.596 56.9509 118.565 56.9509C116.542 56.9509 114.956 57.5524 113.799 58.7478C112.643 59.947 112.065 61.6384 112.065 63.8259V82.279H101.643V48.2946H112.065Z"
          fill="#438E86"
        />
        <path
          d="M167.728 48.2946V54.6384C170.154 50.1696 173.4 47.9353 177.462 47.9353V58.529H174.915C172.517 58.529 170.72 59.0993 169.525 60.2321C168.325 61.3689 167.728 63.3571 167.728 66.2009V82.279H157.306V48.2946H167.728Z"
          fill="#438E86"
        />
        <path
          d="M178.558 48.2946H189.636L197.37 73.5759L205.104 48.2946H216.183L204.12 82.279H190.604L178.558 48.2946Z"
          fill="#438E86"
        />
        <path
          d="M239.438 71.5134C240.938 70.0446 241.688 67.9743 241.688 65.2946C241.688 62.6189 240.938 60.5603 239.438 59.1228C237.938 57.6774 236.212 56.9509 234.266 56.9509C232.317 56.9509 230.594 57.6814 229.094 59.1384C227.594 60.5993 226.844 62.6696 226.844 65.3571C226.844 68.0368 227.594 70.0993 229.094 71.5446C230.594 72.9821 232.317 73.7009 234.266 73.7009C236.212 73.7009 237.938 72.9743 239.438 71.5134ZM220.735 77.8415C217.735 74.5915 216.235 70.4314 216.235 65.3571C216.235 60.2868 217.735 56.1149 220.735 52.8415C223.743 49.572 227.411 47.9353 231.735 47.9353C236.055 47.9353 239.376 49.5407 241.688 52.7478V48.2946H252.11V82.279H241.688V77.3415C239.177 80.9157 235.805 82.7009 231.579 82.7009C227.36 82.7009 223.743 81.0837 220.735 77.8415Z"
          fill="#438E86"
        />
        <path
          d="M269.406 48.2946V53.2946C271.55 49.7243 274.976 47.9353 279.687 47.9353C283.582 47.9353 286.738 49.2399 289.156 51.8415C291.57 54.4353 292.781 57.9665 292.781 62.4353V82.279H282.437V63.8259C282.437 61.6384 281.851 59.947 280.687 58.7478C279.531 57.5524 277.937 56.9509 275.906 56.9509C273.882 56.9509 272.296 57.5524 271.14 58.7478C269.984 59.947 269.406 61.6384 269.406 63.8259V82.279H258.984V48.2946H269.406Z"
          fill="#438E86"
        />
        <path
          d="M320.057 71.5134C321.557 70.0446 322.307 67.9743 322.307 65.2946C322.307 62.6189 321.557 60.5603 320.057 59.1228C318.557 57.6774 316.831 56.9509 314.885 56.9509C312.936 56.9509 311.213 57.6814 309.713 59.1384C308.213 60.5993 307.463 62.6696 307.463 65.3571C307.463 68.0368 308.213 70.0993 309.713 71.5446C311.213 72.9821 312.936 73.7009 314.885 73.7009C316.831 73.7009 318.557 72.9743 320.057 71.5134ZM301.354 77.8415C298.354 74.5915 296.854 70.4314 296.854 65.3571C296.854 60.2868 298.354 56.1149 301.354 52.8415C304.362 49.572 308.03 47.9353 312.354 47.9353C316.674 47.9353 319.995 49.5407 322.307 52.7478V48.2946H332.729V82.279H322.307V77.3415C319.795 80.9157 316.424 82.7009 312.198 82.7009C307.979 82.7009 304.362 81.0837 301.354 77.8415Z"
          fill="#438E86"
        />
        <path
          d="M155.859 26.6195C157.141 25.1728 159.354 25.0393 160.8 26.3213C162.247 27.6033 162.38 29.8153 161.098 31.262L151.248 42.3781C149.966 43.8248 147.754 43.9583 146.307 42.6763C144.86 41.3943 144.727 39.1823 146.009 37.7356L155.859 26.6195Z"
          fill="#438E86"
        />
        <path
          d="M140.764 47.9797L150.687 48.0023L150.611 81.8743L140.688 81.8517L140.764 47.9797Z"
          fill="#438E86"
        />
      </svg>
    );
  }
  return (
    <svg
      width="333"
      height="108"
      viewBox="0 0 333 108"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
    >
      <path
        d="M0 25.8696C1.44531 26.8947 2.49609 27.6044 3.51172 28.3575C11.5273 34.2719 19.5352 40.1903 27.543 46.1165C32.4023 49.6927 36.7227 53.7815 39.7461 59.1282C42.2109 63.3707 43.7344 67.9406 44.3164 72.8338C44.5273 74.5647 44.6484 76.3075 44.6719 78.0542C44.707 87.3319 44.6719 96.6057 44.6719 105.883V107.5C44.1758 107.252 43.6953 106.976 43.2266 106.676C33.7109 99.6615 24.1406 92.7061 14.707 85.5734C6.43359 79.2962 1.57422 70.8781 0.335938 60.4017C0.128907 58.5998 0.023438 56.79 0.015625 54.9762C1.00024e-06 46.152 0 37.3277 0 28.5074V25.8696Z"
        fill="#438E86"
      />
      <path
        d="M83.8554 15.338V22.9912C83.8554 27.9869 83.8867 32.9826 83.8554 37.9743C83.789 46.8814 80.0937 54.0694 73.2383 59.4081C66.25 64.8651 59.0039 69.9752 51.8633 75.239C51.6093 75.4282 51.3437 75.6017 50.8711 75.9329C50.7656 75.4203 50.6953 74.8999 50.6601 74.3755C50.6601 67.3058 50.5507 60.2322 50.6797 53.1664C50.8398 44.7049 54.1406 37.5761 60.6953 32.3754C67.9961 26.5832 75.6133 21.2011 83.0976 15.6495C83.3437 15.5273 83.5976 15.4208 83.8554 15.338Z"
        fill="#438E86"
      />
      <path
        d="M44.5586 45.0322L39.1797 41.0498C35.6172 38.416 32.0352 35.8057 28.4844 33.1482C22.8008 28.8819 19.9297 23.1608 19.9336 15.9767V2.16861C19.9336 1.5338 19.9336 0.90293 19.9336 0C20.4141 0.181374 20.8789 0.402178 21.3203 0.662412C26.2891 4.31356 31.2891 7.92529 36.1914 11.6671C40.7148 15.1172 43.6016 19.6555 44.4531 25.4122C44.5664 25.98 44.6367 26.5556 44.6641 27.1392C44.6836 32.6514 44.6953 38.1636 44.6914 43.6719C44.6914 43.9834 44.6328 44.2949 44.5586 45.0322Z"
        fill="#438E86"
      />
      <path
        d="M112.065 48.2946V53.2946C114.209 49.7243 117.635 47.9353 122.346 47.9353C126.241 47.9353 129.397 49.2399 131.815 51.8415C134.229 54.4353 135.44 57.9665 135.44 62.4353V82.279H125.096V63.8259C125.096 61.6384 124.51 59.947 123.346 58.7478C122.19 57.5524 120.596 56.9509 118.565 56.9509C116.542 56.9509 114.956 57.5524 113.799 58.7478C112.643 59.947 112.065 61.6384 112.065 63.8259V82.279H101.643V48.2946H112.065Z"
        fill="#438E86"
      />
      <path
        d="M167.728 48.2946V54.6384C170.154 50.1696 173.4 47.9353 177.462 47.9353V58.529H174.915C172.517 58.529 170.72 59.0993 169.525 60.2321C168.325 61.3689 167.728 63.3571 167.728 66.2009V82.279H157.306V48.2946H167.728Z"
        fill="#438E86"
      />
      <path
        d="M178.558 48.2946H189.636L197.37 73.5759L205.104 48.2946H216.183L204.12 82.279H190.604L178.558 48.2946Z"
        fill="#438E86"
      />
      <path
        d="M239.438 71.5134C240.938 70.0446 241.688 67.9743 241.688 65.2946C241.688 62.6189 240.938 60.5603 239.438 59.1228C237.938 57.6774 236.212 56.9509 234.266 56.9509C232.317 56.9509 230.594 57.6814 229.094 59.1384C227.594 60.5993 226.844 62.6696 226.844 65.3571C226.844 68.0368 227.594 70.0993 229.094 71.5446C230.594 72.9821 232.317 73.7009 234.266 73.7009C236.212 73.7009 237.938 72.9743 239.438 71.5134ZM220.735 77.8415C217.735 74.5915 216.235 70.4314 216.235 65.3571C216.235 60.2868 217.735 56.1149 220.735 52.8415C223.743 49.572 227.411 47.9353 231.735 47.9353C236.055 47.9353 239.376 49.5407 241.688 52.7478V48.2946H252.11V82.279H241.688V77.3415C239.177 80.9157 235.805 82.7009 231.579 82.7009C227.36 82.7009 223.743 81.0837 220.735 77.8415Z"
        fill="#438E86"
      />
      <path
        d="M269.406 48.2946V53.2946C271.55 49.7243 274.976 47.9353 279.687 47.9353C283.582 47.9353 286.738 49.2399 289.156 51.8415C291.57 54.4353 292.781 57.9665 292.781 62.4353V82.279H282.437V63.8259C282.437 61.6384 281.851 59.947 280.687 58.7478C279.531 57.5524 277.937 56.9509 275.906 56.9509C273.882 56.9509 272.296 57.5524 271.14 58.7478C269.984 59.947 269.406 61.6384 269.406 63.8259V82.279H258.984V48.2946H269.406Z"
        fill="#438E86"
      />
      <path
        d="M320.057 71.5134C321.557 70.0446 322.307 67.9743 322.307 65.2946C322.307 62.6189 321.557 60.5603 320.057 59.1228C318.557 57.6774 316.831 56.9509 314.885 56.9509C312.936 56.9509 311.213 57.6814 309.713 59.1384C308.213 60.5993 307.463 62.6696 307.463 65.3571C307.463 68.0368 308.213 70.0993 309.713 71.5446C311.213 72.9821 312.936 73.7009 314.885 73.7009C316.831 73.7009 318.557 72.9743 320.057 71.5134ZM301.354 77.8415C298.354 74.5915 296.854 70.4314 296.854 65.3571C296.854 60.2868 298.354 56.1149 301.354 52.8415C304.362 49.572 308.03 47.9353 312.354 47.9353C316.674 47.9353 319.995 49.5407 322.307 52.7478V48.2946H332.729V82.279H322.307V77.3415C319.795 80.9157 316.424 82.7009 312.198 82.7009C307.979 82.7009 304.362 81.0837 301.354 77.8415Z"
        fill="#438E86"
      />
      <path
        d="M155.859 26.6195C157.141 25.1728 159.354 25.0393 160.8 26.3213C162.247 27.6033 162.38 29.8153 161.098 31.262L151.248 42.3781C149.966 43.8248 147.754 43.9583 146.307 42.6763C144.86 41.3943 144.727 39.1823 146.009 37.7356L155.859 26.6195Z"
        fill="#438E86"
      />
      <path
        d="M140.764 47.9797L150.687 48.0023L150.611 81.8743L140.688 81.8517L140.764 47.9797Z"
        fill="#438E86"
      />
    </svg>
  );
}
