CyberMax-tools commited on
Commit
999d752
·
verified ·
1 Parent(s): d23a756

Deploy billsprig to the hub

Browse files
billsprig/freelance-invoice-template/index.html CHANGED
@@ -247,5 +247,5 @@
247
  <script src="lib/calc.js"></script>
248
  <script src="lib/pdf.js"></script>
249
  <script src="app.js"></script>
250
- <!-- cybermax-count:start --><script>(function(){try{var u="https://data.cybermaxtools.com/v?p="+encodeURIComponent(location.host+location.pathname)+"&r="+encodeURIComponent((document.referrer||"").split("/")[2]||"")+(function(){var q=new URLSearchParams(location.search),s=q.get("utm_source"),t=(q.get("s")||"").toLowerCase().replace(/[^a-z0-9-]/g,"-").slice(0,80);return s?"&us="+encodeURIComponent(s)+"&uc="+encodeURIComponent(q.get("utm_campaign")||""):t?"&us=s&uc="+encodeURIComponent(t):""})();navigator.sendBeacon?navigator.sendBeacon(u):(new Image).src=u}catch(e){}})()</script><!-- cybermax-count:end --></body>
251
  </html>
 
247
  <script src="lib/calc.js"></script>
248
  <script src="lib/pdf.js"></script>
249
  <script src="app.js"></script>
250
+ <!-- cybermax-count:start --><script>(function(){try{var u="https://data.cybermaxtools.com/v?p="+encodeURIComponent(location.host+location.pathname)+"&r="+encodeURIComponent((document.referrer||"").split("/")[2]||"")+(function(){var q=new URLSearchParams(location.search),s=q.get("utm_source");return s?"&us="+encodeURIComponent(s)+"&uc="+encodeURIComponent(q.get("utm_campaign")||""):""})();navigator.sendBeacon?navigator.sendBeacon(u):(new Image).src=u}catch(e){}})()</script><!-- cybermax-count:end --></body>
251
  </html>
billsprig/how-to-make-an-invoice/index.html CHANGED
@@ -247,5 +247,5 @@
247
  <script src="lib/calc.js"></script>
248
  <script src="lib/pdf.js"></script>
249
  <script src="app.js"></script>
250
- <!-- cybermax-count:start --><script>(function(){try{var u="https://data.cybermaxtools.com/v?p="+encodeURIComponent(location.host+location.pathname)+"&r="+encodeURIComponent((document.referrer||"").split("/")[2]||"")+(function(){var q=new URLSearchParams(location.search),s=q.get("utm_source"),t=(q.get("s")||"").toLowerCase().replace(/[^a-z0-9-]/g,"-").slice(0,80);return s?"&us="+encodeURIComponent(s)+"&uc="+encodeURIComponent(q.get("utm_campaign")||""):t?"&us=s&uc="+encodeURIComponent(t):""})();navigator.sendBeacon?navigator.sendBeacon(u):(new Image).src=u}catch(e){}})()</script><!-- cybermax-count:end --></body>
251
  </html>
 
247
  <script src="lib/calc.js"></script>
248
  <script src="lib/pdf.js"></script>
249
  <script src="app.js"></script>
250
+ <!-- cybermax-count:start --><script>(function(){try{var u="https://data.cybermaxtools.com/v?p="+encodeURIComponent(location.host+location.pathname)+"&r="+encodeURIComponent((document.referrer||"").split("/")[2]||"")+(function(){var q=new URLSearchParams(location.search),s=q.get("utm_source");return s?"&us="+encodeURIComponent(s)+"&uc="+encodeURIComponent(q.get("utm_campaign")||""):""})();navigator.sendBeacon?navigator.sendBeacon(u):(new Image).src=u}catch(e){}})()</script><!-- cybermax-count:end --></body>
251
  </html>
billsprig/index.html CHANGED
@@ -271,5 +271,5 @@
271
  <script src="lib/calc.js"></script>
272
  <script src="lib/pdf.js"></script>
273
  <script src="app.js"></script>
