ce4c2e086d
Generate a SHA-256 content hash for the embedded hemx runtime, expose the hashed path from hemx-axum, serve immutable runtime headers, and update examples to load the hemx-owned path instead of fixed /hemx.js URLs. req: axum_integration/005
21 lines
688 B
Plaintext
21 lines
688 B
Plaintext
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>hemx v0 examples</title>
|
|
<script +src="self.runtime_src" defer></script>
|
|
<style>
|
|
body { font-family: system-ui, sans-serif; margin: 2rem; max-width: 54rem; }
|
|
section, main { border: 1px solid #ddd; border-radius: .5rem; margin: 1rem 0; padding: 1rem; }
|
|
input, button { font: inherit; margin: .25rem; }
|
|
nav a { margin-right: .75rem; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>hemx v0 browser examples</h1>
|
|
<p>Try the counter, todo form, wizard, login, page swap, and live SSE notifications.</p>
|
|
{+= self.body =+}
|
|
</body>
|
|
</html>
|