Copy < script >
const headerSocials = document.querySelectorAll(".socials");
const instagramLink = "CHANGE_THIS_TO_YOUR_SOCIAL_LINK";
headerSocials.forEach(social => {
social .insertAdjacentHTML ( "beforeend" ,
`<a class="social-link" href=" ${ instagramLink } " target="_blank" rel="noopener noreferrer" aria-label="instagram">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.0012 8.40002C10.0123 8.40002 8.40117 10.0117 8.40117 12C8.40117 13.9888 10.0129 15.6 12.0012 15.6C13.99 15.6 15.6012 13.9883 15.6012 12C15.6012 10.0113 13.9895 8.40002 12.0012 8.40002ZM12.0012 6.00002C15.3137 6.00002 18.0012 8.68454 18.0012 12C18.0012 15.3126 15.3167 18 12.0012 18C8.6886 18 6.00117 15.3155 6.00117 12C6.00117 8.68745 8.68569 6.00002 12.0012 6.00002ZM19.8012 5.699C19.8012 6.52713 19.1282 7.19902 18.3012 7.19902C17.4731 7.19902 16.8012 6.5261 16.8012 5.699C16.8012 4.8719 17.474 4.20002 18.3012 4.20002C19.1272 4.19897 19.8012 4.8719 19.8012 5.699ZM12.0012 2.40002C9.03179 2.40002 8.54781 2.40788 7.16672 2.46938C6.22577 2.51355 5.59503 2.6401 5.00898 2.86762C4.48818 3.0696 4.1125 3.31079 3.71222 3.71108C3.3104 4.1129 3.06964 4.48757 2.86847 5.00861C2.64042 5.596 2.51391 6.22575 2.47053 7.1654C2.40843 8.49026 2.40117 8.95328 2.40117 12C2.40117 14.9694 2.40903 15.4534 2.47052 16.8343C2.51471 17.7749 2.64143 18.4066 2.8684 18.9912C3.07091 19.5127 3.31259 19.8893 3.71094 20.2877C4.11435 20.6905 4.49014 20.9321 5.00624 21.1313C5.59942 21.3606 6.22977 21.4873 7.16654 21.5307C8.49141 21.5927 8.95443 21.6 12.0012 21.6C14.9706 21.6 15.4546 21.5921 16.8355 21.5307C17.774 21.4866 18.4062 21.3595 18.9924 21.1327C19.5125 20.9308 19.8902 20.6883 20.2889 20.2902C20.6923 19.8862 20.9334 19.5113 21.1328 18.994C21.3616 18.403 21.4885 17.7718 21.5318 16.8347C21.5939 15.5098 21.6012 15.0467 21.6012 12C21.6012 9.03064 21.5933 8.54667 21.5318 7.16566C21.4877 6.22689 21.3606 5.5938 21.1336 5.00783C20.9321 4.48847 20.69 4.11164 20.2901 3.71108C19.8876 3.3086 19.5139 3.06833 18.9925 2.86732C18.4056 2.63946 17.7749 2.51277 16.8358 2.46939C15.511 2.40728 15.0479 2.40002 12.0012 2.40002ZM12.0012 1.52588e-05C15.2611 1.52588e-05 15.6682 0.0120152 16.9482 0.0720152C18.2251 0.131019 19.0962 0.333015 19.8612 0.630015C20.6521 0.935019 21.3202 1.34702 21.9871 2.01401C22.6531 2.68102 23.0652 3.35102 23.3712 4.14002C23.6671 4.90402 23.8692 5.77601 23.9292 7.05302C23.9862 8.33302 24.0012 8.74001 24.0012 12C24.0012 15.2601 23.9892 15.667 23.9292 16.947C23.8702 18.2241 23.6671 19.095 23.3712 19.86C23.0662 20.6511 22.6531 21.319 21.9871 21.9861C21.3202 22.6521 20.6491 23.064 19.8612 23.37C19.0962 23.6661 18.2251 23.868 16.9482 23.928C15.6682 23.985 15.2611 24 12.0012 24C8.74116 24 8.33416 23.988 7.05417 23.928C5.77716 23.869 4.90716 23.6661 4.14117 23.37C3.35116 23.065 2.68216 22.6521 2.01516 21.9861C1.34817 21.319 0.937167 20.6481 0.631167 19.86C0.334167 19.095 0.133168 18.2241 0.0731675 16.947C0.0161675 15.667 0.0011673 15.2601 0.0011673 12C0.0011673 8.74001 0.0131675 8.33302 0.0731675 7.05302C0.13216 5.77502 0.334167 4.90502 0.631167 4.14002C0.936159 3.35002 1.34817 2.68102 2.01516 2.01401C2.68216 1.34702 3.35217 0.936015 4.14117 0.630015C4.90617 0.333015 5.77617 0.132015 7.05417 0.0720152C8.33416 0.0150152 8.74116 1.52588e-05 12.0012 1.52588e-05Z" fill="black"/>
</svg>
</a>` );
})
</ script >