Files
vibemake/pcb.html
T
Jerry 1c837766cd feat: integrate robot assembly and simulation with resilient loading
Add backend-driven assembly and simulation experiences, MAKE branding, mobile rendering budgets and desktop-only CAD/PCB routes. Improve logo loading progress, document image recovery and URDF request handling; include dev packaging and regression coverage.
2026-10-30 18:38:39 +08:00

37 lines
1.3 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<script src="/js/desktop-tools.js"></script>
<title>make PCB</title>
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
<style>
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
#pcb-frame { position: fixed; inset: 0; display: block; width: 100vw; height: 100vh; height: 100dvh; border: 0; }
</style>
</head>
<body>
<iframe
id="pcb-frame"
data-desktop-src="https://cadworld-studio.robotquan.com/pcb"
title="make PCB"
allow="clipboard-read; clipboard-write; fullscreen"
allowfullscreen
referrerpolicy="strict-origin-when-cross-origin"></iframe>
<script>
const pcbFrame = document.getElementById('pcb-frame');
window.addEventListener('message', (event) => {
if (event.source !== pcbFrame.contentWindow
|| event.origin !== new URL(pcbFrame.dataset.desktopSrc, document.baseURI).origin
|| event.data?.type !== 'vibemake:navigate-home') return;
window.location.assign('/');
});
</script>
</body>
</html>