lets fuckin go

This commit is contained in:
2025-08-07 22:44:19 -04:00
parent a90a914d2f
commit 9d4b17b762
18 changed files with 271 additions and 49 deletions

View File

@@ -1,14 +1,19 @@
import { A } from "@solidjs/router";
import { createResource, For } from "solid-js";
import { createEffect, createResource, For } from "solid-js";
import * as Games from "../db/Games";
import api from "../api";
export default () => {
const [games] = createResource(() => Games.queryAll());
const [ping] = createResource(async () =>
api.ping.$get().then(async (res) => await res.text())
);
return (
<div style={{ padding: "20px" }}>
<For each={games()}>
{ping()}
{/* <For each={games()}>
{(game) => <A href={`/${game.name}`}>{game.name}</A>}
</For>
</For> */}
</div>
);
};