index.html (1496B)
1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8" /> 5 <meta name="viewport" content="width=device-width, initial-scale=1" /> 6 <title>Godot App Template</title> 7 <style> 8 html, body { 9 margin: 0; 10 width: 100%; 11 height: 100%; 12 font-family: system-ui, sans-serif; 13 background: #0b0d12; 14 color: #e8ecf6; 15 } 16 .wrap { 17 min-height: 100%; 18 display: grid; 19 place-items: center; 20 padding: 24px; 21 box-sizing: border-box; 22 text-align: center; 23 } 24 .card { 25 border: 1px solid rgba(255, 255, 255, 0.15); 26 border-radius: 12px; 27 padding: 18px; 28 max-width: 760px; 29 background: rgba(255, 255, 255, 0.04); 30 } 31 code { 32 background: rgba(255, 255, 255, 0.08); 33 padding: 2px 6px; 34 border-radius: 6px; 35 } 36 </style> 37 </head> 38 <body> 39 <div class="wrap"> 40 <div class="card"> 41 <h1>Godot Template Ready</h1> 42 <p>Replace this file with your Godot HTML5 export entry file.</p> 43 <p>Copy all export assets into this folder: <code>godotapp/</code></p> 44 <p>Expected entry path in Bzl: <code>/plugins/godot/godotapp/index.html</code></p> 45 </div> 46 </div> 47 <script> 48 window.parent?.postMessage?.( 49 { 50 type: "bzl.godot.v1", 51 event: "ready", 52 payload: { status: "template" } 53 }, 54 "*" 55 ); 56 </script> 57 </body> 58 </html>