import React from "react";
import { IntegrationLogoSvgWrapper, SvgLogoProps } from "./wrapper";

export const GitlabSvg = ({ color, square, ...rest }: SvgLogoProps) => (
  <IntegrationLogoSvgWrapper viewBox="0 0 32 32" {...rest}>
    <title>Gitlab integration logo</title>
    <path
      d="M31.9415 17.8289L30.149 12.3285L26.6019 1.41847C26.561 1.29675 26.4829 1.19092 26.3786 1.11594C26.2742 1.04097 26.1489 1.00063 26.0203 1.00063C25.8917 1.00063 25.7664 1.04097 25.6621 1.11594C25.5577 1.19092 25.4796 1.29675 25.4388 1.41847L21.8916 12.3219H10.106L6.55885 1.41847C6.51827 1.29663 6.4403 1.19064 6.336 1.11553C6.23171 1.04042 6.10637 1 5.97777 1C5.84917 1 5.72383 1.04042 5.61953 1.11553C5.51523 1.19064 5.43726 1.29663 5.39669 1.41847L1.85522 12.3219L0.06269 17.8289C-0.0169457 18.0735 -0.0171059 18.3368 0.0622329 18.5814C0.141572 18.826 0.296346 19.0393 0.504425 19.1908L16.0002 30.4321L31.4932 19.1908C31.7022 19.04 31.8581 18.8271 31.9386 18.5825C32.0192 18.3379 32.0202 18.0742 31.9415 17.8289"
      fill={color || "#fc6d26"}
    />
    <path
      d="M16.0002 30.4236L21.8926 12.3209H10.1107L16.0002 30.4236Z"
      fill={color || "#e24329"}
    />
    <path
      d="M16.0002 30.4236L10.106 12.3209H1.85902L16.0002 30.4236Z"
      fill={color || "#fc6d26"}
    />
    <path
      d="M1.85238 12.3266L0.0598438 17.8271C-0.0197918 18.0716 -0.0199513 18.3349 0.0593875 18.5795C0.138726 18.8241 0.293501 19.0374 0.501579 19.1889L16.0002 30.4321L1.85238 12.3266Z"
      fill={color || "#fca326"}
    />
    <path
      d="M1.85522 12.3266H10.1126L6.55885 1.42414C6.51801 1.30243 6.4399 1.1966 6.33554 1.12162C6.23119 1.04664 6.10586 1.0063 5.97729 1.0063C5.84872 1.0063 5.7234 1.04664 5.61905 1.12162C5.51469 1.1966 5.43658 1.30243 5.39574 1.42414L1.85522 12.3266Z"
      fill={color || "#e24329"}
    />
    <path
      d="M16.0002 30.4236L21.8925 12.3209H30.1528L16.0002 30.4236Z"
      fill={color || "#fc6d26"}
    />
    <path
      d="M30.1471 12.3266L31.9397 17.8271C32.0197 18.0715 32.0201 18.3351 31.9408 18.5798C31.8614 18.8245 31.7063 19.0377 31.4979 19.1889L16.0002 30.4236L30.1433 12.3266H30.1471Z"
      fill={color || "#fca326"}
    />
    <path
      d="M30.1509 12.3266H21.8944L25.4416 1.42414C25.4822 1.30231 25.5601 1.19632 25.6644 1.12121C25.7687 1.0461 25.8941 1.00568 26.0227 1.00568C26.1513 1.00568 26.2766 1.0461 26.3809 1.12121C26.4852 1.19632 26.5632 1.30231 26.6038 1.42414L30.1509 12.3266Z"
      fill={color || "#e24329"}
    />
  </IntegrationLogoSvgWrapper>
);
