import clsx from "clsx";
import React from "react";
import { cx } from "~/cva.config";

export const YCombinatorIcon = ({ className }: { className?: string }) => (
  <svg
    viewBox="0 0 108 32"
    fill="none"
    className={clsx(className, "shrink-0")}
    xmlns="http://www.w3.org/2000/svg"
  >
    <path
      d="M36.5438 3.46526C37.0072 3.22273 37.2904 2.80697 37.2904 2.2353C37.2904 1.2652 36.4838 0.54628 35.4197 0.54628H32.9141V6.4362H35.5227C36.5867 6.4362 37.3848 5.70863 37.3848 4.73852C37.3848 4.12354 37.0587 3.69912 36.5438 3.46526ZM35.4197 1.41245C36.029 1.41245 36.3894 1.75891 36.3894 2.2353C36.3894 2.70303 36.0204 3.05816 35.4197 3.05816H33.8151V1.41245H35.4197ZM35.5227 5.57004H33.8151V3.92432H35.5227C36.1234 3.92432 36.4838 4.26213 36.4838 4.73852C36.4838 5.21491 36.1234 5.57004 35.5227 5.57004ZM40.2523 2.0101C39.6087 2.0101 38.9394 2.37389 38.5704 2.91957L39.2654 3.41329C39.4714 3.05816 39.8919 2.79831 40.3209 2.79831C40.8443 2.79831 41.1018 3.17076 41.1704 3.57786L39.8318 3.83771C39.0767 3.98496 38.4159 4.38339 38.4159 5.21491C38.4159 6.04643 39.0681 6.52282 39.8232 6.52282C40.4239 6.52282 40.9302 6.21966 41.1876 5.83855V6.4362H42.0457V3.7944C42.0457 2.72036 41.3249 2.0101 40.2523 2.0101ZM40.0291 5.72595C39.5915 5.72595 39.274 5.50075 39.274 5.18026C39.274 4.84246 39.6258 4.66057 39.9948 4.57395L41.1876 4.33142V4.64324C41.1876 5.31019 40.6384 5.72595 40.0291 5.72595ZM46.5353 5.06766C46.2693 5.4661 45.8317 5.69996 45.3769 5.69996C44.6218 5.69996 44.0726 5.06766 44.0726 4.26213C44.0726 3.4566 44.6218 2.82429 45.3769 2.82429C45.8317 2.82429 46.2693 3.05816 46.5353 3.4566L47.2561 3.03217C46.8443 2.40854 46.1492 2.00144 45.3683 2.00144C44.1241 2.00144 43.2145 3.00619 43.2145 4.26213C43.2145 5.51807 44.1241 6.52282 45.3683 6.52282C46.1492 6.52282 46.8443 6.11572 47.2561 5.49208L46.5353 5.06766ZM52.2435 2.10538H51.1108L49.2401 4.07157V0.373047H48.382V6.4362H49.2401V5.15428L49.9266 4.45269L51.2395 6.4362H52.2435L50.553 3.82038L52.2435 2.10538ZM56.6974 3.89834C56.5515 2.57311 55.6505 2.01876 54.7323 2.01876C53.4881 2.01876 52.6643 3.02351 52.6643 4.27079C52.6643 5.51807 53.4881 6.52282 54.7323 6.52282C55.5132 6.52282 56.2512 6.11572 56.6202 5.49208L55.8994 5.06766C55.6934 5.44011 55.2386 5.69996 54.7238 5.69996C54.0888 5.69996 53.6769 5.31885 53.5653 4.66923H56.6974C56.7231 4.39205 56.7231 4.1322 56.6974 3.89834ZM54.7066 2.84162C55.2386 2.84162 55.8135 3.14478 55.8393 3.88968H53.5567C53.6683 3.24005 54.0544 2.84162 54.7066 2.84162ZM60.9571 0.373047V2.72902C60.7169 2.32192 60.2621 2.01876 59.6443 2.01876C58.5459 2.01876 57.7135 2.95422 57.7049 4.27079C57.6964 5.61335 58.5459 6.52282 59.6357 6.52282C60.2878 6.52282 60.734 6.19368 60.9571 5.76059V6.4362H61.8152V0.373047H60.9571ZM59.7815 5.69996C59.035 5.69996 58.563 5.08499 58.563 4.27079C58.563 3.4566 59.035 2.84162 59.7815 2.84162C60.5281 2.84162 61 3.4566 61 4.27079C61 5.08499 60.5281 5.69996 59.7815 5.69996ZM70.2572 4.27079C70.2486 2.95422 69.4162 2.01876 68.3179 2.01876C67.7 2.01876 67.2452 2.32192 67.005 2.72902V0.373047H66.1469V6.4362H67.005V5.76059C67.2281 6.19368 67.6743 6.52282 68.3264 6.52282C69.4162 6.52282 70.2657 5.61335 70.2572 4.27079ZM68.1806 5.69996C67.434 5.69996 66.9621 5.08499 66.9621 4.27079C66.9621 3.4566 67.434 2.84162 68.1806 2.84162C68.9271 2.84162 69.3991 3.4566 69.3991 4.27079C69.3991 5.08499 68.9271 5.69996 68.1806 5.69996ZM74.5294 2.10538L73.2766 5.14562L71.938 2.10538H70.9941L72.8218 6.23699L72.0238 8.16853H72.9334L75.4133 2.10538H74.5294Z"
      fill="currentColor"
    />
    <mask
      id="mask0_2673_271"
      style={{ maskType: "luminance" }}
      maskUnits="userSpaceOnUse"
      x="0"
      y="9"
      width="108"
      height="23"
    >
      <path d="M0.367188 9.68408H107.898V31.3382H0.367188V9.68408Z" fill="white" />
    </mask>
    <g mask="url(#mask0_2673_271)">
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M0.367188 31.3382H21.8197V9.68408H0.367188V31.3382Z"
        fill="#F05F22"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M11.9642 21.5872V26.3985H10.1541V21.5872L5.53516 14.624H7.74073L11.0659 19.7669L14.3776 14.624H16.5832L11.9642 21.5872Z"
        fill="white"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M34.3977 16.9462C32.4133 16.9462 30.9252 18.4958 30.9252 20.4989C30.9252 22.5019 32.4133 24.065 34.3977 24.065C35.6716 24.065 36.7775 23.4018 37.3742 22.2853L39.0772 23.3071C38.1251 24.9515 36.342 26.0207 34.3977 26.0207C31.3407 26.0139 28.9141 23.5642 28.9141 20.4989C28.9141 17.4267 31.3407 14.9771 34.3977 14.9771C36.362 14.9771 38.1251 16.0327 39.0772 17.6906L37.3742 18.7124C36.771 17.5958 35.6716 16.9462 34.3977 16.9462Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M45.6197 21.893C45.6197 20.6411 44.7144 19.6938 43.5481 19.6938C42.3482 19.6938 41.4429 20.6411 41.4429 21.893C41.4429 23.1449 42.3482 24.0922 43.5481 24.0922C44.6944 24.0922 45.6197 23.1449 45.6197 21.893ZM39.4922 21.893C39.4922 19.6329 41.2888 17.8193 43.5481 17.8193C45.7738 17.8193 47.5705 19.6329 47.5705 21.893C47.5705 24.1532 45.7738 25.9667 43.5481 25.9667C41.2888 25.9667 39.4922 24.1532 39.4922 21.893Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M60.2312 21.2431V25.7905H58.2869V21.5882C58.2869 20.4108 57.7173 19.6664 56.8592 19.6664C55.9808 19.6664 55.3372 20.4108 55.3372 21.5882V25.7905H53.4601V21.5882C53.4601 20.4108 52.8701 19.6664 52.0056 19.6664C51.1407 19.6664 50.5104 20.4108 50.5104 21.5882V25.7905H48.5664V18.0085H50.5104V19.0033C50.9866 18.2589 51.7239 17.792 52.6288 17.792C53.6145 17.792 54.3922 18.3536 54.8681 19.2266C55.3576 18.4484 56.2625 17.792 57.402 17.792C59.1117 17.792 60.2312 19.3145 60.2312 21.2431Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M67.1393 21.9739C67.1393 20.6747 66.3417 19.7408 65.2222 19.7408C64.1292 19.7408 63.3047 20.6273 63.3047 21.9536C63.3047 23.2732 64.1496 24.1664 65.2555 24.1664C66.3417 24.1596 67.1393 23.2461 67.1393 21.9739ZM65.6309 25.9935C64.5583 25.9935 63.7674 25.4994 63.3115 24.816V25.7904H61.3672V14.9634H63.3115V18.9559C63.7806 18.3198 64.5718 17.8596 65.5976 17.8596C67.5884 17.8596 69.1105 19.5919 69.1437 21.9265C69.1773 24.2882 67.622 25.9935 65.6309 25.9935Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M69.9509 25.7906H71.8952V18.0086H69.9509V25.7906ZM69.7031 15.8026C69.7031 15.1394 70.2527 14.6387 70.9163 14.6387C71.5598 14.6387 72.0962 15.1326 72.0962 15.8026C72.0962 16.4657 71.5598 16.9665 70.9163 16.9665C70.2595 16.9597 69.7031 16.4657 69.7031 15.8026Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M80.2741 21.2769V25.7905H78.397V21.6965C78.397 20.4446 77.747 19.6664 76.8085 19.6664C75.7759 19.6664 75.0451 20.6138 75.0451 21.7303V25.7905H73.168V18.0085H75.0451V18.9897C75.5681 18.2589 76.4062 17.792 77.3848 17.792C79.1146 17.792 80.2741 19.2807 80.2741 21.2769Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M86.1729 22.3396V22.1704L84.2089 22.5562C83.5517 22.7118 83.1495 23.0501 83.1495 23.5035C83.1495 23.984 83.5854 24.3426 84.3026 24.3223C85.3352 24.2885 86.1729 23.3817 86.1729 22.3396ZM88.05 21.0945V25.7907H86.1729V24.8907C85.6033 25.5133 84.7116 25.9734 83.7262 25.9937C82.4187 25.9937 81.2656 25.1276 81.2656 23.6389C81.2656 22.2313 82.3114 21.4261 83.8667 21.1148L86.126 20.6817C85.9719 20.0321 85.4825 19.5381 84.7384 19.5381C84.0008 19.5381 83.3104 20.005 82.8949 20.5938L81.4801 19.5584C82.2042 18.5366 83.4781 17.8531 84.7452 17.8531C86.6355 17.8396 88.05 19.1592 88.05 21.0945Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M92.0077 19.7679V23.0295C92.0077 23.6656 92.2827 23.9566 92.8523 23.9566H93.8176V25.7836H92.5841C90.9419 25.7836 90.1307 24.9716 90.1307 23.2663V19.7679H88.7227V18.0085H90.0634V16.0866L92.0077 15.4844V18.0085H93.8176V19.7679H92.0077Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M100.58 21.893C100.58 20.6411 99.6754 19.6938 98.5087 19.6938C97.3088 19.6938 96.4039 20.6411 96.4039 21.893C96.4039 23.1449 97.3088 24.0922 98.5087 24.0922C99.6554 24.0922 100.58 23.1449 100.58 21.893ZM94.4531 21.893C94.4531 19.6329 96.2498 17.8193 98.5087 17.8193C100.734 17.8193 102.531 19.6329 102.531 21.893C102.531 24.1532 100.734 25.9667 98.5087 25.9667C96.2498 25.9667 94.4531 24.1532 94.4531 21.893Z"
        fill="currentColor"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M107.893 17.8394V19.7273C106.156 19.7273 105.412 20.58 105.412 21.6965V25.7905H103.535V18.0085H105.412V18.983C105.942 18.286 106.793 17.8394 107.893 17.8394Z"
        fill="currentColor"
      />
    </g>
  </svg>
);

