import React, { Component, version } from "react";
export default function IconGithub({version,style}){
  return(
    <>
      {
        version === 'v1' ? 
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><title>github</title><path d="M37.5,17.47A20.55,20.55,0,0,0,31,57.5c1,.19,1.39-.45,1.39-1s0-1.78,0-3.5c-5.69,1.24-6.89-2.75-6.89-2.75a5.48,5.48,0,0,0-2.27-3C21.38,46,23.38,46,23.38,46a4.28,4.28,0,0,1,3.13,2.11c1.83,3.14,4.79,2.24,6,1.71a4.36,4.36,0,0,1,1.3-2.75c-4.55-.52-9.32-2.28-9.32-10.15a8,8,0,0,1,2.1-5.51,7.42,7.42,0,0,1,.2-5.43s1.72-.56,5.63,2.1a19.34,19.34,0,0,1,10.24,0c3.91-2.65,5.63-2.1,5.63-2.1a7.42,7.42,0,0,1,.2,5.43,8,8,0,0,1,2.1,5.52c0,7.89-4.78,9.62-9.34,10.13a4.89,4.89,0,0,1,1.39,3.8c0,2.75,0,5,0,5.64s.36,1.19,1.4,1a20.55,20.55,0,0,0-6.48-40Z"/></svg>
        : version === 'v2' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><defs></defs><title>github_1</title><path class="cls-1" style={{fillRule:'evenodd'}} d="M37.5,1.78A35.72,35.72,0,1,0,73.22,37.5,35.72,35.72,0,0,0,37.5,1.78ZM44,57.49c-1,.21-1.4-.43-1.4-1s0-2.89,0-5.64a4.89,4.89,0,0,0-1.39-3.8c4.56-.51,9.34-2.24,9.34-10.13a8,8,0,0,0-2.1-5.52,7.42,7.42,0,0,0-.2-5.43s-1.72-.55-5.63,2.1a19.34,19.34,0,0,0-10.24,0c-3.91-2.66-5.63-2.1-5.63-2.1a7.42,7.42,0,0,0-.2,5.43,8,8,0,0,0-2.1,5.51c0,7.87,4.77,9.63,9.32,10.15a4.36,4.36,0,0,0-1.3,2.75c-1.17.53-4.13,1.43-6-1.71A4.28,4.28,0,0,0,23.38,46s-2,0-.14,1.24a5.48,5.48,0,0,1,2.27,3s1.2,4,6.89,2.75c0,1.72,0,3,0,3.5s-.37,1.18-1.39,1a20.47,20.47,0,1,1,12.94,0Z"/></svg>
        : version === 'v3' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={{background:'initial',padding:'0px'}}><defs></defs><title>github_2</title><path class="cls-1" style={{fill:'#5c6bc0',fillRule:'evenodd'}} d="M37.5,1.78A35.72,35.72,0,1,0,73.22,37.5,35.72,35.72,0,0,0,37.5,1.78Zm7.2,57.94c-1.15.22-1.56-.49-1.56-1.1s0-3.21,0-6.26a5.5,5.5,0,0,0-1.54-4.23C46.69,47.57,52,45.64,52,36.87a8.84,8.84,0,0,0-2.33-6.12,8.26,8.26,0,0,0-.23-6s-1.91-.61-6.25,2.34a21.41,21.41,0,0,0-11.38,0c-4.34-3-6.25-2.34-6.25-2.34a8.15,8.15,0,0,0-.22,6A8.84,8.84,0,0,0,23,36.87c0,8.74,5.31,10.7,10.35,11.28a4.86,4.86,0,0,0-1.44,3.05c-1.3.59-4.59,1.59-6.62-1.9A4.77,4.77,0,0,0,21.81,47s-2.22,0-.15,1.39a6,6,0,0,1,2.52,3.34s1.33,4.44,7.66,3.06c0,1.9,0,3.34,0,3.88s-.42,1.31-1.55,1.1a22.72,22.72,0,1,1,14.38,0Z"/></svg>
        : version === 'v4' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={{background:'initial',padding:'0px'}}><defs></defs><title>github_3</title><path class="cls-1" style={{fill:'#5c6bc0'}} d="M37.5,15.24a22.84,22.84,0,0,0-7.18,44.48c1.13.21,1.55-.5,1.55-1.1s0-2,0-3.88c-6.33,1.38-7.66-3.06-7.66-3.06a6,6,0,0,0-2.52-3.34c-2.07-1.42.15-1.39.15-1.39a4.77,4.77,0,0,1,3.48,2.35c2,3.49,5.32,2.49,6.62,1.9a4.86,4.86,0,0,1,1.44-3.05C28.31,47.57,23,45.61,23,36.87a8.84,8.84,0,0,1,2.34-6.13,8.15,8.15,0,0,1,.22-6s1.91-.62,6.25,2.34a21.41,21.41,0,0,1,11.38,0c4.34-2.95,6.25-2.34,6.25-2.34a8.26,8.26,0,0,1,.23,6A8.84,8.84,0,0,1,52,36.87c0,8.77-5.31,10.7-10.37,11.26a5.5,5.5,0,0,1,1.54,4.23c0,3,0,5.51,0,6.26s.41,1.32,1.56,1.1a22.84,22.84,0,0,0-7.2-44.48Z"/></svg>
        :
        null
      }
    </>
  )
}