Refactor interactive links

Update interactive links to generate unique URLs and categorize the pebble placement interactive under "Puzzles" while removing it from "DSA" and "Games".
This commit is contained in:
gpt-engineer-app[bot] 2025-08-21 10:59:06 +00:00
parent 0c19a83999
commit ba5dac212e
5 changed files with 19 additions and 16 deletions

View file

@ -7,7 +7,6 @@ import Layout from '@/components/Layout';
import BinarySearchTrick from '@/components/BinarySearchTrick';
import TernarySearchTrick from '@/components/TernarySearchTrick';
import GuessingGame from '@/components/GuessingGame';
import PebblePlacementGame from '@/components/PebblePlacementGame';
interface Interactive {
id: string;
@ -39,13 +38,6 @@ const interactives: Interactive[] = [
tags: ['ternary', 'magic', 'numbers', 'trick', 'data-structures', 'search'],
component: TernarySearchTrick
},
{
id: 'pebble-placement-game',
title: 'Pebble Placement Strategy Game',
description: 'Test your strategic thinking! Place pebbles following specific rules to reach the furthest position possible.',
tags: ['strategy', 'logic', 'game', 'placement', 'optimization', 'puzzle'],
component: PebblePlacementGame
},
];
const InteractiveGallery = () => {
const [searchTerm, setSearchTerm] = useState('');