The front page and the about page point to the other games of the Kestrel's Nest

The list is the kit's family.json, shipped as /family.json and refreshed
at deploy when the kit is beside this checkout.

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 12:26:49 -04:00
1 parent 13a6fc2603
commit 9d087ccaa1
5 files changed
+77

No files matched your search

+17
View File
@@ -3,6 +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 { cardDef } from "@wizwar/engine";
import { tick } from "svelte";
import Card from "./Card.svelte";
@@ -127,6 +128,11 @@
if (initialAnchor) void jumpTo(initialAnchor);
else if (bodyEl) bodyEl.scrollTop = helpState.scroll[tab] ?? 0;
});
/** The other games of the Kestrel's Nest, for the about page. */
let family = $state<FamilyGame[]>([]);
$effect(() => {
void otherGames("wizwar").then((g) => (family = g));
});
</script>
{#snippet section(s: RefSection, withSource: boolean)}
@@ -311,6 +317,14 @@
The keeper of this table roosts at
<a href="https://kestrelsnest.social" target="_blank" rel="noreferrer">kestrelsnest.social</a>.
</p>
{#if family.length}
<h3>More games at the Kestrel's Nest</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>
{/each}
</ul>
{/if}
<p class="colophon">
Wiz-War © Tom Jolly. Sixth edition published by Chessex, 1993.
Built by Eric and a very enthusiastic AI, 2026.
@@ -691,4 +705,7 @@
.entry-card :global(.card:hover) { transform: none; }
.contents { columns: 1; }
}
.family { margin: 0.4rem 0 0.8rem 1.2rem; padding: 0; }
.family li + li { margin-top: 0.3rem; }
.family-note { color: #7b6a51; }
</style>