mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-10-14 10:54:45 +02:00
「🚧」 test(src/front): wip of the front
This commit is contained in:
@ -5,16 +5,21 @@ export default class extends Aview {
|
||||
constructor()
|
||||
{
|
||||
super();
|
||||
this.setTitle("ponging ur mom");
|
||||
this.setTitle("knl is trans(cendence)");
|
||||
}
|
||||
|
||||
async getHTML() {
|
||||
return `
|
||||
<div class="text-center p-10 bg-white dark:bg-neutral-800 rounded-xl shadow space-y-4">
|
||||
<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>
|
||||
<a class="bg-red-500 hover:bg-red-400 text-white px-4 py-2 rounded" href="/pong/solo" data-link>
|
||||
solo
|
||||
</a>
|
||||
<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>
|
||||
`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user