From d455a6e75289335c0880618621b9f81122e7aec5 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Thu, 24 Jul 2025 03:05:33 +0000 Subject: [PATCH] Fix: Add puzzle to index The "Parliament of Sikinia" puzzle was not visible on the index page. This commit adds the puzzle to the index page to resolve the issue. --- src/pages/Index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 9bcd757..e9e6c0c 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -86,11 +86,11 @@ const allInteractives = [{ }]; // Featured interactives (3 fixed ones) -const featuredInteractives = allInteractives.filter(interactive => ['northcotts-game', 'ternary-search-trick', 'game-of-sim'].includes(interactive.id)); +const featuredInteractives = allInteractives.filter(interactive => ['northcotts-game', 'ternary-search-trick', 'sikinia-parliament'].includes(interactive.id)); // Function to get random interactives (excluding featured ones) const getRandomInteractives = (count: number) => { - const availableInteractives = allInteractives.filter(interactive => !['northcotts-game', 'ternary-search-trick', 'game-of-sim'].includes(interactive.id)); + const availableInteractives = allInteractives.filter(interactive => !['northcotts-game', 'ternary-search-trick', 'sikinia-parliament'].includes(interactive.id)); const shuffled = [...availableInteractives].sort(() => 0.5 - Math.random()); return shuffled.slice(0, count); };