full e2e behavior, nice

This commit is contained in:
2025-08-08 00:04:46 -04:00
parent 9d4b17b762
commit eb064273ed
11 changed files with 117 additions and 27 deletions

View File

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