solfunmeme-dioxus / 404.html
h4's picture
kagenti deploy
e6c6838 verified
Raw
History Blame Contribute Delete
1.76 kB
<!DOCTYPE html>
<html><head>
<title>SOLFUNMEME DAO</title>
<meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<style>.dx-toast,#dx-toast-template{display:none!important}</style>
<script type="importmap">{"imports":{"env":"data:text/javascript,export default {}"}}</script>
</head><body>
<div id="main"><div style="display:flex;align-items:center;justify-content:center;height:100vh;flex-direction:column;font-family:sans-serif;background:#0a0a0a;color:#e0e0e0">
<div style="font-size:2.5rem;margin-bottom:1rem">☀️ SOLFUNMEME DAO</div>
<div style="width:280px;height:6px;background:#222;border-radius:3px;overflow:hidden"><div id="pbar" style="width:0%;height:100%;background:linear-gradient(90deg,#f7931a,#ffcc00);border-radius:3px;transition:width .15s"></div></div>
<div id="ptext" style="margin-top:.8rem;font-size:.85rem;opacity:.6">Loading 71 Gandalf shards…</div>
<div id="pdetail" style="margin-top:.3rem;font-size:.75rem;opacity:.4">0/71</div>
</div></div>
<script type="module">
import{loadShardedWasm}from"/assets/shard-loader.js";
const pb=document.getElementById("pbar"),pt=document.getElementById("ptext"),pd=document.getElementById("pdetail");
const buf=await loadShardedWasm((s,t,b,tb)=>{const p=Math.round(s/t*100);pb.style.width=p+"%";pt.textContent="Assembling… "+p+"%";pd.textContent=s+"/"+t+" · "+(b/1024|0)+"KB"});
pt.textContent="Initializing…";pb.style.width="100%";
const wr=new Response(buf,{headers:{"Content-Type":"application/wasm"}});
const of=window.fetch;window.fetch=function(u,o){return typeof u==="string"&&u.includes("_bg")&&u.endsWith(".wasm")?Promise.resolve(wr):of.call(this,u,o)};
await import("/assets/solfunmeme-dioxus-dxh142a6fdd4c7b65f1.js");
</script></body></html>