The family list knows the hall: about panels link to gamehall.kestrelsnest.social, and a new game gets a card there

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
Eric WagonerandClaude Fable 5.1 committed 2026-09-23 21:04:31 -04:00
1 parent 9f1358496d
commit 0244cffb4b
4 files changed
+28 -12

No files matched your search

+7 -3
View File
@@ -3,7 +3,7 @@
// body, the card library with proper entries, the house rulings, the
// story of the table, and the tally. Every section and card has a link
// a player can send; the desk remembers where the reader was.
import { otherGames, type FamilyGame } from "./family";
import { loadFamily, type FamilyGame } from "./family";
import { cardDef } from "@wizwar/engine";
import { tick } from "svelte";
import Card from "./Card.svelte";
@@ -130,8 +130,12 @@
});
/** The other games of Kestrel's Hall, for the about page. */
let family = $state<FamilyGame[]>([]);
let hall = $state("");
$effect(() => {
void otherGames("wizwar").then((g) => (family = g));
void loadFamily("wizwar").then((f) => {
family = f.games;
hall = f.hall;
});
});
</script>
@@ -318,7 +322,7 @@
<a href="https://kestrelsnest.social" target="_blank" rel="noreferrer">kestrelsnest.social</a>.
</p>
{#if family.length}
<h3>More games in Kestrel's Hall</h3>
<h3>More games in {#if hall}<a href={hall}>Kestrel's Hall</a>{:else}Kestrel's Hall{/if}</h3>
<ul class="family">
{#each family as g (g.slug)}
<li><a href={g.url}>{g.name}</a>: {g.pitch} <span class="family-note">{g.players} players; {g.origin}.</span></li>