54 lines
1.9 KiB
HTML
54 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!-- Hack to avoid the addition of the script part by dioxus-cli -->
|
|
<!-- <title>{base_path}</title> -->
|
|
<!-- <title>{app_name}</title> -->
|
|
|
|
<title></title>
|
|
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta charset="UTF-8" />
|
|
{style_include}
|
|
{script_include}
|
|
</head>
|
|
<body>
|
|
<div id="main">
|
|
<div id="preloader" class="loader">
|
|
<div class="wallpaper">
|
|
<div class="content"></div>
|
|
</div>
|
|
<div class="spinner">
|
|
<svg viewBox="0 0 184 94" xmlns="http://www.w3.org/2000/svg">
|
|
<path
|
|
stroke-linejoin="round"
|
|
stroke-width="6"
|
|
d="M121.208 2 2 57.011l70.927-.265L61.363 92 182 36.724h-69.498L121.208 2Z"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="module" async>
|
|
import init from "{base_path}/assets/dioxus/beau-gosse-du-92.js";
|
|
|
|
// Ensure that everything needed to render preloader has been downloaded
|
|
// before fetching the wasm bundle.
|
|
window.onload=function() {
|
|
init("{base_path}/assets/dioxus/beau-gosse-du-92_bg.wasm").then(
|
|
wasm => {
|
|
const preloader = document.getElementById("preloader");
|
|
if (preloader !== undefined) {
|
|
preloader.style.display = 'none';
|
|
}
|
|
|
|
if (wasm.__wbindgen_start == undefined) {
|
|
wasm.main();
|
|
}
|
|
}
|
|
);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|