export const DiscordIcon = ({ className }: { className?: string }) => {
  return (
    <svg
      className={cx(className, "shrink-0")}
      viewBox="0 0 33 32"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M14.5906 5.75977L13.437 5.87017C10.2213 6.17833 7.80304 8.11625 7.7016 8.19849L7.51056 8.35369L7.372 8.55721C7.26032 8.72137 4.62928 12.665 4.18192 20.1831L4.1416 20.8599L4.58256 21.3751C7.54384 24.8353 11.9502 24.9018 12.1365 24.9028L12.9893 24.9079L13.4968 24.2225L14.1918 23.2839C14.9314 23.3834 15.7 23.4327 16.4994 23.4327C17.299 23.4327 18.0674 23.3831 18.8069 23.2839L19.5019 24.2225L20.0094 24.9079L20.8622 24.9028C21.0485 24.9018 25.4546 24.8353 28.4162 21.3751L28.8571 20.8599L28.8168 20.1831C28.3694 12.665 25.7384 8.72137 25.6267 8.55721L25.4824 8.34537L25.2814 8.18601C25.1746 8.10121 22.6258 6.10601 19.5304 5.86729L18.3976 5.77993L17.8949 6.79849L17.8482 6.89289C17.4206 6.85993 16.9717 6.84233 16.4994 6.84233C16.027 6.84233 15.5781 6.85993 15.1506 6.89289L15.1038 6.79849L14.5906 5.75977Z"
        fill="#4343BF"
      />
      <path
        d="M24.2373 9.50297C24.2373 9.50297 22.0197 7.74489 19.4008 7.54297L19.1646 8.02137C21.5326 8.60825 22.6187 9.44985 23.7534 10.4831C21.797 9.47129 19.8654 8.52313 16.4987 8.52313C13.132 8.52313 11.2005 9.47129 9.244 10.4831C10.3787 9.44985 11.6709 8.51577 13.8328 8.02137L13.5966 7.54297C10.8491 7.80601 8.76016 9.50297 8.76016 9.50297C8.76016 9.50297 6.28336 13.1414 5.8584 20.2831C8.35504 23.2002 12.1458 23.2233 12.1458 23.2233L12.9384 22.1526C11.5928 21.6786 10.0731 20.8326 8.76016 19.3033C10.3262 20.5039 12.6898 21.7532 16.4984 21.7532C20.307 21.7532 22.6709 20.5036 24.2366 19.3033C22.9237 20.8326 21.404 21.679 20.0584 22.1526L20.851 23.2233C20.851 23.2233 24.6418 23.2002 27.1384 20.2831C26.7141 13.141 24.2373 9.50297 24.2373 9.50297Z"
        fill="#4B4DFF"
      />
      <path
        d="M12.6602 17.5991C13.7206 17.5991 14.5802 16.5963 14.5802 15.3591C14.5802 14.122 13.7206 13.1191 12.6602 13.1191C11.5998 13.1191 10.7402 14.122 10.7402 15.3591C10.7402 16.5963 11.5998 17.5991 12.6602 17.5991Z"
        fill="#EDF7F5"
      />
      <path
        d="M20.3399 17.5991C21.4003 17.5991 22.2599 16.5963 22.2599 15.3591C22.2599 14.122 21.4003 13.1191 20.3399 13.1191C19.2795 13.1191 18.4199 14.122 18.4199 15.3591C18.4199 16.5963 19.2795 17.5991 20.3399 17.5991Z"
        fill="#EDF7F5"
      />
      <path
        d="M5.81375 20.2305L5.77087 20.2625L2.79199 21.3437C2.89535 21.4858 5.08191 24.8289 10.353 25.8516L12.1965 23.1441C7.78911 22.8845 5.89887 20.3425 5.81375 20.2305Z"
        fill="#FF8405"
      />
      <path
        d="M27.1523 20.2305L27.1951 20.2625L30.174 21.3437C30.0707 21.4858 27.8841 24.8289 22.6131 25.8516L20.7695 23.1441C25.1769 22.8845 27.0671 20.3425 27.1523 20.2305Z"
        fill="#FF8405"
      />
    </svg>
  );
};

