mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-24 10:16:59 -06:00
apps/designcraft-web runs DesignApp through eframe's web runner (wgpu: WebGPU with WebGL2 fallback, ?webgl forces GL, ?sample opens the sample). Services gain open_async, download and an inbox: browser-picked and dropped files are fed back as file.openBytes (.designcraft) or file.place (images, base64); Save/Export download via Blob + anchor. The web app is excluded from default-members. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
869 B
HTML
20 lines
869 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
|
<title>DesignCraft</title>
|
|
<link data-trunk rel="rust" data-bin="designcraft-web" data-wasm-opt="z" data-weak-refs />
|
|
<style>
|
|
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #262626; }
|
|
#designcraft_canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
|
|
#designcraft_loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
|
|
color: #b8b8b8; font: 14px system-ui, sans-serif; pointer-events: none; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<canvas id="designcraft_canvas"></canvas>
|
|
<div id="designcraft_loading">Loading DesignCraft…</div>
|
|
</body>
|
|
</html>
|