Add the Guilde des Veilleurs and its daily guess-the-card quest to Sokko TCG
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 20m57s
Validate and deploy Sokko G / deploy (push) Successful in 12s

- La Carte du jour: one zoomed card shared by all players each Paris day, six guesses with collection and rarity hints, a fixed stardust reward and an emoji result to share.
- The Guilde des Veilleurs lists the quests, with a menu entry, a home banner and an admin section for quest settings.
- The section menu folds into a dropdown below 960 px; the home pairs the guild with the best pull and moves the opening reserve under the menu.
- The shop pack share moves to the shop collection admin page, which recalls where the pack draws its cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-14 18:43:28 +01:00
parent ecc2040352
commit 0ef213cf4f
37 changed files with 1532 additions and 127 deletions

View file

@ -4,6 +4,7 @@ import { CardsAccount, CardsDashboardLayout } from "../CardsDashboard.jsx";
import { formatRelative } from "./adminFormat.js";
import { AdminCollections } from "./AdminCollections.jsx";
import { AdminDistributions } from "./AdminDistributions.jsx";
import { AdminGuild } from "./AdminGuild.jsx";
import { AdminHistory } from "./AdminHistory.jsx";
import { AdminOverview } from "./AdminOverview.jsx";
import { AdminShop } from "./AdminShop.jsx";
@ -13,7 +14,7 @@ import { useAdminDashboard } from "./useAdminDashboard.js";
// Les sections qui agissent sur le jeu, l'Atelier visuel à part (un bac à sable où rien n'est enregistré), puis le journal de ces actions.
const ADMIN_NAVIGATION = [
[["overview", "Vue d’ensemble"], ["collections", "Collections"], ["codes", "Codes cadeaux"], ["shop", "Boutique"]],
[["overview", "Vue d’ensemble"], ["collections", "Collections"], ["codes", "Codes cadeaux"], ["shop", "Boutique"], ["guild", "Guilde"]],
[["visual-lab", "Atelier visuel"]],
[["history", "Historique"]]
];
@ -89,6 +90,7 @@ export function AdminPanel({ catalog, state, runMutation, busy, section, subsect
{activeSection === "history" && <AdminHistory catalog={catalog} refreshedAt={dashboard?.generatedAt} />}
{activeSection === "codes" && <AdminDistributions {...shared} mutateCampaigns={mutateCampaigns} />}
{activeSection === "shop" && <AdminShop {...shared} refreshDashboard={refresh} />}
{activeSection === "guild" && <AdminGuild {...shared} refreshDashboard={refresh} />}
</CardsDashboardLayout>
</section>;
}