From 244e55248aa06cda7b6a198af4b0f8da17af0fd0 Mon Sep 17 00:00:00 2001 From: Andy Aylward Date: Sun, 14 Sep 2025 20:30:03 -0400 Subject: [PATCH] group stuff into apps --- src/App.tsx | 26 +++++++++---------- .../golf}/components/GolfGame.module.css | 0 src/{ => apps/golf}/components/GolfGame.tsx | 0 .../components/GolfNavigation.module.css | 0 .../golf}/components/GolfNavigation.tsx | 0 src/{ => apps/golf}/pages/GolfPage.module.css | 0 src/{ => apps/golf}/pages/GolfPage.tsx | 4 +-- .../components/BallVisualizer.module.css | 2 +- .../components/BallVisualizer.tsx | 0 .../components/BasisBuilder.module.css | 0 .../components/BasisBuilder.tsx | 0 .../BijectionConstructor.module.css | 2 +- .../components/BijectionConstructor.tsx | 0 .../components/CantorDiagonalGame.module.css | 2 +- .../components/CantorDiagonalGame.tsx | 0 .../components/CardinalArithmetic.module.css | 2 +- .../components/CardinalArithmetic.tsx | 0 .../components/CardinalityExplorer.module.css | 0 .../components/CardinalityExplorer.tsx | 0 .../components/CompactHausdorffExplorer.tsx | 4 +-- .../components/CompactnessModule.tsx | 2 +- .../components/CompositionLab.module.css | 2 +- .../components/CompositionLab.tsx | 0 .../ConnectedComponentFinder.module.css | 2 +- .../components/ConnectedComponentFinder.tsx | 0 .../components/ConnectednessModule.module.css | 2 +- .../components/ConnectednessModule.tsx | 0 .../components/ContinuityChecker.module.css | 2 +- .../components/ContinuityChecker.tsx | 2 +- .../components/ContinuityModule.tsx | 2 +- .../ConvergenceComparator.module.css | 2 +- .../components/ConvergenceComparator.tsx | 0 .../components/CycleDecomposer.module.css | 0 .../components/CycleDecomposer.tsx | 0 .../DistanceFunctionDesigner.module.css | 2 +- .../components/DistanceFunctionDesigner.tsx | 0 .../EquivalenceRelationBuilder.module.css | 2 +- .../components/EquivalenceRelationBuilder.tsx | 0 .../ExponentialLawExplorer.module.css | 2 +- .../components/ExponentialLawExplorer.tsx | 2 +- .../components/FunctionMachine.module.css | 2 +- .../components/FunctionMachine.tsx | 0 .../components/FunctionSpacesModule.tsx | 2 +- .../components/FunctionVisualizer.module.css | 0 .../components/FunctionVisualizer.tsx | 0 .../components/FunctionsModule.tsx | 2 +- .../components/GroupsNavigation.module.css | 0 .../components/GroupsNavigation.tsx | 0 .../components/HausdorffDetective.module.css | 2 +- .../components/HausdorffDetective.tsx | 2 +- .../components/HomeomorphismHunter.module.css | 2 +- .../components/HomeomorphismHunter.tsx | 0 .../components/InfiniteSetsModule.module.css | 2 +- .../components/InfiniteSetsModule.tsx | 2 +- .../components/LargeCardinalsExplorer.tsx | 2 +- .../components/MetricSpacesModule.module.css | 2 +- .../components/MetricSpacesModule.tsx | 0 .../components/OpenCoverSimulator.module.css | 2 +- .../components/OpenCoverSimulator.tsx | 0 .../components/OpenSetInvestigator.module.css | 0 .../components/OpenSetInvestigator.tsx | 0 .../PathHomotopyAnimator.module.css | 2 +- .../components/PathHomotopyAnimator.tsx | 0 .../components/PermutationQuiz.module.css | 0 .../components/PermutationQuiz.tsx | 0 .../PermutationVisualizer.module.css | 0 .../components/PermutationVisualizer.tsx | 0 .../ProductTopologyExplorer.module.css | 2 +- .../components/ProductTopologyExplorer.tsx | 2 +- .../RegularNormalConstructor.module.css | 0 .../components/RegularNormalConstructor.tsx | 0 .../RelationMatrixCalculator.module.css | 0 .../components/RelationMatrixCalculator.tsx | 0 .../components/SeparationAxiomLab.module.css | 0 .../components/SeparationAxiomLab.tsx | 0 .../components/SeparationAxiomsModule.tsx | 2 +- .../components/SequenceConvergence.module.css | 2 +- .../components/SequenceConvergence.tsx | 2 +- .../SequentialCompactnessExplorer.module.css | 2 +- .../SequentialCompactnessExplorer.tsx | 0 .../SetOperationsVisualizer.module.css | 0 .../components/SetOperationsVisualizer.tsx | 0 .../components/SetQuiz.module.css | 0 .../math-learning}/components/SetQuiz.tsx | 0 .../components/SetRelationExplorer.module.css | 2 +- .../components/SetRelationExplorer.tsx | 0 .../components/SetTheoryModule.module.css | 2 +- .../components/SetTheoryModule.tsx | 0 .../components/SetsNavigation.module.css | 0 .../components/SetsNavigation.tsx | 0 .../components/SignCalculator.module.css | 0 .../components/SignCalculator.tsx | 0 .../components/SpaceCutter.module.css | 2 +- .../math-learning}/components/SpaceCutter.tsx | 0 .../components/TopologicalSpacesModule.tsx | 2 +- .../components/TopologyGenerator.module.css | 0 .../components/TopologyGenerator.tsx | 0 .../components/TopologyQuestModules.tsx | 2 +- .../components/TopologyQuestNav.module.css | 0 .../components/TopologyQuestNav.tsx | 0 .../components/TopologySelector.module.css | 2 +- .../components/TopologySelector.tsx | 2 +- .../components/TychonoffVisualizer.module.css | 2 +- .../components/TychonoffVisualizer.tsx | 0 .../components/VennDiagram.module.css | 2 +- .../math-learning}/components/VennDiagram.tsx | 0 .../components/VennDiagramBuilder.module.css | 0 .../components/VennDiagramBuilder.tsx | 0 .../pages/GroupsPage.module.css | 0 .../math-learning}/pages/GroupsPage.tsx | 10 +++---- .../pages/LearningPage.module.css | 0 .../math-learning}/pages/LearningPage.tsx | 4 +-- .../math-learning}/pages/SetsPage.module.css | 0 .../math-learning}/pages/SetsPage.tsx | 14 +++++----- .../components/ChartErrorBoundary.tsx | 0 .../components/MetricsDashboard.module.css | 0 .../components/MetricsDashboard.tsx | 0 .../components/MetricsNavigation.module.css | 0 .../components/MetricsNavigation.tsx | 0 .../ResilienceNavigation.module.css | 0 .../components/ResilienceNavigation.tsx | 0 .../components/SystemDiagram.module.css | 0 .../components/SystemDiagram.tsx | 0 .../components/TimeseriesGraph.module.css | 0 .../components/TimeseriesGraph.tsx | 0 .../metrics-systems}/pages/MetricsPage.tsx | 4 +-- .../pages/ResilienceGamePage.module.css | 0 .../pages/ResilienceGamePage.tsx | 6 ++--- .../pages/SystemsPage.module.css | 0 .../metrics-systems}/pages/SystemsPage.tsx | 2 +- .../party}/components/PartyGame.module.css | 0 src/{ => apps/party}/components/PartyGame.tsx | 0 .../components/PartyNavigation.module.css | 0 .../party}/components/PartyNavigation.tsx | 0 .../party}/pages/PartyPage.module.css | 0 src/{ => apps/party}/pages/PartyPage.tsx | 4 +-- .../quest}/components/QuestGame.module.css | 0 src/{ => apps/quest}/components/QuestGame.tsx | 0 .../components/QuestNavigation.module.css | 0 .../quest}/components/QuestNavigation.tsx | 0 .../quest}/pages/QuestPage.module.css | 0 src/{ => apps/quest}/pages/QuestPage.tsx | 4 +-- .../components/ThoughtsGame.module.css | 0 .../thoughts}/components/ThoughtsGame.tsx | 0 .../components/ThoughtsNavigation.module.css | 0 .../components/ThoughtsNavigation.tsx | 0 .../thoughts}/pages/ThoughtsPage.tsx | 4 +-- .../components/TracyNavigation.module.css | 0 .../tracy}/components/TracyNavigation.tsx | 0 .../components/TracySceneEditor.module.css | 0 .../tracy}/components/TracySceneEditor.tsx | 0 .../__tests__/TracySceneEditor.test.tsx | 0 .../tracy}/pages/TracyPage.module.css | 0 src/{ => apps/tracy}/pages/TracyPage.tsx | 2 +- src/{ => core}/pages/HomePage.css | 0 src/{ => core}/pages/HomePage.module.css | 0 src/{ => core}/pages/HomePage.tsx | 6 ++--- src/{ => core}/pages/NotFoundPage.module.css | 0 src/{ => core}/pages/NotFoundPage.tsx | 2 +- .../components/JuliaSetBackground.module.css | 0 .../components/JuliaSetBackground.tsx | 0 .../components/MathAnimations.module.css | 0 .../components/MathAnimations.tsx | 0 .../components/Navigation.module.css | 0 src/{ => shared}/components/Navigation.tsx | 0 .../components/__tests__/Navigation.test.tsx | 0 tsconfig.json | 2 +- 167 files changed, 92 insertions(+), 92 deletions(-) rename src/{ => apps/golf}/components/GolfGame.module.css (100%) rename src/{ => apps/golf}/components/GolfGame.tsx (100%) rename src/{ => apps/golf}/components/GolfNavigation.module.css (100%) rename src/{ => apps/golf}/components/GolfNavigation.tsx (100%) rename src/{ => apps/golf}/pages/GolfPage.module.css (100%) rename src/{ => apps/golf}/pages/GolfPage.tsx (89%) rename src/{ => apps/math-learning}/components/BallVisualizer.module.css (98%) rename src/{ => apps/math-learning}/components/BallVisualizer.tsx (100%) rename src/{ => apps/math-learning}/components/BasisBuilder.module.css (100%) rename src/{ => apps/math-learning}/components/BasisBuilder.tsx (100%) rename src/{ => apps/math-learning}/components/BijectionConstructor.module.css (99%) rename src/{ => apps/math-learning}/components/BijectionConstructor.tsx (100%) rename src/{ => apps/math-learning}/components/CantorDiagonalGame.module.css (99%) rename src/{ => apps/math-learning}/components/CantorDiagonalGame.tsx (100%) rename src/{ => apps/math-learning}/components/CardinalArithmetic.module.css (99%) rename src/{ => apps/math-learning}/components/CardinalArithmetic.tsx (100%) rename src/{ => apps/math-learning}/components/CardinalityExplorer.module.css (100%) rename src/{ => apps/math-learning}/components/CardinalityExplorer.tsx (100%) rename src/{ => apps/math-learning}/components/CompactHausdorffExplorer.tsx (99%) rename src/{ => apps/math-learning}/components/CompactnessModule.tsx (99%) rename src/{ => apps/math-learning}/components/CompositionLab.module.css (99%) rename src/{ => apps/math-learning}/components/CompositionLab.tsx (100%) rename src/{ => apps/math-learning}/components/ConnectedComponentFinder.module.css (99%) rename src/{ => apps/math-learning}/components/ConnectedComponentFinder.tsx (100%) rename src/{ => apps/math-learning}/components/ConnectednessModule.module.css (98%) rename src/{ => apps/math-learning}/components/ConnectednessModule.tsx (100%) rename src/{ => apps/math-learning}/components/ContinuityChecker.module.css (99%) rename src/{ => apps/math-learning}/components/ContinuityChecker.tsx (99%) rename src/{ => apps/math-learning}/components/ContinuityModule.tsx (96%) rename src/{ => apps/math-learning}/components/ConvergenceComparator.module.css (99%) rename src/{ => apps/math-learning}/components/ConvergenceComparator.tsx (100%) rename src/{ => apps/math-learning}/components/CycleDecomposer.module.css (100%) rename src/{ => apps/math-learning}/components/CycleDecomposer.tsx (100%) rename src/{ => apps/math-learning}/components/DistanceFunctionDesigner.module.css (99%) rename src/{ => apps/math-learning}/components/DistanceFunctionDesigner.tsx (100%) rename src/{ => apps/math-learning}/components/EquivalenceRelationBuilder.module.css (99%) rename src/{ => apps/math-learning}/components/EquivalenceRelationBuilder.tsx (100%) rename src/{ => apps/math-learning}/components/ExponentialLawExplorer.module.css (99%) rename src/{ => apps/math-learning}/components/ExponentialLawExplorer.tsx (99%) rename src/{ => apps/math-learning}/components/FunctionMachine.module.css (99%) rename src/{ => apps/math-learning}/components/FunctionMachine.tsx (100%) rename src/{ => apps/math-learning}/components/FunctionSpacesModule.tsx (98%) rename src/{ => apps/math-learning}/components/FunctionVisualizer.module.css (100%) rename src/{ => apps/math-learning}/components/FunctionVisualizer.tsx (100%) rename src/{ => apps/math-learning}/components/FunctionsModule.tsx (96%) rename src/{ => apps/math-learning}/components/GroupsNavigation.module.css (100%) rename src/{ => apps/math-learning}/components/GroupsNavigation.tsx (100%) rename src/{ => apps/math-learning}/components/HausdorffDetective.module.css (99%) rename src/{ => apps/math-learning}/components/HausdorffDetective.tsx (99%) rename src/{ => apps/math-learning}/components/HomeomorphismHunter.module.css (99%) rename src/{ => apps/math-learning}/components/HomeomorphismHunter.tsx (100%) rename src/{ => apps/math-learning}/components/InfiniteSetsModule.module.css (99%) rename src/{ => apps/math-learning}/components/InfiniteSetsModule.tsx (96%) rename src/{ => apps/math-learning}/components/LargeCardinalsExplorer.tsx (99%) rename src/{ => apps/math-learning}/components/MetricSpacesModule.module.css (99%) rename src/{ => apps/math-learning}/components/MetricSpacesModule.tsx (100%) rename src/{ => apps/math-learning}/components/OpenCoverSimulator.module.css (99%) rename src/{ => apps/math-learning}/components/OpenCoverSimulator.tsx (100%) rename src/{ => apps/math-learning}/components/OpenSetInvestigator.module.css (100%) rename src/{ => apps/math-learning}/components/OpenSetInvestigator.tsx (100%) rename src/{ => apps/math-learning}/components/PathHomotopyAnimator.module.css (99%) rename src/{ => apps/math-learning}/components/PathHomotopyAnimator.tsx (100%) rename src/{ => apps/math-learning}/components/PermutationQuiz.module.css (100%) rename src/{ => apps/math-learning}/components/PermutationQuiz.tsx (100%) rename src/{ => apps/math-learning}/components/PermutationVisualizer.module.css (100%) rename src/{ => apps/math-learning}/components/PermutationVisualizer.tsx (100%) rename src/{ => apps/math-learning}/components/ProductTopologyExplorer.module.css (99%) rename src/{ => apps/math-learning}/components/ProductTopologyExplorer.tsx (99%) rename src/{ => apps/math-learning}/components/RegularNormalConstructor.module.css (100%) rename src/{ => apps/math-learning}/components/RegularNormalConstructor.tsx (100%) rename src/{ => apps/math-learning}/components/RelationMatrixCalculator.module.css (100%) rename src/{ => apps/math-learning}/components/RelationMatrixCalculator.tsx (100%) rename src/{ => apps/math-learning}/components/SeparationAxiomLab.module.css (100%) rename src/{ => apps/math-learning}/components/SeparationAxiomLab.tsx (100%) rename src/{ => apps/math-learning}/components/SeparationAxiomsModule.tsx (96%) rename src/{ => apps/math-learning}/components/SequenceConvergence.module.css (99%) rename src/{ => apps/math-learning}/components/SequenceConvergence.tsx (99%) rename src/{ => apps/math-learning}/components/SequentialCompactnessExplorer.module.css (99%) rename src/{ => apps/math-learning}/components/SequentialCompactnessExplorer.tsx (100%) rename src/{ => apps/math-learning}/components/SetOperationsVisualizer.module.css (100%) rename src/{ => apps/math-learning}/components/SetOperationsVisualizer.tsx (100%) rename src/{ => apps/math-learning}/components/SetQuiz.module.css (100%) rename src/{ => apps/math-learning}/components/SetQuiz.tsx (100%) rename src/{ => apps/math-learning}/components/SetRelationExplorer.module.css (99%) rename src/{ => apps/math-learning}/components/SetRelationExplorer.tsx (100%) rename src/{ => apps/math-learning}/components/SetTheoryModule.module.css (99%) rename src/{ => apps/math-learning}/components/SetTheoryModule.tsx (100%) rename src/{ => apps/math-learning}/components/SetsNavigation.module.css (100%) rename src/{ => apps/math-learning}/components/SetsNavigation.tsx (100%) rename src/{ => apps/math-learning}/components/SignCalculator.module.css (100%) rename src/{ => apps/math-learning}/components/SignCalculator.tsx (100%) rename src/{ => apps/math-learning}/components/SpaceCutter.module.css (99%) rename src/{ => apps/math-learning}/components/SpaceCutter.tsx (100%) rename src/{ => apps/math-learning}/components/TopologicalSpacesModule.tsx (96%) rename src/{ => apps/math-learning}/components/TopologyGenerator.module.css (100%) rename src/{ => apps/math-learning}/components/TopologyGenerator.tsx (100%) rename src/{ => apps/math-learning}/components/TopologyQuestModules.tsx (96%) rename src/{ => apps/math-learning}/components/TopologyQuestNav.module.css (100%) rename src/{ => apps/math-learning}/components/TopologyQuestNav.tsx (100%) rename src/{ => apps/math-learning}/components/TopologySelector.module.css (99%) rename src/{ => apps/math-learning}/components/TopologySelector.tsx (99%) rename src/{ => apps/math-learning}/components/TychonoffVisualizer.module.css (99%) rename src/{ => apps/math-learning}/components/TychonoffVisualizer.tsx (100%) rename src/{ => apps/math-learning}/components/VennDiagram.module.css (99%) rename src/{ => apps/math-learning}/components/VennDiagram.tsx (100%) rename src/{ => apps/math-learning}/components/VennDiagramBuilder.module.css (100%) rename src/{ => apps/math-learning}/components/VennDiagramBuilder.tsx (100%) rename src/{ => apps/math-learning}/pages/GroupsPage.module.css (100%) rename src/{ => apps/math-learning}/pages/GroupsPage.tsx (98%) rename src/{ => apps/math-learning}/pages/LearningPage.module.css (100%) rename src/{ => apps/math-learning}/pages/LearningPage.tsx (86%) rename src/{ => apps/math-learning}/pages/SetsPage.module.css (100%) rename src/{ => apps/math-learning}/pages/SetsPage.tsx (99%) rename src/{ => apps/metrics-systems}/components/ChartErrorBoundary.tsx (100%) rename src/{ => apps/metrics-systems}/components/MetricsDashboard.module.css (100%) rename src/{ => apps/metrics-systems}/components/MetricsDashboard.tsx (100%) rename src/{ => apps/metrics-systems}/components/MetricsNavigation.module.css (100%) rename src/{ => apps/metrics-systems}/components/MetricsNavigation.tsx (100%) rename src/{ => apps/metrics-systems}/components/ResilienceNavigation.module.css (100%) rename src/{ => apps/metrics-systems}/components/ResilienceNavigation.tsx (100%) rename src/{ => apps/metrics-systems}/components/SystemDiagram.module.css (100%) rename src/{ => apps/metrics-systems}/components/SystemDiagram.tsx (100%) rename src/{ => apps/metrics-systems}/components/TimeseriesGraph.module.css (100%) rename src/{ => apps/metrics-systems}/components/TimeseriesGraph.tsx (100%) rename src/{ => apps/metrics-systems}/pages/MetricsPage.tsx (90%) rename src/{ => apps/metrics-systems}/pages/ResilienceGamePage.module.css (100%) rename src/{ => apps/metrics-systems}/pages/ResilienceGamePage.tsx (99%) rename src/{ => apps/metrics-systems}/pages/SystemsPage.module.css (100%) rename src/{ => apps/metrics-systems}/pages/SystemsPage.tsx (98%) rename src/{ => apps/party}/components/PartyGame.module.css (100%) rename src/{ => apps/party}/components/PartyGame.tsx (100%) rename src/{ => apps/party}/components/PartyNavigation.module.css (100%) rename src/{ => apps/party}/components/PartyNavigation.tsx (100%) rename src/{ => apps/party}/pages/PartyPage.module.css (100%) rename src/{ => apps/party}/pages/PartyPage.tsx (71%) rename src/{ => apps/quest}/components/QuestGame.module.css (100%) rename src/{ => apps/quest}/components/QuestGame.tsx (100%) rename src/{ => apps/quest}/components/QuestNavigation.module.css (100%) rename src/{ => apps/quest}/components/QuestNavigation.tsx (100%) rename src/{ => apps/quest}/pages/QuestPage.module.css (100%) rename src/{ => apps/quest}/pages/QuestPage.tsx (88%) rename src/{ => apps/thoughts}/components/ThoughtsGame.module.css (100%) rename src/{ => apps/thoughts}/components/ThoughtsGame.tsx (100%) rename src/{ => apps/thoughts}/components/ThoughtsNavigation.module.css (100%) rename src/{ => apps/thoughts}/components/ThoughtsNavigation.tsx (100%) rename src/{ => apps/thoughts}/pages/ThoughtsPage.tsx (89%) rename src/{ => apps/tracy}/components/TracyNavigation.module.css (100%) rename src/{ => apps/tracy}/components/TracyNavigation.tsx (100%) rename src/{ => apps/tracy}/components/TracySceneEditor.module.css (100%) rename src/{ => apps/tracy}/components/TracySceneEditor.tsx (100%) rename src/{ => apps/tracy}/components/__tests__/TracySceneEditor.test.tsx (100%) rename src/{ => apps/tracy}/pages/TracyPage.module.css (100%) rename src/{ => apps/tracy}/pages/TracyPage.tsx (98%) rename src/{ => core}/pages/HomePage.css (100%) rename src/{ => core}/pages/HomePage.module.css (100%) rename src/{ => core}/pages/HomePage.tsx (65%) rename src/{ => core}/pages/NotFoundPage.module.css (100%) rename src/{ => core}/pages/NotFoundPage.tsx (90%) rename src/{ => shared}/components/JuliaSetBackground.module.css (100%) rename src/{ => shared}/components/JuliaSetBackground.tsx (100%) rename src/{ => shared}/components/MathAnimations.module.css (100%) rename src/{ => shared}/components/MathAnimations.tsx (100%) rename src/{ => shared}/components/Navigation.module.css (100%) rename src/{ => shared}/components/Navigation.tsx (100%) rename src/{ => shared}/components/__tests__/Navigation.test.tsx (100%) diff --git a/src/App.tsx b/src/App.tsx index 0b62b08..a7d4741 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,17 +1,17 @@ import { Routes, Route, Navigate } from 'react-router-dom' -import HomePage from './pages/HomePage' -import ThoughtsPage from './pages/ThoughtsPage' -import GroupsPage from './pages/GroupsPage' -import SetsPage from './pages/SetsPage' -import GolfPage from './pages/GolfPage' -import PartyPage from './pages/PartyPage' -import QuestPage from './pages/QuestPage' -import LearningPage from './pages/LearningPage' -import TracyPage from './pages/TracyPage' -import SystemsPage from './pages/SystemsPage' -import ResilienceGamePage from './pages/ResilienceGamePage' -import MetricsPage from './pages/MetricsPage' -import NotFoundPage from './pages/NotFoundPage' +import HomePage from './core/pages/HomePage' +import ThoughtsPage from './apps/thoughts/pages/ThoughtsPage' +import GroupsPage from './apps/math-learning/pages/GroupsPage' +import SetsPage from './apps/math-learning/pages/SetsPage' +import GolfPage from './apps/golf/pages/GolfPage' +import PartyPage from './apps/party/pages/PartyPage' +import QuestPage from './apps/quest/pages/QuestPage' +import LearningPage from './apps/math-learning/pages/LearningPage' +import TracyPage from './apps/tracy/pages/TracyPage' +import SystemsPage from './apps/metrics-systems/pages/SystemsPage' +import ResilienceGamePage from './apps/metrics-systems/pages/ResilienceGamePage' +import MetricsPage from './apps/metrics-systems/pages/MetricsPage' +import NotFoundPage from './core/pages/NotFoundPage' function App() { return ( diff --git a/src/components/GolfGame.module.css b/src/apps/golf/components/GolfGame.module.css similarity index 100% rename from src/components/GolfGame.module.css rename to src/apps/golf/components/GolfGame.module.css diff --git a/src/components/GolfGame.tsx b/src/apps/golf/components/GolfGame.tsx similarity index 100% rename from src/components/GolfGame.tsx rename to src/apps/golf/components/GolfGame.tsx diff --git a/src/components/GolfNavigation.module.css b/src/apps/golf/components/GolfNavigation.module.css similarity index 100% rename from src/components/GolfNavigation.module.css rename to src/apps/golf/components/GolfNavigation.module.css diff --git a/src/components/GolfNavigation.tsx b/src/apps/golf/components/GolfNavigation.tsx similarity index 100% rename from src/components/GolfNavigation.tsx rename to src/apps/golf/components/GolfNavigation.tsx diff --git a/src/pages/GolfPage.module.css b/src/apps/golf/pages/GolfPage.module.css similarity index 100% rename from src/pages/GolfPage.module.css rename to src/apps/golf/pages/GolfPage.module.css diff --git a/src/pages/GolfPage.tsx b/src/apps/golf/pages/GolfPage.tsx similarity index 89% rename from src/pages/GolfPage.tsx rename to src/apps/golf/pages/GolfPage.tsx index fd62f44..73a5b93 100644 --- a/src/pages/GolfPage.tsx +++ b/src/apps/golf/pages/GolfPage.tsx @@ -1,6 +1,6 @@ import { useState } from 'react' -import GolfNavigation from '@/components/GolfNavigation' -import GolfGame from '@/components/GolfGame' +import GolfNavigation from '../components/GolfNavigation' +import GolfGame from '../components/GolfGame' import styles from './GolfPage.module.css' const GolfPage = () => { diff --git a/src/components/BallVisualizer.module.css b/src/apps/math-learning/components/BallVisualizer.module.css similarity index 98% rename from src/components/BallVisualizer.module.css rename to src/apps/math-learning/components/BallVisualizer.module.css index a684a88..4031c75 100644 --- a/src/components/BallVisualizer.module.css +++ b/src/apps/math-learning/components/BallVisualizer.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .visualizer { color: var(--retro-text-primary); diff --git a/src/components/BallVisualizer.tsx b/src/apps/math-learning/components/BallVisualizer.tsx similarity index 100% rename from src/components/BallVisualizer.tsx rename to src/apps/math-learning/components/BallVisualizer.tsx diff --git a/src/components/BasisBuilder.module.css b/src/apps/math-learning/components/BasisBuilder.module.css similarity index 100% rename from src/components/BasisBuilder.module.css rename to src/apps/math-learning/components/BasisBuilder.module.css diff --git a/src/components/BasisBuilder.tsx b/src/apps/math-learning/components/BasisBuilder.tsx similarity index 100% rename from src/components/BasisBuilder.tsx rename to src/apps/math-learning/components/BasisBuilder.tsx diff --git a/src/components/BijectionConstructor.module.css b/src/apps/math-learning/components/BijectionConstructor.module.css similarity index 99% rename from src/components/BijectionConstructor.module.css rename to src/apps/math-learning/components/BijectionConstructor.module.css index 2b2640f..3e374fb 100644 --- a/src/components/BijectionConstructor.module.css +++ b/src/apps/math-learning/components/BijectionConstructor.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .bijectionConstructor { display: flex; diff --git a/src/components/BijectionConstructor.tsx b/src/apps/math-learning/components/BijectionConstructor.tsx similarity index 100% rename from src/components/BijectionConstructor.tsx rename to src/apps/math-learning/components/BijectionConstructor.tsx diff --git a/src/components/CantorDiagonalGame.module.css b/src/apps/math-learning/components/CantorDiagonalGame.module.css similarity index 99% rename from src/components/CantorDiagonalGame.module.css rename to src/apps/math-learning/components/CantorDiagonalGame.module.css index 92e6b47..1ffc173 100644 --- a/src/components/CantorDiagonalGame.module.css +++ b/src/apps/math-learning/components/CantorDiagonalGame.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .game { display: flex; diff --git a/src/components/CantorDiagonalGame.tsx b/src/apps/math-learning/components/CantorDiagonalGame.tsx similarity index 100% rename from src/components/CantorDiagonalGame.tsx rename to src/apps/math-learning/components/CantorDiagonalGame.tsx diff --git a/src/components/CardinalArithmetic.module.css b/src/apps/math-learning/components/CardinalArithmetic.module.css similarity index 99% rename from src/components/CardinalArithmetic.module.css rename to src/apps/math-learning/components/CardinalArithmetic.module.css index 1e93f9a..268d885 100644 --- a/src/components/CardinalArithmetic.module.css +++ b/src/apps/math-learning/components/CardinalArithmetic.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .calculator { display: flex; diff --git a/src/components/CardinalArithmetic.tsx b/src/apps/math-learning/components/CardinalArithmetic.tsx similarity index 100% rename from src/components/CardinalArithmetic.tsx rename to src/apps/math-learning/components/CardinalArithmetic.tsx diff --git a/src/components/CardinalityExplorer.module.css b/src/apps/math-learning/components/CardinalityExplorer.module.css similarity index 100% rename from src/components/CardinalityExplorer.module.css rename to src/apps/math-learning/components/CardinalityExplorer.module.css diff --git a/src/components/CardinalityExplorer.tsx b/src/apps/math-learning/components/CardinalityExplorer.tsx similarity index 100% rename from src/components/CardinalityExplorer.tsx rename to src/apps/math-learning/components/CardinalityExplorer.tsx diff --git a/src/components/CompactHausdorffExplorer.tsx b/src/apps/math-learning/components/CompactHausdorffExplorer.tsx similarity index 99% rename from src/components/CompactHausdorffExplorer.tsx rename to src/apps/math-learning/components/CompactHausdorffExplorer.tsx index 1c8b448..f1fe7ee 100644 --- a/src/components/CompactHausdorffExplorer.tsx +++ b/src/apps/math-learning/components/CompactHausdorffExplorer.tsx @@ -1,7 +1,7 @@ import React, { useState, useEffect, useRef } from 'react' import Select from 'react-select' -import { retroSelectStyles } from '../styles/ReactSelectStyles' -import styles from '../styles/ModuleStyles.module.css' +import { retroSelectStyles } from '@/styles/ReactSelectStyles' +import styles from '@/styles/ModuleStyles.module.css' type ExampleSpace = 'interval' | 'circle' | 'torus' | 'cantor' | 'projective' | 'stone-cech' diff --git a/src/components/CompactnessModule.tsx b/src/apps/math-learning/components/CompactnessModule.tsx similarity index 99% rename from src/components/CompactnessModule.tsx rename to src/apps/math-learning/components/CompactnessModule.tsx index ca54828..549a53e 100644 --- a/src/components/CompactnessModule.tsx +++ b/src/apps/math-learning/components/CompactnessModule.tsx @@ -3,7 +3,7 @@ import OpenCoverSimulator from './OpenCoverSimulator'; import SequentialCompactnessExplorer from './SequentialCompactnessExplorer'; import TychonoffVisualizer from './TychonoffVisualizer'; import CompactHausdorffExplorer from './CompactHausdorffExplorer'; -import styles from '../styles/ModuleStyles.module.css'; +import styles from '@/styles/ModuleStyles.module.css'; type TabType = 'learn' | 'opencover' | 'sequential' | 'hausdorff' | 'tychonoff'; diff --git a/src/components/CompositionLab.module.css b/src/apps/math-learning/components/CompositionLab.module.css similarity index 99% rename from src/components/CompositionLab.module.css rename to src/apps/math-learning/components/CompositionLab.module.css index b21bbbd..0b7138f 100644 --- a/src/components/CompositionLab.module.css +++ b/src/apps/math-learning/components/CompositionLab.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .lab { display: flex; diff --git a/src/components/CompositionLab.tsx b/src/apps/math-learning/components/CompositionLab.tsx similarity index 100% rename from src/components/CompositionLab.tsx rename to src/apps/math-learning/components/CompositionLab.tsx diff --git a/src/components/ConnectedComponentFinder.module.css b/src/apps/math-learning/components/ConnectedComponentFinder.module.css similarity index 99% rename from src/components/ConnectedComponentFinder.module.css rename to src/apps/math-learning/components/ConnectedComponentFinder.module.css index e4cc1b3..e888282 100644 --- a/src/components/ConnectedComponentFinder.module.css +++ b/src/apps/math-learning/components/ConnectedComponentFinder.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .container { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/ConnectedComponentFinder.tsx b/src/apps/math-learning/components/ConnectedComponentFinder.tsx similarity index 100% rename from src/components/ConnectedComponentFinder.tsx rename to src/apps/math-learning/components/ConnectedComponentFinder.tsx diff --git a/src/components/ConnectednessModule.module.css b/src/apps/math-learning/components/ConnectednessModule.module.css similarity index 98% rename from src/components/ConnectednessModule.module.css rename to src/apps/math-learning/components/ConnectednessModule.module.css index e8ea856..2cea8cf 100644 --- a/src/components/ConnectednessModule.module.css +++ b/src/apps/math-learning/components/ConnectednessModule.module.css @@ -1,5 +1,5 @@ /* Import retro theme */ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .module { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/ConnectednessModule.tsx b/src/apps/math-learning/components/ConnectednessModule.tsx similarity index 100% rename from src/components/ConnectednessModule.tsx rename to src/apps/math-learning/components/ConnectednessModule.tsx diff --git a/src/components/ContinuityChecker.module.css b/src/apps/math-learning/components/ContinuityChecker.module.css similarity index 99% rename from src/components/ContinuityChecker.module.css rename to src/apps/math-learning/components/ContinuityChecker.module.css index ab4f122..e3574c0 100644 --- a/src/components/ContinuityChecker.module.css +++ b/src/apps/math-learning/components/ContinuityChecker.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .checker { color: var(--retro-text-primary); diff --git a/src/components/ContinuityChecker.tsx b/src/apps/math-learning/components/ContinuityChecker.tsx similarity index 99% rename from src/components/ContinuityChecker.tsx rename to src/apps/math-learning/components/ContinuityChecker.tsx index 334b541..ca5de3c 100644 --- a/src/components/ContinuityChecker.tsx +++ b/src/apps/math-learning/components/ContinuityChecker.tsx @@ -1,6 +1,6 @@ import React, { useState, useEffect } from 'react'; import Select from 'react-select'; -import { retroSelectStyles } from '../styles/ReactSelectStyles'; +import { retroSelectStyles } from '@/styles/ReactSelectStyles'; import styles from './ContinuityChecker.module.css'; type TopologyType = 'discrete' | 'trivial' | 'cofinite' | 'standard'; diff --git a/src/components/ContinuityModule.tsx b/src/apps/math-learning/components/ContinuityModule.tsx similarity index 96% rename from src/components/ContinuityModule.tsx rename to src/apps/math-learning/components/ContinuityModule.tsx index e3920b2..7451246 100644 --- a/src/components/ContinuityModule.tsx +++ b/src/apps/math-learning/components/ContinuityModule.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import styles from '../styles/ModuleStyles.module.css'; +import styles from '@/styles/ModuleStyles.module.css'; import ContinuityChecker from './ContinuityChecker'; import HomeomorphismHunter from './HomeomorphismHunter'; import ProductTopologyExplorer from './ProductTopologyExplorer'; diff --git a/src/components/ConvergenceComparator.module.css b/src/apps/math-learning/components/ConvergenceComparator.module.css similarity index 99% rename from src/components/ConvergenceComparator.module.css rename to src/apps/math-learning/components/ConvergenceComparator.module.css index cd92c2f..814d07b 100644 --- a/src/components/ConvergenceComparator.module.css +++ b/src/apps/math-learning/components/ConvergenceComparator.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .container { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/ConvergenceComparator.tsx b/src/apps/math-learning/components/ConvergenceComparator.tsx similarity index 100% rename from src/components/ConvergenceComparator.tsx rename to src/apps/math-learning/components/ConvergenceComparator.tsx diff --git a/src/components/CycleDecomposer.module.css b/src/apps/math-learning/components/CycleDecomposer.module.css similarity index 100% rename from src/components/CycleDecomposer.module.css rename to src/apps/math-learning/components/CycleDecomposer.module.css diff --git a/src/components/CycleDecomposer.tsx b/src/apps/math-learning/components/CycleDecomposer.tsx similarity index 100% rename from src/components/CycleDecomposer.tsx rename to src/apps/math-learning/components/CycleDecomposer.tsx diff --git a/src/components/DistanceFunctionDesigner.module.css b/src/apps/math-learning/components/DistanceFunctionDesigner.module.css similarity index 99% rename from src/components/DistanceFunctionDesigner.module.css rename to src/apps/math-learning/components/DistanceFunctionDesigner.module.css index 5659dd4..b6b38fb 100644 --- a/src/components/DistanceFunctionDesigner.module.css +++ b/src/apps/math-learning/components/DistanceFunctionDesigner.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .designer { color: var(--retro-text-primary); diff --git a/src/components/DistanceFunctionDesigner.tsx b/src/apps/math-learning/components/DistanceFunctionDesigner.tsx similarity index 100% rename from src/components/DistanceFunctionDesigner.tsx rename to src/apps/math-learning/components/DistanceFunctionDesigner.tsx diff --git a/src/components/EquivalenceRelationBuilder.module.css b/src/apps/math-learning/components/EquivalenceRelationBuilder.module.css similarity index 99% rename from src/components/EquivalenceRelationBuilder.module.css rename to src/apps/math-learning/components/EquivalenceRelationBuilder.module.css index 3498564..bc36c5a 100644 --- a/src/components/EquivalenceRelationBuilder.module.css +++ b/src/apps/math-learning/components/EquivalenceRelationBuilder.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .builder { display: flex; diff --git a/src/components/EquivalenceRelationBuilder.tsx b/src/apps/math-learning/components/EquivalenceRelationBuilder.tsx similarity index 100% rename from src/components/EquivalenceRelationBuilder.tsx rename to src/apps/math-learning/components/EquivalenceRelationBuilder.tsx diff --git a/src/components/ExponentialLawExplorer.module.css b/src/apps/math-learning/components/ExponentialLawExplorer.module.css similarity index 99% rename from src/components/ExponentialLawExplorer.module.css rename to src/apps/math-learning/components/ExponentialLawExplorer.module.css index 525767d..b698583 100644 --- a/src/components/ExponentialLawExplorer.module.css +++ b/src/apps/math-learning/components/ExponentialLawExplorer.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .container { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/ExponentialLawExplorer.tsx b/src/apps/math-learning/components/ExponentialLawExplorer.tsx similarity index 99% rename from src/components/ExponentialLawExplorer.tsx rename to src/apps/math-learning/components/ExponentialLawExplorer.tsx index fbc0000..d182355 100644 --- a/src/components/ExponentialLawExplorer.tsx +++ b/src/apps/math-learning/components/ExponentialLawExplorer.tsx @@ -1,6 +1,6 @@ import React, { useState, useCallback } from 'react'; import Select from 'react-select'; -import { retroSelectStyles } from '../styles/ReactSelectStyles'; +import { retroSelectStyles } from '@/styles/ReactSelectStyles'; import styles from './ExponentialLawExplorer.module.css'; type MappingView = 'overview' | 'curry-demo' | 'uncurry-demo'; diff --git a/src/components/FunctionMachine.module.css b/src/apps/math-learning/components/FunctionMachine.module.css similarity index 99% rename from src/components/FunctionMachine.module.css rename to src/apps/math-learning/components/FunctionMachine.module.css index cfbf09b..ea820e5 100644 --- a/src/components/FunctionMachine.module.css +++ b/src/apps/math-learning/components/FunctionMachine.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .machine { display: flex; diff --git a/src/components/FunctionMachine.tsx b/src/apps/math-learning/components/FunctionMachine.tsx similarity index 100% rename from src/components/FunctionMachine.tsx rename to src/apps/math-learning/components/FunctionMachine.tsx diff --git a/src/components/FunctionSpacesModule.tsx b/src/apps/math-learning/components/FunctionSpacesModule.tsx similarity index 98% rename from src/components/FunctionSpacesModule.tsx rename to src/apps/math-learning/components/FunctionSpacesModule.tsx index db2e371..7e1fe77 100644 --- a/src/components/FunctionSpacesModule.tsx +++ b/src/apps/math-learning/components/FunctionSpacesModule.tsx @@ -2,7 +2,7 @@ import React, { useState } from 'react' import TopologySelector from './TopologySelector' import ConvergenceComparator from './ConvergenceComparator' import ExponentialLawExplorer from './ExponentialLawExplorer' -import styles from '../styles/ModuleStyles.module.css' +import styles from '@/styles/ModuleStyles.module.css' type TabType = 'topology' | 'convergence' | 'exponential' diff --git a/src/components/FunctionVisualizer.module.css b/src/apps/math-learning/components/FunctionVisualizer.module.css similarity index 100% rename from src/components/FunctionVisualizer.module.css rename to src/apps/math-learning/components/FunctionVisualizer.module.css diff --git a/src/components/FunctionVisualizer.tsx b/src/apps/math-learning/components/FunctionVisualizer.tsx similarity index 100% rename from src/components/FunctionVisualizer.tsx rename to src/apps/math-learning/components/FunctionVisualizer.tsx diff --git a/src/components/FunctionsModule.tsx b/src/apps/math-learning/components/FunctionsModule.tsx similarity index 96% rename from src/components/FunctionsModule.tsx rename to src/apps/math-learning/components/FunctionsModule.tsx index c74ee0c..8ee4e2c 100644 --- a/src/components/FunctionsModule.tsx +++ b/src/apps/math-learning/components/FunctionsModule.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import styles from '../styles/ModuleStyles.module.css'; +import styles from '@/styles/ModuleStyles.module.css'; import FunctionMachine from './FunctionMachine'; import CompositionLab from './CompositionLab'; import EquivalenceRelationBuilder from './EquivalenceRelationBuilder'; diff --git a/src/components/GroupsNavigation.module.css b/src/apps/math-learning/components/GroupsNavigation.module.css similarity index 100% rename from src/components/GroupsNavigation.module.css rename to src/apps/math-learning/components/GroupsNavigation.module.css diff --git a/src/components/GroupsNavigation.tsx b/src/apps/math-learning/components/GroupsNavigation.tsx similarity index 100% rename from src/components/GroupsNavigation.tsx rename to src/apps/math-learning/components/GroupsNavigation.tsx diff --git a/src/components/HausdorffDetective.module.css b/src/apps/math-learning/components/HausdorffDetective.module.css similarity index 99% rename from src/components/HausdorffDetective.module.css rename to src/apps/math-learning/components/HausdorffDetective.module.css index 57fa655..8dc4355 100644 --- a/src/components/HausdorffDetective.module.css +++ b/src/apps/math-learning/components/HausdorffDetective.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .container { background: linear-gradient(135deg, #1a1a2e, #16213e); diff --git a/src/components/HausdorffDetective.tsx b/src/apps/math-learning/components/HausdorffDetective.tsx similarity index 99% rename from src/components/HausdorffDetective.tsx rename to src/apps/math-learning/components/HausdorffDetective.tsx index 498b767..c405927 100644 --- a/src/components/HausdorffDetective.tsx +++ b/src/apps/math-learning/components/HausdorffDetective.tsx @@ -1,6 +1,6 @@ import React, { useState, useCallback, useMemo } from 'react'; import Select from 'react-select'; -import { retroSelectStyles } from '../styles/ReactSelectStyles'; +import { retroSelectStyles } from '@/styles/ReactSelectStyles'; import styles from './HausdorffDetective.module.css'; interface Point { diff --git a/src/components/HomeomorphismHunter.module.css b/src/apps/math-learning/components/HomeomorphismHunter.module.css similarity index 99% rename from src/components/HomeomorphismHunter.module.css rename to src/apps/math-learning/components/HomeomorphismHunter.module.css index 0f1c27d..e2b2caa 100644 --- a/src/components/HomeomorphismHunter.module.css +++ b/src/apps/math-learning/components/HomeomorphismHunter.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .hunter { color: var(--retro-text-primary); diff --git a/src/components/HomeomorphismHunter.tsx b/src/apps/math-learning/components/HomeomorphismHunter.tsx similarity index 100% rename from src/components/HomeomorphismHunter.tsx rename to src/apps/math-learning/components/HomeomorphismHunter.tsx diff --git a/src/components/InfiniteSetsModule.module.css b/src/apps/math-learning/components/InfiniteSetsModule.module.css similarity index 99% rename from src/components/InfiniteSetsModule.module.css rename to src/apps/math-learning/components/InfiniteSetsModule.module.css index 0871bf6..1c56c28 100644 --- a/src/components/InfiniteSetsModule.module.css +++ b/src/apps/math-learning/components/InfiniteSetsModule.module.css @@ -1,5 +1,5 @@ /* Import retro theme */ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .module { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/InfiniteSetsModule.tsx b/src/apps/math-learning/components/InfiniteSetsModule.tsx similarity index 96% rename from src/components/InfiniteSetsModule.tsx rename to src/apps/math-learning/components/InfiniteSetsModule.tsx index ecbb523..ff14a9b 100644 --- a/src/components/InfiniteSetsModule.tsx +++ b/src/apps/math-learning/components/InfiniteSetsModule.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import styles from '../styles/ModuleStyles.module.css'; +import styles from '@/styles/ModuleStyles.module.css'; import BijectionConstructor from './BijectionConstructor'; import CantorDiagonalGame from './CantorDiagonalGame'; import CardinalArithmetic from './CardinalArithmetic'; diff --git a/src/components/LargeCardinalsExplorer.tsx b/src/apps/math-learning/components/LargeCardinalsExplorer.tsx similarity index 99% rename from src/components/LargeCardinalsExplorer.tsx rename to src/apps/math-learning/components/LargeCardinalsExplorer.tsx index 091f858..724c35f 100644 --- a/src/components/LargeCardinalsExplorer.tsx +++ b/src/apps/math-learning/components/LargeCardinalsExplorer.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react' -import styles from '../styles/ModuleStyles.module.css' +import styles from '@/styles/ModuleStyles.module.css' type CardinalType = 'inaccessible' | 'measurable' | 'supercompact' | 'weakly-compact' | 'mahlo' | 'woodin' diff --git a/src/components/MetricSpacesModule.module.css b/src/apps/math-learning/components/MetricSpacesModule.module.css similarity index 99% rename from src/components/MetricSpacesModule.module.css rename to src/apps/math-learning/components/MetricSpacesModule.module.css index e2aa433..5dd51cb 100644 --- a/src/components/MetricSpacesModule.module.css +++ b/src/apps/math-learning/components/MetricSpacesModule.module.css @@ -1,5 +1,5 @@ /* Import retro theme */ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .module { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/MetricSpacesModule.tsx b/src/apps/math-learning/components/MetricSpacesModule.tsx similarity index 100% rename from src/components/MetricSpacesModule.tsx rename to src/apps/math-learning/components/MetricSpacesModule.tsx diff --git a/src/components/OpenCoverSimulator.module.css b/src/apps/math-learning/components/OpenCoverSimulator.module.css similarity index 99% rename from src/components/OpenCoverSimulator.module.css rename to src/apps/math-learning/components/OpenCoverSimulator.module.css index 0816ef8..88d3929 100644 --- a/src/components/OpenCoverSimulator.module.css +++ b/src/apps/math-learning/components/OpenCoverSimulator.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .simulator { padding: 1.5rem; diff --git a/src/components/OpenCoverSimulator.tsx b/src/apps/math-learning/components/OpenCoverSimulator.tsx similarity index 100% rename from src/components/OpenCoverSimulator.tsx rename to src/apps/math-learning/components/OpenCoverSimulator.tsx diff --git a/src/components/OpenSetInvestigator.module.css b/src/apps/math-learning/components/OpenSetInvestigator.module.css similarity index 100% rename from src/components/OpenSetInvestigator.module.css rename to src/apps/math-learning/components/OpenSetInvestigator.module.css diff --git a/src/components/OpenSetInvestigator.tsx b/src/apps/math-learning/components/OpenSetInvestigator.tsx similarity index 100% rename from src/components/OpenSetInvestigator.tsx rename to src/apps/math-learning/components/OpenSetInvestigator.tsx diff --git a/src/components/PathHomotopyAnimator.module.css b/src/apps/math-learning/components/PathHomotopyAnimator.module.css similarity index 99% rename from src/components/PathHomotopyAnimator.module.css rename to src/apps/math-learning/components/PathHomotopyAnimator.module.css index 94fa270..a42e8a2 100644 --- a/src/components/PathHomotopyAnimator.module.css +++ b/src/apps/math-learning/components/PathHomotopyAnimator.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .container { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/PathHomotopyAnimator.tsx b/src/apps/math-learning/components/PathHomotopyAnimator.tsx similarity index 100% rename from src/components/PathHomotopyAnimator.tsx rename to src/apps/math-learning/components/PathHomotopyAnimator.tsx diff --git a/src/components/PermutationQuiz.module.css b/src/apps/math-learning/components/PermutationQuiz.module.css similarity index 100% rename from src/components/PermutationQuiz.module.css rename to src/apps/math-learning/components/PermutationQuiz.module.css diff --git a/src/components/PermutationQuiz.tsx b/src/apps/math-learning/components/PermutationQuiz.tsx similarity index 100% rename from src/components/PermutationQuiz.tsx rename to src/apps/math-learning/components/PermutationQuiz.tsx diff --git a/src/components/PermutationVisualizer.module.css b/src/apps/math-learning/components/PermutationVisualizer.module.css similarity index 100% rename from src/components/PermutationVisualizer.module.css rename to src/apps/math-learning/components/PermutationVisualizer.module.css diff --git a/src/components/PermutationVisualizer.tsx b/src/apps/math-learning/components/PermutationVisualizer.tsx similarity index 100% rename from src/components/PermutationVisualizer.tsx rename to src/apps/math-learning/components/PermutationVisualizer.tsx diff --git a/src/components/ProductTopologyExplorer.module.css b/src/apps/math-learning/components/ProductTopologyExplorer.module.css similarity index 99% rename from src/components/ProductTopologyExplorer.module.css rename to src/apps/math-learning/components/ProductTopologyExplorer.module.css index 0f71d75..cd9bd2f 100644 --- a/src/components/ProductTopologyExplorer.module.css +++ b/src/apps/math-learning/components/ProductTopologyExplorer.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .explorer { color: var(--retro-text-primary); diff --git a/src/components/ProductTopologyExplorer.tsx b/src/apps/math-learning/components/ProductTopologyExplorer.tsx similarity index 99% rename from src/components/ProductTopologyExplorer.tsx rename to src/apps/math-learning/components/ProductTopologyExplorer.tsx index 426e874..1a0ef51 100644 --- a/src/components/ProductTopologyExplorer.tsx +++ b/src/apps/math-learning/components/ProductTopologyExplorer.tsx @@ -1,6 +1,6 @@ import React, { useState, useRef, useEffect, useCallback } from 'react'; import Select from 'react-select'; -import { retroSelectStyles } from '../styles/ReactSelectStyles'; +import { retroSelectStyles } from '@/styles/ReactSelectStyles'; import styles from './ProductTopologyExplorer.module.css'; type TopologyType = 'discrete' | 'trivial' | 'standard' | 'cofinite' | 'sierpinski'; diff --git a/src/components/RegularNormalConstructor.module.css b/src/apps/math-learning/components/RegularNormalConstructor.module.css similarity index 100% rename from src/components/RegularNormalConstructor.module.css rename to src/apps/math-learning/components/RegularNormalConstructor.module.css diff --git a/src/components/RegularNormalConstructor.tsx b/src/apps/math-learning/components/RegularNormalConstructor.tsx similarity index 100% rename from src/components/RegularNormalConstructor.tsx rename to src/apps/math-learning/components/RegularNormalConstructor.tsx diff --git a/src/components/RelationMatrixCalculator.module.css b/src/apps/math-learning/components/RelationMatrixCalculator.module.css similarity index 100% rename from src/components/RelationMatrixCalculator.module.css rename to src/apps/math-learning/components/RelationMatrixCalculator.module.css diff --git a/src/components/RelationMatrixCalculator.tsx b/src/apps/math-learning/components/RelationMatrixCalculator.tsx similarity index 100% rename from src/components/RelationMatrixCalculator.tsx rename to src/apps/math-learning/components/RelationMatrixCalculator.tsx diff --git a/src/components/SeparationAxiomLab.module.css b/src/apps/math-learning/components/SeparationAxiomLab.module.css similarity index 100% rename from src/components/SeparationAxiomLab.module.css rename to src/apps/math-learning/components/SeparationAxiomLab.module.css diff --git a/src/components/SeparationAxiomLab.tsx b/src/apps/math-learning/components/SeparationAxiomLab.tsx similarity index 100% rename from src/components/SeparationAxiomLab.tsx rename to src/apps/math-learning/components/SeparationAxiomLab.tsx diff --git a/src/components/SeparationAxiomsModule.tsx b/src/apps/math-learning/components/SeparationAxiomsModule.tsx similarity index 96% rename from src/components/SeparationAxiomsModule.tsx rename to src/apps/math-learning/components/SeparationAxiomsModule.tsx index 0118ab9..e8ca477 100644 --- a/src/components/SeparationAxiomsModule.tsx +++ b/src/apps/math-learning/components/SeparationAxiomsModule.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import styles from '../styles/ModuleStyles.module.css'; +import styles from '@/styles/ModuleStyles.module.css'; import SeparationAxiomLab from './SeparationAxiomLab'; import HausdorffDetective from './HausdorffDetective'; import RegularNormalConstructor from './RegularNormalConstructor'; diff --git a/src/components/SequenceConvergence.module.css b/src/apps/math-learning/components/SequenceConvergence.module.css similarity index 99% rename from src/components/SequenceConvergence.module.css rename to src/apps/math-learning/components/SequenceConvergence.module.css index 344b446..bbd12ff 100644 --- a/src/components/SequenceConvergence.module.css +++ b/src/apps/math-learning/components/SequenceConvergence.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .convergence { color: var(--retro-text-primary); diff --git a/src/components/SequenceConvergence.tsx b/src/apps/math-learning/components/SequenceConvergence.tsx similarity index 99% rename from src/components/SequenceConvergence.tsx rename to src/apps/math-learning/components/SequenceConvergence.tsx index ac7530e..3acf764 100644 --- a/src/components/SequenceConvergence.tsx +++ b/src/apps/math-learning/components/SequenceConvergence.tsx @@ -1,6 +1,6 @@ import React, { useState, useRef, useEffect } from 'react'; import Select from 'react-select'; -import { retroSelectStyles } from '../styles/ReactSelectStyles'; +import { retroSelectStyles } from '@/styles/ReactSelectStyles'; import styles from './SequenceConvergence.module.css'; type MetricType = 'euclidean' | 'manhattan' | 'maximum'; diff --git a/src/components/SequentialCompactnessExplorer.module.css b/src/apps/math-learning/components/SequentialCompactnessExplorer.module.css similarity index 99% rename from src/components/SequentialCompactnessExplorer.module.css rename to src/apps/math-learning/components/SequentialCompactnessExplorer.module.css index b0914bf..a50e844 100644 --- a/src/components/SequentialCompactnessExplorer.module.css +++ b/src/apps/math-learning/components/SequentialCompactnessExplorer.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .explorer { padding: 1.5rem; diff --git a/src/components/SequentialCompactnessExplorer.tsx b/src/apps/math-learning/components/SequentialCompactnessExplorer.tsx similarity index 100% rename from src/components/SequentialCompactnessExplorer.tsx rename to src/apps/math-learning/components/SequentialCompactnessExplorer.tsx diff --git a/src/components/SetOperationsVisualizer.module.css b/src/apps/math-learning/components/SetOperationsVisualizer.module.css similarity index 100% rename from src/components/SetOperationsVisualizer.module.css rename to src/apps/math-learning/components/SetOperationsVisualizer.module.css diff --git a/src/components/SetOperationsVisualizer.tsx b/src/apps/math-learning/components/SetOperationsVisualizer.tsx similarity index 100% rename from src/components/SetOperationsVisualizer.tsx rename to src/apps/math-learning/components/SetOperationsVisualizer.tsx diff --git a/src/components/SetQuiz.module.css b/src/apps/math-learning/components/SetQuiz.module.css similarity index 100% rename from src/components/SetQuiz.module.css rename to src/apps/math-learning/components/SetQuiz.module.css diff --git a/src/components/SetQuiz.tsx b/src/apps/math-learning/components/SetQuiz.tsx similarity index 100% rename from src/components/SetQuiz.tsx rename to src/apps/math-learning/components/SetQuiz.tsx diff --git a/src/components/SetRelationExplorer.module.css b/src/apps/math-learning/components/SetRelationExplorer.module.css similarity index 99% rename from src/components/SetRelationExplorer.module.css rename to src/apps/math-learning/components/SetRelationExplorer.module.css index df10df6..c17c95d 100644 --- a/src/components/SetRelationExplorer.module.css +++ b/src/apps/math-learning/components/SetRelationExplorer.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .explorer { display: flex; diff --git a/src/components/SetRelationExplorer.tsx b/src/apps/math-learning/components/SetRelationExplorer.tsx similarity index 100% rename from src/components/SetRelationExplorer.tsx rename to src/apps/math-learning/components/SetRelationExplorer.tsx diff --git a/src/components/SetTheoryModule.module.css b/src/apps/math-learning/components/SetTheoryModule.module.css similarity index 99% rename from src/components/SetTheoryModule.module.css rename to src/apps/math-learning/components/SetTheoryModule.module.css index a8c4a8a..3f64a5e 100644 --- a/src/components/SetTheoryModule.module.css +++ b/src/apps/math-learning/components/SetTheoryModule.module.css @@ -1,5 +1,5 @@ /* Import retro theme */ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .module { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/SetTheoryModule.tsx b/src/apps/math-learning/components/SetTheoryModule.tsx similarity index 100% rename from src/components/SetTheoryModule.tsx rename to src/apps/math-learning/components/SetTheoryModule.tsx diff --git a/src/components/SetsNavigation.module.css b/src/apps/math-learning/components/SetsNavigation.module.css similarity index 100% rename from src/components/SetsNavigation.module.css rename to src/apps/math-learning/components/SetsNavigation.module.css diff --git a/src/components/SetsNavigation.tsx b/src/apps/math-learning/components/SetsNavigation.tsx similarity index 100% rename from src/components/SetsNavigation.tsx rename to src/apps/math-learning/components/SetsNavigation.tsx diff --git a/src/components/SignCalculator.module.css b/src/apps/math-learning/components/SignCalculator.module.css similarity index 100% rename from src/components/SignCalculator.module.css rename to src/apps/math-learning/components/SignCalculator.module.css diff --git a/src/components/SignCalculator.tsx b/src/apps/math-learning/components/SignCalculator.tsx similarity index 100% rename from src/components/SignCalculator.tsx rename to src/apps/math-learning/components/SignCalculator.tsx diff --git a/src/components/SpaceCutter.module.css b/src/apps/math-learning/components/SpaceCutter.module.css similarity index 99% rename from src/components/SpaceCutter.module.css rename to src/apps/math-learning/components/SpaceCutter.module.css index a6fc5b5..cea3045 100644 --- a/src/components/SpaceCutter.module.css +++ b/src/apps/math-learning/components/SpaceCutter.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .container { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/SpaceCutter.tsx b/src/apps/math-learning/components/SpaceCutter.tsx similarity index 100% rename from src/components/SpaceCutter.tsx rename to src/apps/math-learning/components/SpaceCutter.tsx diff --git a/src/components/TopologicalSpacesModule.tsx b/src/apps/math-learning/components/TopologicalSpacesModule.tsx similarity index 96% rename from src/components/TopologicalSpacesModule.tsx rename to src/apps/math-learning/components/TopologicalSpacesModule.tsx index 6d97790..82feeaf 100644 --- a/src/components/TopologicalSpacesModule.tsx +++ b/src/apps/math-learning/components/TopologicalSpacesModule.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import styles from '../styles/ModuleStyles.module.css'; +import styles from '@/styles/ModuleStyles.module.css'; import TopologyGenerator from './TopologyGenerator'; import OpenSetInvestigator from './OpenSetInvestigator'; import BasisBuilder from './BasisBuilder'; diff --git a/src/components/TopologyGenerator.module.css b/src/apps/math-learning/components/TopologyGenerator.module.css similarity index 100% rename from src/components/TopologyGenerator.module.css rename to src/apps/math-learning/components/TopologyGenerator.module.css diff --git a/src/components/TopologyGenerator.tsx b/src/apps/math-learning/components/TopologyGenerator.tsx similarity index 100% rename from src/components/TopologyGenerator.tsx rename to src/apps/math-learning/components/TopologyGenerator.tsx diff --git a/src/components/TopologyQuestModules.tsx b/src/apps/math-learning/components/TopologyQuestModules.tsx similarity index 96% rename from src/components/TopologyQuestModules.tsx rename to src/apps/math-learning/components/TopologyQuestModules.tsx index 21a38a0..31568c4 100644 --- a/src/components/TopologyQuestModules.tsx +++ b/src/apps/math-learning/components/TopologyQuestModules.tsx @@ -10,7 +10,7 @@ import SeparationAxiomsModule from './SeparationAxiomsModule' import CompactnessModule from './CompactnessModule' import ConnectednessModule from './ConnectednessModule' import FunctionSpacesModule from './FunctionSpacesModule' -import styles from '../styles/ModuleStyles.module.css' +import styles from '@/styles/ModuleStyles.module.css' interface TopologyQuestModulesProps { activeModule: ModuleType diff --git a/src/components/TopologyQuestNav.module.css b/src/apps/math-learning/components/TopologyQuestNav.module.css similarity index 100% rename from src/components/TopologyQuestNav.module.css rename to src/apps/math-learning/components/TopologyQuestNav.module.css diff --git a/src/components/TopologyQuestNav.tsx b/src/apps/math-learning/components/TopologyQuestNav.tsx similarity index 100% rename from src/components/TopologyQuestNav.tsx rename to src/apps/math-learning/components/TopologyQuestNav.tsx diff --git a/src/components/TopologySelector.module.css b/src/apps/math-learning/components/TopologySelector.module.css similarity index 99% rename from src/components/TopologySelector.module.css rename to src/apps/math-learning/components/TopologySelector.module.css index 9fa4e73..d88b2ca 100644 --- a/src/components/TopologySelector.module.css +++ b/src/apps/math-learning/components/TopologySelector.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .container { background: linear-gradient(135deg, var(--retro-bg-panel), var(--retro-bg-light)); diff --git a/src/components/TopologySelector.tsx b/src/apps/math-learning/components/TopologySelector.tsx similarity index 99% rename from src/components/TopologySelector.tsx rename to src/apps/math-learning/components/TopologySelector.tsx index f5eb575..5762b39 100644 --- a/src/components/TopologySelector.tsx +++ b/src/apps/math-learning/components/TopologySelector.tsx @@ -1,6 +1,6 @@ import React, { useState, useCallback, useMemo } from 'react'; import Select from 'react-select'; -import { retroSelectStyles } from '../styles/ReactSelectStyles'; +import { retroSelectStyles } from '@/styles/ReactSelectStyles'; import styles from './TopologySelector.module.css'; interface Function { diff --git a/src/components/TychonoffVisualizer.module.css b/src/apps/math-learning/components/TychonoffVisualizer.module.css similarity index 99% rename from src/components/TychonoffVisualizer.module.css rename to src/apps/math-learning/components/TychonoffVisualizer.module.css index 71818f4..582b9ab 100644 --- a/src/components/TychonoffVisualizer.module.css +++ b/src/apps/math-learning/components/TychonoffVisualizer.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .visualizer { padding: 1.5rem; diff --git a/src/components/TychonoffVisualizer.tsx b/src/apps/math-learning/components/TychonoffVisualizer.tsx similarity index 100% rename from src/components/TychonoffVisualizer.tsx rename to src/apps/math-learning/components/TychonoffVisualizer.tsx diff --git a/src/components/VennDiagram.module.css b/src/apps/math-learning/components/VennDiagram.module.css similarity index 99% rename from src/components/VennDiagram.module.css rename to src/apps/math-learning/components/VennDiagram.module.css index 1b275d8..4747035 100644 --- a/src/components/VennDiagram.module.css +++ b/src/apps/math-learning/components/VennDiagram.module.css @@ -1,4 +1,4 @@ -@import '../styles/retro-theme.css'; +@import '../../../styles/retro-theme.css'; .vennDiagram { display: flex; diff --git a/src/components/VennDiagram.tsx b/src/apps/math-learning/components/VennDiagram.tsx similarity index 100% rename from src/components/VennDiagram.tsx rename to src/apps/math-learning/components/VennDiagram.tsx diff --git a/src/components/VennDiagramBuilder.module.css b/src/apps/math-learning/components/VennDiagramBuilder.module.css similarity index 100% rename from src/components/VennDiagramBuilder.module.css rename to src/apps/math-learning/components/VennDiagramBuilder.module.css diff --git a/src/components/VennDiagramBuilder.tsx b/src/apps/math-learning/components/VennDiagramBuilder.tsx similarity index 100% rename from src/components/VennDiagramBuilder.tsx rename to src/apps/math-learning/components/VennDiagramBuilder.tsx diff --git a/src/pages/GroupsPage.module.css b/src/apps/math-learning/pages/GroupsPage.module.css similarity index 100% rename from src/pages/GroupsPage.module.css rename to src/apps/math-learning/pages/GroupsPage.module.css diff --git a/src/pages/GroupsPage.tsx b/src/apps/math-learning/pages/GroupsPage.tsx similarity index 98% rename from src/pages/GroupsPage.tsx rename to src/apps/math-learning/pages/GroupsPage.tsx index 993e092..a036922 100644 --- a/src/pages/GroupsPage.tsx +++ b/src/apps/math-learning/pages/GroupsPage.tsx @@ -1,8 +1,8 @@ -import GroupsNavigation from '@/components/GroupsNavigation' -import PermutationVisualizer from '@/components/PermutationVisualizer' -import CycleDecomposer from '@/components/CycleDecomposer' -import PermutationQuiz from '@/components/PermutationQuiz' -import SignCalculator from '@/components/SignCalculator' +import GroupsNavigation from '../components/GroupsNavigation' +import PermutationVisualizer from '../components/PermutationVisualizer' +import CycleDecomposer from '../components/CycleDecomposer' +import PermutationQuiz from '../components/PermutationQuiz' +import SignCalculator from '../components/SignCalculator' import { useGroupsLearning } from '@/hooks/useGroupsLearning' import styles from './GroupsPage.module.css' diff --git a/src/pages/LearningPage.module.css b/src/apps/math-learning/pages/LearningPage.module.css similarity index 100% rename from src/pages/LearningPage.module.css rename to src/apps/math-learning/pages/LearningPage.module.css diff --git a/src/pages/LearningPage.tsx b/src/apps/math-learning/pages/LearningPage.tsx similarity index 86% rename from src/pages/LearningPage.tsx rename to src/apps/math-learning/pages/LearningPage.tsx index 59c33b7..cbea87b 100644 --- a/src/pages/LearningPage.tsx +++ b/src/apps/math-learning/pages/LearningPage.tsx @@ -1,7 +1,7 @@ import React from 'react' import { useTopologyQuest } from '@/hooks/useTopologyQuest' -import TopologyQuestNav from '@/components/TopologyQuestNav' -import TopologyQuestModules from '@/components/TopologyQuestModules' +import TopologyQuestNav from '../components/TopologyQuestNav' +import TopologyQuestModules from '../components/TopologyQuestModules' import styles from './LearningPage.module.css' import '@/styles/retro-theme.css' diff --git a/src/pages/SetsPage.module.css b/src/apps/math-learning/pages/SetsPage.module.css similarity index 100% rename from src/pages/SetsPage.module.css rename to src/apps/math-learning/pages/SetsPage.module.css diff --git a/src/pages/SetsPage.tsx b/src/apps/math-learning/pages/SetsPage.tsx similarity index 99% rename from src/pages/SetsPage.tsx rename to src/apps/math-learning/pages/SetsPage.tsx index a05c580..ad8f912 100644 --- a/src/pages/SetsPage.tsx +++ b/src/apps/math-learning/pages/SetsPage.tsx @@ -1,11 +1,11 @@ import { useState, useEffect } from 'react' -import SetsNavigation from '@/components/SetsNavigation' -import VennDiagramBuilder from '@/components/VennDiagramBuilder' -import SetOperationsVisualizer from '@/components/SetOperationsVisualizer' -import RelationMatrixCalculator from '@/components/RelationMatrixCalculator' -import FunctionVisualizer from '@/components/FunctionVisualizer' -import CardinalityExplorer from '@/components/CardinalityExplorer' -import SetQuiz from '@/components/SetQuiz' +import SetsNavigation from '../components/SetsNavigation' +import VennDiagramBuilder from '../components/VennDiagramBuilder' +import SetOperationsVisualizer from '../components/SetOperationsVisualizer' +import RelationMatrixCalculator from '../components/RelationMatrixCalculator' +import FunctionVisualizer from '../components/FunctionVisualizer' +import CardinalityExplorer from '../components/CardinalityExplorer' +import SetQuiz from '../components/SetQuiz' import styles from './SetsPage.module.css' const SetsPage = () => { diff --git a/src/components/ChartErrorBoundary.tsx b/src/apps/metrics-systems/components/ChartErrorBoundary.tsx similarity index 100% rename from src/components/ChartErrorBoundary.tsx rename to src/apps/metrics-systems/components/ChartErrorBoundary.tsx diff --git a/src/components/MetricsDashboard.module.css b/src/apps/metrics-systems/components/MetricsDashboard.module.css similarity index 100% rename from src/components/MetricsDashboard.module.css rename to src/apps/metrics-systems/components/MetricsDashboard.module.css diff --git a/src/components/MetricsDashboard.tsx b/src/apps/metrics-systems/components/MetricsDashboard.tsx similarity index 100% rename from src/components/MetricsDashboard.tsx rename to src/apps/metrics-systems/components/MetricsDashboard.tsx diff --git a/src/components/MetricsNavigation.module.css b/src/apps/metrics-systems/components/MetricsNavigation.module.css similarity index 100% rename from src/components/MetricsNavigation.module.css rename to src/apps/metrics-systems/components/MetricsNavigation.module.css diff --git a/src/components/MetricsNavigation.tsx b/src/apps/metrics-systems/components/MetricsNavigation.tsx similarity index 100% rename from src/components/MetricsNavigation.tsx rename to src/apps/metrics-systems/components/MetricsNavigation.tsx diff --git a/src/components/ResilienceNavigation.module.css b/src/apps/metrics-systems/components/ResilienceNavigation.module.css similarity index 100% rename from src/components/ResilienceNavigation.module.css rename to src/apps/metrics-systems/components/ResilienceNavigation.module.css diff --git a/src/components/ResilienceNavigation.tsx b/src/apps/metrics-systems/components/ResilienceNavigation.tsx similarity index 100% rename from src/components/ResilienceNavigation.tsx rename to src/apps/metrics-systems/components/ResilienceNavigation.tsx diff --git a/src/components/SystemDiagram.module.css b/src/apps/metrics-systems/components/SystemDiagram.module.css similarity index 100% rename from src/components/SystemDiagram.module.css rename to src/apps/metrics-systems/components/SystemDiagram.module.css diff --git a/src/components/SystemDiagram.tsx b/src/apps/metrics-systems/components/SystemDiagram.tsx similarity index 100% rename from src/components/SystemDiagram.tsx rename to src/apps/metrics-systems/components/SystemDiagram.tsx diff --git a/src/components/TimeseriesGraph.module.css b/src/apps/metrics-systems/components/TimeseriesGraph.module.css similarity index 100% rename from src/components/TimeseriesGraph.module.css rename to src/apps/metrics-systems/components/TimeseriesGraph.module.css diff --git a/src/components/TimeseriesGraph.tsx b/src/apps/metrics-systems/components/TimeseriesGraph.tsx similarity index 100% rename from src/components/TimeseriesGraph.tsx rename to src/apps/metrics-systems/components/TimeseriesGraph.tsx diff --git a/src/pages/MetricsPage.tsx b/src/apps/metrics-systems/pages/MetricsPage.tsx similarity index 90% rename from src/pages/MetricsPage.tsx rename to src/apps/metrics-systems/pages/MetricsPage.tsx index 0854400..cacb320 100644 --- a/src/pages/MetricsPage.tsx +++ b/src/apps/metrics-systems/pages/MetricsPage.tsx @@ -1,7 +1,7 @@ import { useState, useCallback, useEffect } from 'react' import { useParams, useNavigate } from 'react-router-dom' -import MetricsNavigation from '@/components/MetricsNavigation' -import MetricsDashboard from '@/components/MetricsDashboard' +import MetricsNavigation from '../components/MetricsNavigation' +import MetricsDashboard from '../components/MetricsDashboard' const MetricsPage = () => { const { tab } = useParams<{ tab: string }>() diff --git a/src/pages/ResilienceGamePage.module.css b/src/apps/metrics-systems/pages/ResilienceGamePage.module.css similarity index 100% rename from src/pages/ResilienceGamePage.module.css rename to src/apps/metrics-systems/pages/ResilienceGamePage.module.css diff --git a/src/pages/ResilienceGamePage.tsx b/src/apps/metrics-systems/pages/ResilienceGamePage.tsx similarity index 99% rename from src/pages/ResilienceGamePage.tsx rename to src/apps/metrics-systems/pages/ResilienceGamePage.tsx index 0a0c1db..fc72aac 100644 --- a/src/pages/ResilienceGamePage.tsx +++ b/src/apps/metrics-systems/pages/ResilienceGamePage.tsx @@ -1,7 +1,7 @@ import { useState, useEffect, useRef } from 'react' -import ResilienceNavigation from '@/components/ResilienceNavigation' -import { SystemDiagram } from '@/components/SystemDiagram' -import { TimeseriesGraph } from '@/components/TimeseriesGraph' +import ResilienceNavigation from '../components/ResilienceNavigation' +import { SystemDiagram } from '../components/SystemDiagram' +import { TimeseriesGraph } from '../components/TimeseriesGraph' import styles from './ResilienceGamePage.module.css' interface DataPoint { diff --git a/src/pages/SystemsPage.module.css b/src/apps/metrics-systems/pages/SystemsPage.module.css similarity index 100% rename from src/pages/SystemsPage.module.css rename to src/apps/metrics-systems/pages/SystemsPage.module.css diff --git a/src/pages/SystemsPage.tsx b/src/apps/metrics-systems/pages/SystemsPage.tsx similarity index 98% rename from src/pages/SystemsPage.tsx rename to src/apps/metrics-systems/pages/SystemsPage.tsx index a8bdc26..2b0784d 100644 --- a/src/pages/SystemsPage.tsx +++ b/src/apps/metrics-systems/pages/SystemsPage.tsx @@ -1,4 +1,4 @@ -import ResilienceNavigation from '@/components/ResilienceNavigation' +import ResilienceNavigation from '../components/ResilienceNavigation' import styles from './SystemsPage.module.css' const SystemsPage = () => { diff --git a/src/components/PartyGame.module.css b/src/apps/party/components/PartyGame.module.css similarity index 100% rename from src/components/PartyGame.module.css rename to src/apps/party/components/PartyGame.module.css diff --git a/src/components/PartyGame.tsx b/src/apps/party/components/PartyGame.tsx similarity index 100% rename from src/components/PartyGame.tsx rename to src/apps/party/components/PartyGame.tsx diff --git a/src/components/PartyNavigation.module.css b/src/apps/party/components/PartyNavigation.module.css similarity index 100% rename from src/components/PartyNavigation.module.css rename to src/apps/party/components/PartyNavigation.module.css diff --git a/src/components/PartyNavigation.tsx b/src/apps/party/components/PartyNavigation.tsx similarity index 100% rename from src/components/PartyNavigation.tsx rename to src/apps/party/components/PartyNavigation.tsx diff --git a/src/pages/PartyPage.module.css b/src/apps/party/pages/PartyPage.module.css similarity index 100% rename from src/pages/PartyPage.module.css rename to src/apps/party/pages/PartyPage.module.css diff --git a/src/pages/PartyPage.tsx b/src/apps/party/pages/PartyPage.tsx similarity index 71% rename from src/pages/PartyPage.tsx rename to src/apps/party/pages/PartyPage.tsx index 8b2f262..b692004 100644 --- a/src/pages/PartyPage.tsx +++ b/src/apps/party/pages/PartyPage.tsx @@ -1,5 +1,5 @@ -import PartyNavigation from '@/components/PartyNavigation' -import PartyGame from '@/components/PartyGame' +import PartyNavigation from '../components/PartyNavigation' +import PartyGame from '../components/PartyGame' import styles from './PartyPage.module.css' const PartyPage = () => { diff --git a/src/components/QuestGame.module.css b/src/apps/quest/components/QuestGame.module.css similarity index 100% rename from src/components/QuestGame.module.css rename to src/apps/quest/components/QuestGame.module.css diff --git a/src/components/QuestGame.tsx b/src/apps/quest/components/QuestGame.tsx similarity index 100% rename from src/components/QuestGame.tsx rename to src/apps/quest/components/QuestGame.tsx diff --git a/src/components/QuestNavigation.module.css b/src/apps/quest/components/QuestNavigation.module.css similarity index 100% rename from src/components/QuestNavigation.module.css rename to src/apps/quest/components/QuestNavigation.module.css diff --git a/src/components/QuestNavigation.tsx b/src/apps/quest/components/QuestNavigation.tsx similarity index 100% rename from src/components/QuestNavigation.tsx rename to src/apps/quest/components/QuestNavigation.tsx diff --git a/src/pages/QuestPage.module.css b/src/apps/quest/pages/QuestPage.module.css similarity index 100% rename from src/pages/QuestPage.module.css rename to src/apps/quest/pages/QuestPage.module.css diff --git a/src/pages/QuestPage.tsx b/src/apps/quest/pages/QuestPage.tsx similarity index 88% rename from src/pages/QuestPage.tsx rename to src/apps/quest/pages/QuestPage.tsx index 3da69d0..5277dd5 100644 --- a/src/pages/QuestPage.tsx +++ b/src/apps/quest/pages/QuestPage.tsx @@ -1,6 +1,6 @@ import { useState, useCallback } from 'react' -import QuestGame from '@/components/QuestGame' -import QuestNavigation from '@/components/QuestNavigation' +import QuestGame from '../components/QuestGame' +import QuestNavigation from '../components/QuestNavigation' import styles from './QuestPage.module.css' interface QuestPageProps { diff --git a/src/components/ThoughtsGame.module.css b/src/apps/thoughts/components/ThoughtsGame.module.css similarity index 100% rename from src/components/ThoughtsGame.module.css rename to src/apps/thoughts/components/ThoughtsGame.module.css diff --git a/src/components/ThoughtsGame.tsx b/src/apps/thoughts/components/ThoughtsGame.tsx similarity index 100% rename from src/components/ThoughtsGame.tsx rename to src/apps/thoughts/components/ThoughtsGame.tsx diff --git a/src/components/ThoughtsNavigation.module.css b/src/apps/thoughts/components/ThoughtsNavigation.module.css similarity index 100% rename from src/components/ThoughtsNavigation.module.css rename to src/apps/thoughts/components/ThoughtsNavigation.module.css diff --git a/src/components/ThoughtsNavigation.tsx b/src/apps/thoughts/components/ThoughtsNavigation.tsx similarity index 100% rename from src/components/ThoughtsNavigation.tsx rename to src/apps/thoughts/components/ThoughtsNavigation.tsx diff --git a/src/pages/ThoughtsPage.tsx b/src/apps/thoughts/pages/ThoughtsPage.tsx similarity index 89% rename from src/pages/ThoughtsPage.tsx rename to src/apps/thoughts/pages/ThoughtsPage.tsx index 5926f89..b1ba980 100644 --- a/src/pages/ThoughtsPage.tsx +++ b/src/apps/thoughts/pages/ThoughtsPage.tsx @@ -1,6 +1,6 @@ import { useState, useRef, useCallback } from 'react' -import ThoughtsNavigation from '@/components/ThoughtsNavigation' -import ThoughtsGame from '@/components/ThoughtsGame' +import ThoughtsNavigation from '../components/ThoughtsNavigation' +import ThoughtsGame from '../components/ThoughtsGame' const ThoughtsPage = () => { const [playerId, setPlayerId] = useState(null) diff --git a/src/components/TracyNavigation.module.css b/src/apps/tracy/components/TracyNavigation.module.css similarity index 100% rename from src/components/TracyNavigation.module.css rename to src/apps/tracy/components/TracyNavigation.module.css diff --git a/src/components/TracyNavigation.tsx b/src/apps/tracy/components/TracyNavigation.tsx similarity index 100% rename from src/components/TracyNavigation.tsx rename to src/apps/tracy/components/TracyNavigation.tsx diff --git a/src/components/TracySceneEditor.module.css b/src/apps/tracy/components/TracySceneEditor.module.css similarity index 100% rename from src/components/TracySceneEditor.module.css rename to src/apps/tracy/components/TracySceneEditor.module.css diff --git a/src/components/TracySceneEditor.tsx b/src/apps/tracy/components/TracySceneEditor.tsx similarity index 100% rename from src/components/TracySceneEditor.tsx rename to src/apps/tracy/components/TracySceneEditor.tsx diff --git a/src/components/__tests__/TracySceneEditor.test.tsx b/src/apps/tracy/components/__tests__/TracySceneEditor.test.tsx similarity index 100% rename from src/components/__tests__/TracySceneEditor.test.tsx rename to src/apps/tracy/components/__tests__/TracySceneEditor.test.tsx diff --git a/src/pages/TracyPage.module.css b/src/apps/tracy/pages/TracyPage.module.css similarity index 100% rename from src/pages/TracyPage.module.css rename to src/apps/tracy/pages/TracyPage.module.css diff --git a/src/pages/TracyPage.tsx b/src/apps/tracy/pages/TracyPage.tsx similarity index 98% rename from src/pages/TracyPage.tsx rename to src/apps/tracy/pages/TracyPage.tsx index f72893b..b037fda 100644 --- a/src/pages/TracyPage.tsx +++ b/src/apps/tracy/pages/TracyPage.tsx @@ -1,7 +1,7 @@ import { useState } from 'react' import styles from './TracyPage.module.css' import TracySceneEditor from '../components/TracySceneEditor' -import TracyNavigation from '@/components/TracyNavigation' +import TracyNavigation from '../components/TracyNavigation' interface SceneData { scene: { diff --git a/src/pages/HomePage.css b/src/core/pages/HomePage.css similarity index 100% rename from src/pages/HomePage.css rename to src/core/pages/HomePage.css diff --git a/src/pages/HomePage.module.css b/src/core/pages/HomePage.module.css similarity index 100% rename from src/pages/HomePage.module.css rename to src/core/pages/HomePage.module.css diff --git a/src/pages/HomePage.tsx b/src/core/pages/HomePage.tsx similarity index 65% rename from src/pages/HomePage.tsx rename to src/core/pages/HomePage.tsx index 92229db..7f25c3e 100644 --- a/src/pages/HomePage.tsx +++ b/src/core/pages/HomePage.tsx @@ -1,6 +1,6 @@ -import Navigation from '@/components/Navigation' -import JuliaSetBackground from '@/components/JuliaSetBackground' -import MathAnimations from '@/components/MathAnimations' +import Navigation from '@/shared/components/Navigation' +import JuliaSetBackground from '@/shared/components/JuliaSetBackground' +import MathAnimations from '@/shared/components/MathAnimations' import styles from './HomePage.module.css' import './HomePage.css' diff --git a/src/pages/NotFoundPage.module.css b/src/core/pages/NotFoundPage.module.css similarity index 100% rename from src/pages/NotFoundPage.module.css rename to src/core/pages/NotFoundPage.module.css diff --git a/src/pages/NotFoundPage.tsx b/src/core/pages/NotFoundPage.tsx similarity index 90% rename from src/pages/NotFoundPage.tsx rename to src/core/pages/NotFoundPage.tsx index 2ca3266..741bc37 100644 --- a/src/pages/NotFoundPage.tsx +++ b/src/core/pages/NotFoundPage.tsx @@ -1,5 +1,5 @@ import { Link } from 'react-router-dom' -import JuliaSetBackground from '@/components/JuliaSetBackground' +import JuliaSetBackground from '@/shared/components/JuliaSetBackground' import styles from './NotFoundPage.module.css' const NotFoundPage = () => { diff --git a/src/components/JuliaSetBackground.module.css b/src/shared/components/JuliaSetBackground.module.css similarity index 100% rename from src/components/JuliaSetBackground.module.css rename to src/shared/components/JuliaSetBackground.module.css diff --git a/src/components/JuliaSetBackground.tsx b/src/shared/components/JuliaSetBackground.tsx similarity index 100% rename from src/components/JuliaSetBackground.tsx rename to src/shared/components/JuliaSetBackground.tsx diff --git a/src/components/MathAnimations.module.css b/src/shared/components/MathAnimations.module.css similarity index 100% rename from src/components/MathAnimations.module.css rename to src/shared/components/MathAnimations.module.css diff --git a/src/components/MathAnimations.tsx b/src/shared/components/MathAnimations.tsx similarity index 100% rename from src/components/MathAnimations.tsx rename to src/shared/components/MathAnimations.tsx diff --git a/src/components/Navigation.module.css b/src/shared/components/Navigation.module.css similarity index 100% rename from src/components/Navigation.module.css rename to src/shared/components/Navigation.module.css diff --git a/src/components/Navigation.tsx b/src/shared/components/Navigation.tsx similarity index 100% rename from src/components/Navigation.tsx rename to src/shared/components/Navigation.tsx diff --git a/src/components/__tests__/Navigation.test.tsx b/src/shared/components/__tests__/Navigation.test.tsx similarity index 100% rename from src/components/__tests__/Navigation.test.tsx rename to src/shared/components/__tests__/Navigation.test.tsx diff --git a/tsconfig.json b/tsconfig.json index 8bce9d3..ac82b71 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,7 +24,7 @@ "baseUrl": ".", "paths": { "@/*": ["./src/*"], - "@/components/*": ["./src/components/*"], + "@/shared/components/*": ["./src/shared/components/*"], "@/hooks/*": ["./src/hooks/*"], "@/utils/*": ["./src/utils/*"], "@/types/*": ["./src/types/*"]