274
- <!-- cybermax-count:start --><script>(function(){try{var u="https://data.cybermaxtools.com/v?p="+encodeURIComponent(location.host+location.pathname)+"&r="+encodeURIComponent((document.referrer||"").split("/")[2]||"")+(function(){var q=new URLSearchParams(location.search),s=q.get("utm_source"),t=(q.get("s")||"").toLowerCase().replace(/[^a-z0-9-]/g,"-").slice(0,80);return s?"&us="+encodeURIComponent(s)+"&uc="+encodeURIComponent(q.get("utm_campaign")||""):t?"&us=s&uc="+encodeURIComponent(t):""})();navigator.sendBeacon?navigator.sendBeacon(u):(new Image).src=u}catch(e){}})()</script><!-- cybermax-count:end --></body>
275
  </html>
 
271
  <script src="lib/calc.js"></script>
272
  <script src="lib/pdf.js"></script>
273
  <script src="app.js"></script>
274
+ </body>
275
  </html>
billsprig/invoice-for-services-rendered/index.html CHANGED
@@ -244,5 +244,5 @@
244
  <script src="lib/calc.js"></script>
245
  <script src="lib/pdf.js"></script>
246
  <script src="app.js"></script>
247
- <!-- cybermax-count:start --><script>(function(){try{var u="https://data.cybermaxtools.com/v?p="+encodeURIComponent(location.host+location.pathname)+"&r="+encodeURIComponent((document.referrer||"").split("/")[2]||"")+(function(){var q=new URLSearchParams(location.search),s=q.get("utm_source"),t=(q.get("s")||"").toLowerCase().replace(/[^a-z0-9-]/g,"-").slice(0,80);return s?"&us="+encodeURIComponent(s)+"&uc="+encodeURIComponent(q.get("utm_campaign")||""):t?"&us=s&uc="+encodeURIComponent(t):""})();navigator.sendBeacon?navigator.sendBeacon(u):(new Image).src=u}catch(e){}})()</script><!-- cybermax-count:end --></body>
248
  </html>
 
244
  <script src="lib/calc.js"></script>
245
  <script src="lib/pdf.js"></script>
246
  <script src="app.js"></script>
247
+ <!-- cybermax-count:start --><script>(function(){try{var u="https://data.cybermaxtools.com/v?p="+encodeURIComponent(location.host+location.pathname)+"&r="+encodeURIComponent((document.referrer||"").split("/")[2]||"")+(function(){var q=new URLSearchParams(location.search),s=q.get("utm_source");return s?"&us="+encodeURIComponent(s)+"&uc="+encodeURIComponent(q.get("utm_campaign")||""):""})();navigator.sendBeacon?navigator.sendBeacon(u):(new Image).src=u}catch(e){}})()</script><!-- cybermax-count:end --></body>
248
  </html>
billsprig/polish.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! CyberMax UI 2026 polish layer (shared/polish-kit, copy-in template). © 2026 CyberMax. All rights reserved.
2
  Load AFTER the product's own stylesheet: <link rel="stylesheet" href="polish.css">. Works with the "CyberMax web app base"
3
  tokens (--bg --surface --ink --muted --line --accent --accent-soft) and falls back to --card/--brand where an app uses those.
4
  Brand type system v2 (docs/brand/system.md): Space Grotesk for display, Inter for body. Both OFL, self-hosted.
 
1
+ /*! CyberMax UI 2026 polish layer (shared/polish-kit, copy-in template). © 2026 CyberMax. All rights reserved. Fonts in fonts/: Inter and Space Grotesk, SIL Open Font License 1.1. */
2
  Load AFTER the product's own stylesheet: <link rel="stylesheet" href="polish.css">. Works with the "CyberMax web app base"
3
  tokens (--bg --surface --ink --muted --line --accent --accent-soft) and falls back to --card/--brand where an app uses those.
4
  Brand type system v2 (docs/brand/system.md): Space Grotesk for display, Inter for body. Both OFL, self-hosted.
billsprig/self-employed-invoice-uk/index.html CHANGED
@@ -244,5 +244,5 @@
244
  <script src="lib/calc.js"></script>
245
  <script src="lib/pdf.js"></script>
246
  <script src="app.js"></script>
247
- <!-- cybermax-count:start --><script>(function(){try{var u="https://data.cybermaxtools.com/v?p="+encodeURIComponent(location.host+location.pathname)+"&r="+encodeURIComponent((document.referrer||"").split("/")[2]||"")+(function(){var q=new URLSearchParams(location.search),s=q.get("utm_source"),t=(q.get("s")||"").toLowerCase().replace(/[^a-z0-9-]/g,"-").slice(0,80);return s?"&us="+encodeURIComponent(s)+"&uc="+encodeURIComponent(q.get("utm_campaign")||""):t?"&us=s&uc="+encodeURIComponent(t):""})();navigator.sendBeacon?navigator.sendBeacon(u):(new Image).src=u}catch(e){}})()</script><!-- cybermax-count:end --></body>
248
  </html>
 
244
  <script src="lib/calc.js"></script>
245
  <script src="lib/pdf.js"></script>
246
  <script src="app.js"></script>
247
+ <!-- cybermax-count:start --><script>(function(){try{var u="https://data.cybermaxtools.com/v?p="+encodeURIComponent(location.host+location.pathname)+"&r="+encodeURIComponent((document.referrer||"").split("/")[2]||"")+(function(){var q=new URLSearchParams(location.search),s=q.get("utm_source");return s?"&us="+encodeURIComponent(s)+"&uc="+encodeURIComponent(q.get("utm_campaign")||""):""})();navigator.sendBeacon?navigator.sendBeacon(u):(new Image).src=u}catch(e){}})()</script><!-- cybermax-count:end --></body>
248
  </html>
billsprig/sw.js CHANGED
@@ -5,8 +5,9 @@
5
  * - Never cached: anything on another origin (data.cybermaxtools.com buy/unlock, cybermaxtools.com/store/convert.js)
6
  * and checkout/unlock/API paths on this origin. Those go straight to the network and simply fail offline; the app
7
  * already handles that (Pro unlock says it could not reach the check, the convert kit is skipped). */
8
- var CACHE = "billsprig-v5";
9
- var CORE = ["./", "index.html", "style.css", "polish.css", "polish.js", "fonts/inter-latin-400-normal.woff2", "fonts/inter-latin-600-normal.woff2", "fonts/space-grotesk-latin-700-normal.woff2", "pro.js", "lib/calc.js", "lib/pdf.js", "app.js", "manifest.webmanifest",
 
10
  "icon.svg", "icon-192.png", "icon-512.png", "icon-maskable-512.png"];
11
  var EXTRA = ["freelance-invoice-template/index.html", "how-to-make-an-invoice/index.html",
12
  "invoice-for-services-rendered/index.html", "self-employed-invoice-uk/index.html", "guides.json"];
 
5
  * - Never cached: anything on another origin (data.cybermaxtools.com buy/unlock, cybermaxtools.com/store/convert.js)
6
  * and checkout/unlock/API paths on this origin. Those go straight to the network and simply fail offline; the app
7
  * already handles that (Pro unlock says it could not reach the check, the convert kit is skipped). */
8
+ /* 16 Oct 2026: './' is not precached: the Hugging Face static host answers 404 for a folder URL, which made the whole install fail (no offline). Navigations fall back to index.html. */
9
+ var CACHE = "billsprig-v6";
10
+ var CORE = ["index.html", "style.css", "polish.css", "polish.js", "fonts/inter-latin-400-normal.woff2", "fonts/inter-latin-600-normal.woff2", "fonts/space-grotesk-latin-700-normal.woff2", "pro.js", "lib/calc.js", "lib/pdf.js", "app.js", "manifest.webmanifest",
11
  "icon.svg", "icon-192.png", "icon-512.png", "icon-maskable-512.png"];
12
  var EXTRA = ["freelance-invoice-template/index.html", "how-to-make-an-invoice/index.html",
13
  "invoice-for-services-rendered/index.html", "self-employed-invoice-uk/index.html", "guides.json"];