import type { IconProps } from './types';

export function NextjsIcon({ className }: IconProps) {
  return (
    <svg
      width="512"
      height="512"
      viewBox="0 0 512 512"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
    >
      <g clipPath="url(#clip0_367_158)">
        <path
          d="M239.234 0.137781C238.133 0.237864 234.629 0.588155 231.476 0.838362C158.755 7.3938 90.6385 46.6264 47.4964 106.926C23.4729 140.454 8.10792 178.486 2.30225 218.769C0.250244 232.831 0 236.984 0 256.05C0 275.116 0.250244 279.269 2.30225 293.331C16.2158 389.461 84.6326 470.228 177.423 500.153C194.039 505.507 211.557 509.16 231.476 511.362C239.234 512.213 272.766 512.213 280.524 511.362C314.908 507.559 344.036 499.052 372.764 484.39C377.168 482.138 378.019 481.537 377.419 481.037C377.018 480.737 358.25 455.566 335.728 425.14L294.788 369.845L243.488 293.932C215.26 252.197 192.038 218.069 191.837 218.069C191.637 218.019 191.437 251.747 191.337 292.931C191.187 365.041 191.137 367.943 190.236 369.644C188.935 372.096 187.934 373.097 185.831 374.198C184.23 374.999 182.829 375.149 175.271 375.149H166.613L164.31 373.698C162.809 372.747 161.708 371.496 160.957 370.045L159.906 367.793L160.006 267.46L160.156 167.076L161.708 165.125C162.509 164.074 164.21 162.723 165.412 162.072C167.464 161.071 168.264 160.971 176.923 160.971C187.133 160.971 188.834 161.372 191.487 164.274C192.238 165.075 220.015 206.909 253.247 257.301C286.48 307.693 331.924 376.5 354.246 410.278L394.786 471.679L396.838 470.328C415.005 458.518 434.224 441.704 449.439 424.19C481.821 387.009 502.691 341.671 509.698 293.331C511.75 279.269 512 275.116 512 256.05C512 236.984 511.75 232.831 509.698 218.769C495.784 122.639 427.367 41.8724 334.577 11.9476C318.211 6.64318 300.794 2.99015 281.275 0.788321C276.47 0.287906 243.388 -0.262551 239.234 0.137781ZM344.036 154.966C346.438 156.167 348.39 158.469 349.091 160.871C349.491 162.172 349.591 189.995 349.491 252.697L349.341 342.672L333.476 318.352L317.56 294.032V228.627C317.56 186.342 317.76 162.573 318.061 161.422C318.861 158.619 320.613 156.417 323.015 155.116C325.067 154.066 325.818 153.965 333.676 153.965C341.083 153.965 342.384 154.066 344.036 154.966Z"
          fill="currentColor"
        />
      </g>
      <defs>
        <clipPath id="clip0_367_158">
          <rect width="512" height="512" fill="white" />
        </clipPath>
      </defs>
    </svg>
  );
}
