diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index 8f74db9..fe6413c 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -65,16 +65,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', 'game-of-sim'].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', 'game-of-sim'].includes(interactive.id)); const shuffled = [...availableInteractives].sort(() => 0.5 - Math.random()); return shuffled.slice(0, count); }; @@ -82,29 +77,7 @@ const Index = () => { const randomInteractives = getRandomInteractives(3); return {/* Hero Section */} -
-
-
-

- Discover a collection of interactive educational tools designed to supplement lectures and enhance understanding across multiple disciplines. From discrete mathematics to social choice theory. -

-
- -
- - -
-
-
+ {/* Featured Interactives Section */}