Add the Sokko TCG collectible card mini-game
Add the server-backed card game: Discord login, recharging pack openings, album, trades, gifts, stardust shop, campaign codes and its administration, stored in SQLite and disabled in production until configured. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
243465720f
commit
5ce35cd7ba
193 changed files with 12159 additions and 28 deletions
|
|
@ -20,6 +20,7 @@ import { normalizeCalendarData, normalizeTimerData } from "./features/toolboxes/
|
|||
import { useAutoBackup } from "./features/toolboxes/storage/useAutoBackup.js";
|
||||
import { GlobalMemosTicker } from "./features/toolboxes/GlobalMemosTicker.jsx";
|
||||
import { useMediaQuery } from "./hooks/useMediaQuery.js";
|
||||
import { useCardsConfig } from "./features/cards/useCardsConfig.js";
|
||||
|
||||
const assetRecoveryUrl = new URL(window.location.href);
|
||||
if (assetRecoveryUrl.searchParams.has("_asset-recovery")) {
|
||||
|
|
@ -44,6 +45,7 @@ function App() {
|
|||
const route = useHashRoute();
|
||||
const compactGameLayout = useMediaQuery("(max-width: 1439px)");
|
||||
const reducedSidebar = useMediaQuery("(max-width: 1024px)");
|
||||
const cardsConfig = useCardsConfig();
|
||||
const {
|
||||
siteContent,
|
||||
siteContentError,
|
||||
|
|
@ -221,6 +223,7 @@ function App() {
|
|||
drawerVisible={drawerVisible}
|
||||
compactGameLayout={compactGameLayout}
|
||||
reducedSidebar={reducedSidebar}
|
||||
cardsEnabled={cardsConfig.enabled}
|
||||
actions={actions}
|
||||
onOpenAutoBackup={() => setAutoBackupModalOpen(true)}
|
||||
>
|
||||
|
|
@ -229,6 +232,7 @@ function App() {
|
|||
<RouteContent
|
||||
route={route}
|
||||
siteContent={siteContent}
|
||||
cardsConfig={cardsConfig}
|
||||
games={games}
|
||||
gamesError={gamesError}
|
||||
gamesLoading={gamesLoading}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue