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:
parent
0c19a83999
commit
ba5dac212e
5 changed files with 19 additions and 16 deletions
|
|
@ -10,7 +10,6 @@ import NimGame from '@/components/NimGame';
|
|||
import AssistedNimGame from '@/components/AssistedNimGame';
|
||||
import GoldCoinGame from '@/components/GoldCoinGame';
|
||||
import GuessingGame from '@/components/GuessingGame';
|
||||
import PebblePlacementGame from '@/components/PebblePlacementGame';
|
||||
|
||||
interface Game {
|
||||
id: string;
|
||||
|
|
@ -21,13 +20,6 @@ interface Game {
|
|||
}
|
||||
|
||||
const games: Game[] = [
|
||||
{
|
||||
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
|
||||
},
|
||||
{
|
||||
id: 'guessing-game',
|
||||
title: 'Number Guessing Game',
|
||||
|
|
|
|||
|
|
@ -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('');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue