25 lines
812 B
HTML
25 lines
812 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>stay phly!</title>
|
|
<style>
|
|
html,body{height:100%;margin:0}
|
|
body{display:grid;place-items:center;background:#fff}
|
|
img{display:block;width:min(72vw,760px);height:auto;max-height:82vh;object-fit:contain}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<img id="phly" alt="">
|
|
<script>
|
|
fetch('phly-mascot.b64')
|
|
.then(r=>{if(!r.ok) throw new Error('asset'); return r.text()})
|
|
.then(s=>{
|
|
const bin=atob(s.trim()), bytes=new Uint8Array(bin.length);
|
|
for(let i=0;i<bin.length;i++) bytes[i]=bin.charCodeAt(i);
|
|
document.getElementById('phly').src=URL.createObjectURL(new Blob([bytes],{type:'image/webp'}));
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |