No edit summary
No edit summary
Line 324: Line 324:
     ul.className = "noprint crw-footer-social";
     ul.className = "noprint crw-footer-social";


     function add(href, label, cls) {
     function add(href, label) {
       var li = document.createElement("li");
       var li = document.createElement("li");
       var a = document.createElement("a");
       var a = document.createElement("a");
       a.href = href;
       a.href = href;
       a.className = cls;
       a.textContent = label;
       a.setAttribute("aria-label", label);
       a.setAttribute("aria-label", label);
       a.title = label;
       a.title = label;


      var span = document.createElement("span");
      span.className = "footer-social-label";
      span.textContent = label;
      a.appendChild(span);
       li.appendChild(a);
       li.appendChild(a);
       ul.appendChild(li);
       ul.appendChild(li);
     }
     }


     add("https://discord.gg/8w5rSNAXRf", "Discord", "footer-social-discord");
     add("https://discord.gg/8w5rSNAXRf", "Discord");
     add("https://www.linkedin.com/company/fulu-foundation-usa", "Linkedin", "footer-social-linkedin");
     add("https://www.linkedin.com/company/fulu-foundation-usa", "LinkedIn");
     add("https://x.com/FULUFoundation", "X", "footer-social-x");
     add("https://x.com/FULUFoundation", "X");


     places.parentNode.insertBefore(ul, places.nextSibling);
     places.parentNode.insertBefore(ul, places.nextSibling);