You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
391 B
TypeScript
19 lines
391 B
TypeScript
import { BaseContext } from "koa";
|
|
|
|
export default function navbar(ctx: BaseContext) {
|
|
return /* HTML */ ` <nav>
|
|
<a href="/" style="display: flex; align-items: center">
|
|
<img
|
|
src="/assets/logo"
|
|
alt="${ctx.$app.manifest.name} - logo"
|
|
width="50"
|
|
height="50"
|
|
/>
|
|
Sealious Playground
|
|
</a>
|
|
<ul>
|
|
<li><a href="/account/create">Register</a></li>
|
|
</ul>
|
|
</nav>`;
|
|
}
|