export const GitHubIcon = ({ className }: { className?: string }) => (
  <svg
    viewBox="0 0 24 24"
    fill="none"
    xmlns="http://www.w3.org/2000/svg"
    className={clsx(className, "shrink-0")}
  >
    <path
      d="M12 2C6.475 2 2 6.59118 2 12.2539C2 16.7853 4.865 20.6279 8.8375 21.9823C9.3375 22.0788 9.52083 21.7618 9.52083 21.4892C9.52083 21.2457 9.5125 20.6006 9.50833 19.7461C6.72667 20.3647 6.14 18.3703 6.14 18.3703C5.685 17.1869 5.0275 16.8707 5.0275 16.8707C4.12167 16.235 5.0975 16.2478 5.0975 16.2478C6.10167 16.3196 6.62917 17.3039 6.62917 17.3039C7.52083 18.8719 8.97 18.4191 9.54167 18.1567C9.63167 17.4936 9.88917 17.0416 10.175 16.7853C7.95417 16.5289 5.62 15.6471 5.62 11.7181C5.62 10.5987 6.0075 9.68444 6.64917 8.96667C6.53667 8.70776 6.19917 7.66528 6.73667 6.2528C6.73667 6.2528 7.57417 5.97766 9.48667 7.30383C10.2867 7.07568 11.1367 6.96289 11.9867 6.95776C12.8367 6.96289 13.6867 7.07568 14.4867 7.30383C16.3867 5.97766 17.2242 6.2528 17.2242 6.2528C17.7617 7.66528 17.4242 8.70776 17.3242 8.96667C17.9617 9.68444 18.3492 10.5987 18.3492 11.7181C18.3492 15.6573 16.0117 16.5246 13.7867 16.7767C14.1367 17.0843 14.4617 17.7132 14.4617 18.6737C14.4617 20.046 14.4492 21.1483 14.4492 21.4816C14.4492 21.7507 14.6242 22.0711 15.1367 21.9686C19.1375 20.6236 22 16.7784 22 12.2539C22 6.59118 17.5225 2 12 2Z"
      fill="currentColor"
    />
  </svg>
);
