Menu
Public repository / f1f33c69567a554b6ce011822661d3289c1e9c77
AkurAI-Framework / site/frontend/hello.html
Latest change a94840a662c50999b602c6b59227d2c46dc33dfa - feat(router): wire akurai-router into serve via backend/routes.json by Ólafur Búi Ólafsson
{% include "header" %}
<main class="container">
<header class="page-head">
<span class="eyebrow">Dynamic route demo</span>
<h1>Hello, {{ params.name }} 👋</h1>
<p class="lede">This page is served by the pattern <code>/hello/:name</code>. The
pure-Rust router captured the <code>:name</code> segment from the URL and passed it
into this server-rendered template under <code>params.name</code> — no bundler, no
client framework. Change the name in the address bar and reload.</p>
<div class="btn-row">
<a class="btn btn-secondary" href="/hello/world">/hello/world</a>
<a class="btn btn-secondary" href="/hello/akurai">/hello/akurai</a>
<a class="btn btn-ghost" href="/">← Home</a>
</div>
</header>
</main>
{% include "footer" %}