Body

Tags
<script>
  window.onload = function () {
    var $logo = document.querySelector(".notion-link.super-navbar__logo");

    if ($logo) {
      $logo.href = "mailto:biz@asiamechatronics.com";
      $logo.target = "_blank";
      $logo.rel = "noopener noreferrer";
    }

    var $elements = document.querySelectorAll("article > *");
    for ($element of $elements) {
      if ($element.id === "block-7356a974bd06456a801a6b1a3a0177c0") {
        break;
      }

      function setAOSEffect($target, delay = 300) {
        $target.setAttribute("data-aos", "fade");
        $target.setAttribute("data-aos-easing", "ease");
        $target.setAttribute("data-aos-duration", 600);
        $target.setAttribute("data-aos-delay", delay);
        $target.setAttribute("data-aos-offset", 0);
      }

      if ($element.classList.contains("notion-collection")) {
        var $childElements = $element.querySelectorAll(
          ".notion-collection-card"
        );
        var index = 0;
        for ($childElement of $childElements) {
          setAOSEffect($childElement, 300 + index);
          index += 0;
        }
      } else {
        setAOSEffect($element);
      }
    }
    AOS.init();
  };
</script>