Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

This contains helper code to make sure the calculator runs correctly. Calculator is build in weebflow.

Notifications You must be signed in to change notification settings

Getonnet/ads-calculator-2024-custom-code

Repository files navigation

<!--local script-->
<script src="http://localhost:5173/src/main.js"></script>

<!--github pages script-->
<script>
  if (typeof vite === "undefined") {
    // add css to head
    let link = document.createElement("link");
    link.rel = "stylesheet";
    link.href = "https://getonnet.github.io/ads-calculator-2024-custom-code/dist/assets/index.css";
    document.head.appendChild(link);

    // add JS code to end of body
    let script = document.createElement("script");
    script.type = "text/javascript";
    script.src = "https://getonnet.github.io/ads-calculator-2024-custom-code/dist/assets/index.js";
    document.body.appendChild(script);
  }
</script>

git acp is a custom git alias for git add, git commit & git push. If you dont create a customa alias, that command wont work. In this case you can run pnpm build and then, push to github manually.

About

This contains helper code to make sure the calculator runs correctly. Calculator is build in weebflow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages