Repository navigation
Expand file tree
/
Copy pathoffline.html
More file actions
31 lines (31 loc) · 5.19 KB
/
Copy pathoffline.html
File metadata and controls
31 lines (31 loc) · 5.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!doctype html><!-- Comb Code, Copyright (c) 2026 Avi Shor. Free to use, with or without credit. See LICENSE.md. No warranty. -->
<html lang="en"><head><meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://www.googletagmanager.com 'unsafe-inline' 'wasm-unsafe-eval' blob:; worker-src 'self' blob:; style-src 'self' 'unsafe-inline'; img-src 'self' https://www.googletagmanager.com https://*.google-analytics.com data: blob:; font-src 'self' data:; connect-src 'self' https://www.googletagmanager.com https://*.google-analytics.com https://*.analytics.google.com https://combcode-stats.avishorwork.workers.dev data: blob:; media-src 'self' blob: data:; object-src 'none'; base-uri 'self'; form-action 'self'">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-G28TD2G4VG"></script>
<script>(function(){try{var q=location.search;if(/[?&]cc_me=1/.test(q))localStorage.setItem('cc_me','1');if(/[?&]cc_me=0/.test(q))localStorage.removeItem('cc_me');if(localStorage.getItem('cc_me')==='1'){window['ga-disable-G-G28TD2G4VG']=true;return}var v=localStorage.getItem('cc_v');if(!v){v=Math.random().toString(36).slice(2)+Date.now().toString(36);localStorage.setItem('cc_v',v)}var u='https://combcode-stats.avishorwork.workers.dev/hit';function s(t){if(t==='ping'&&document.visibilityState==='hidden')return;fetch(u,{method:'POST',mode:'no-cors',keepalive:true,headers:{'Content-Type':'text/plain'},body:JSON.stringify({v:v,t:t,p:location.pathname})}).catch(function(){})}s('view');setInterval(function(){s('ping')},20000)}catch(e){}})()</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-G28TD2G4VG');
</script>
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Offline - Comb Code</title><meta name="theme-color" content="#ffffff">
<link rel="icon" href="brand/icon-32.png">
<style>@font-face{font-family:Poppins;font-weight:400;src:url(brand/fonts/Poppins-Regular.ttf)}@font-face{font-family:Poppins;font-weight:600;src:url(brand/fonts/Poppins-SemiBold.ttf)}@font-face{font-family:Poppins;font-weight:700;src:url(brand/fonts/Poppins-Bold.ttf)}*{box-sizing:border-box}body{margin:0;font:400 16px/1.6 Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;color:#1b1b1b;background:#fff}
main{max-width:560px;margin:auto;padding:60px 22px 60px;text-align:center}
img{width:96px;height:96px;border-radius:22px;box-shadow:0 8px 30px #0002}
h1{font-size:30px;letter-spacing:-.02em;margin:20px 0 8px}p{color:#585254;margin:0 0 24px}
button,.btn{font:700 16px system-ui;border:0;border-radius:14px;padding:14px 24px;background:#1b1b1b;color:#fff;cursor:pointer;text-decoration:none;display:inline-block;min-height:48px}
.btn.alt{background:#F4F4F6;color:#1b1b1b}.row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.strip{display:flex;height:8px;border-radius:8px;overflow:hidden;margin:30px auto;max-width:420px}.strip i{flex:1}
a,button,.btn{-webkit-tap-highlight-color:transparent;transition:filter .18s ease,background-color .18s ease,color .18s ease}
button:hover,.btn:hover{filter:brightness(1.16)}.btn.alt:hover{filter:brightness(.95)}a:hover{text-decoration-thickness:2px;text-underline-offset:3px}
button:active,.btn:active,a:active{filter:brightness(.94)}
:focus-visible{outline:none;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px}
</style><meta property="og:type" content="website"><meta property="og:title" content="Offline - Comb Code"><meta property="og:description" content="A color code that holds more."><meta name="description" content="A color code that holds more."><meta property="og:url" content="https://getcombcode.github.io/offline.html"><meta property="og:image" content="https://getcombcode.github.io/brand/share-banner-1200x630.png?v=2"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Offline - Comb Code"><meta name="twitter:description" content="A color code that holds more."><meta name="twitter:image" content="https://getcombcode.github.io/brand/share-banner-1200x630.png?v=2"></head><body><main>
<img src="brand/icon-512.png" alt="Comb Code icon">
<h1>You are offline</h1>
<p>This page was not saved for offline use yet. The main Comb tools work without a connection.</p>
<div class="row"><button onclick="location.reload()">Try again</button><a class="btn alt" href="use.html">Make or scan a code</a><a class="btn alt" href="docs.html">Docs</a></div>
<div class="strip"><i style="background:#D7263D"></i><i style="background:#F77F00"></i><i style="background:#F5C518"></i><i style="background:#2DB35A"></i><i style="background:#00B8D9"></i><i style="background:#2E5BFF"></i><i style="background:#B5179E"></i></div>
</main><style>.pcredit{text-align:center;padding:18px 16px 26px;font:400 14px/1.6 Poppins,system-ui,sans-serif;color:#585254}.pcredit a{color:#1b1b1b;font-weight:600;text-decoration:underline}@media print{.pcredit{display:none}}</style><div class="pcredit">Comb Code by <a href="https://getcombcode.github.io/">Avi Shor</a> · <a href="license.html">License</a></div></body></html>