mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-10-14 02:54:44 +02:00
27 lines
692 B
TypeScript
27 lines
692 B
TypeScript
import Aview from "./Aview.ts"
|
|
|
|
export default class extends Aview {
|
|
|
|
constructor()
|
|
{
|
|
super();
|
|
this.setTitle("knl is trans(cendence)");
|
|
}
|
|
|
|
async getHTML() {
|
|
return `
|
|
<div class="text-center p-12 bg-white dark:bg-neutral-800 rounded-xl shadow space-y-4">
|
|
<p class="text-gray-700 dark:text-white text-3xl font-bold pb-4">pong is funny yay</p>
|
|
<div class="flex flex-col space-y-4">
|
|
<a class="bg-red-500 hover:bg-red-400 text-white px-4 py-2 rounded" href="/pong/local" data-link>
|
|
local match
|
|
</a>
|
|
<a class="bg-red-500 hover:bg-red-400 text-white px-4 py-2 rounded" href="/pong/tournament" data-link>
|
|
local tournament
|
|
</a>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|