import type { SVGAttributes } from 'react'

const LogoSvg = (props: SVGAttributes<SVGElement>) => {
  return (
    <div className='bg-primary text-background relative flex size-8 overflow-hidden rounded-full dark:text-white'>
      <svg
        className='absolute -top-px right-0'
        width='32'
        height='32'
        viewBox='0 0 32 32'
        fill='none'
        xmlns='http://www.w3.org/2000/svg'
        {...props}
      >
        <rect width='32' height='32' rx='16' transform='matrix(1 0 0 -1 0 32)' />
        <path
          fillRule='evenodd'
          clipRule='evenodd'
          d='M8.25381 15.1492L5.48136 21.5397C5.48136 21.5397 12.1694 19.6026 14.6905 23.1079C14.6905 23.1079 10.4524 19.7514 4 22.8519L7.63371 15.3026L8.25381 15.1492ZM23.7462 15.1492L26.5186 21.5397C26.5186 21.5397 19.8314 19.6026 17.3095 23.1079C17.3095 23.1079 21.5476 19.7514 28 22.8519L24.3663 15.3026L23.7462 15.1492ZM16.8742 21.8724C20.0107 19.4484 24.9253 20.4631 24.9253 20.4631L22.9671 14.5236C22.1114 14.1345 20.9072 14.0217 19.739 14.1548C19.8823 14.9135 19.9081 15.6667 19.7594 16.3792C19.6873 16.7174 19.5801 17.04 19.4258 17.3422L19.3695 18.0602C19.2982 18.9622 18.9647 19.8023 18.3093 20.4381C18.0525 20.6839 17.6736 20.9556 17.3353 21.073L17.084 21.1607C17.0175 21.4011 16.9509 21.6423 16.8742 21.8724ZM15.8391 23.0461C15.8391 23.0461 18.094 19.8892 16.2024 12.971C16.2024 12.971 18.0838 16.1177 17.1764 20.6479C17.1764 20.6479 18.7447 20.0998 18.9138 18.0242C18.9138 18.0242 18.4573 18.2395 18.1809 18.2192C17.8991 18.198 21.42 16.6861 17.6532 10.2244L17.0276 11.0903C17.0276 11.0903 17.9249 9.65517 16.146 8C16.146 8 15.1673 9.39366 14.7931 10.2956L15.1932 11.2281L14.5879 10.5728C14.5879 10.5728 12.9844 13.6216 13.9068 16.2868L14.952 17.6038L14.0297 17.0502C14.0297 17.0502 14.0915 19.2441 16.0231 20.4944C16.0184 20.4991 15.9722 22.2467 15.8391 23.0461ZM13.1637 14.3083C11.7489 13.9802 10.1094 14.0319 9.03285 14.5236L7.06998 20.4631C7.06998 20.4631 12.3745 19.367 15.4797 22.17C15.4852 22.0932 15.4899 22.0165 15.4954 21.9398C15.5212 21.5397 15.5416 21.1294 15.5572 20.7301C14.7727 20.1609 14.2043 19.3819 13.8707 18.465C13.722 18.0547 13.5842 17.5067 13.5685 17.0659L13.5529 16.5843L13.4965 16.5123L13.4714 16.4403C13.235 15.7489 13.1481 15.031 13.1637 14.3083Z'
          fill='currentColor'
        />
      </svg>
    </div>
  )
}

export default LogoSvg
