@benev/slate
Version:
frontend web stuff
91 lines (65 loc) • 1.75 kB
HTML
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="darkreader-lock"/>
<title>@benev/slate</title>
<link rel="stylesheet" href="index.css?v=637831fc"/>
<link rel="icon" href="assets/s.webp"/>
<script>
const params = new URLSearchParams(window.location.search)
const launch_in_dev_mode = params.has("dev")
? params.get("dev") !== "false"
: (
window.location.host.startsWith("localhost") ||
window.location.host.startsWith("192.")
)
function script(attributes) {
const element = document.createElement("script")
element.defer = true
for (const [key, value] of Object.entries(attributes))
element.setAttribute(key, value === true ?"" :value)
document.head.appendChild(element)
}
if (launch_in_dev_mode) {
document.title = "[dev] " + document.title
script({
type: "importmap-shim",
src: "importmap.json?v=83e84a8a",
})
script({
type: "module-shim",
src: "demo.bundle.js?v=7be0f887",
})
script({
type: "module",
src: "node_modules/es-module-shims/dist/es-module-shims.wasm.js",
})
}
else {
script({
type: "module",
src: "demo.bundle.min.js?v=33bfcb0d",
})
}
</script>
</head>
<body>
<div class=zone>
<img class=logo alt="" src="assets/s.webp"/>
<div class=plate>
<h1><span>@benev/</span><span>slate</span></h1>
<p><a href="https://github.com/benevolent-games/slate">github.com/benevolent-games/slate</a></p>
</div>
<div class=plate>
<slate-gold></slate-gold>
<br/>
<slate-carbon></slate-carbon>
<slate-oxygen></slate-oxygen>
<br/>
<slate-silver></slate-silver>
</div>
</div>
</body>
</html>