diff --git a/src/routes/timer.tsx b/src/routes/timer.tsx index 985ade4..f22c20d 100644 --- a/src/routes/timer.tsx +++ b/src/routes/timer.tsx @@ -6,10 +6,10 @@ import { import { ScrollArea } from '@/components/ui/scroll-area'; import { cn } from '@/lib/utils'; import TimerBar from '@/timer/TimerBar'; -import DrawScrambleCard from '@/timer/drawScrambleCard'; -import LiveCubeCard from '@/timer/liveCubeCard'; -import ResultsCard from '@/timer/resultsCard'; -import ScrambleDisplay from '@/timer/scrambleDisplay'; +import DrawScrambleCard from '@/timer/DrawScrambleCard'; +import LiveCubeCard from '@/timer/LiveCubeCard'; +import ResultsCard from '@/timer/ResultsCard'; +import ScrambleDisplay from '@/timer/ScrambleDisplay'; import useCubeTimer, { HOLD_DOWN_TIME, TimerState } from '@/timer/useCubeTimer'; export const Route = createFileRoute('/timer')({ diff --git a/src/routes/trainer.tsx b/src/routes/trainer.tsx index 0afd648..6eac673 100644 --- a/src/routes/trainer.tsx +++ b/src/routes/trainer.tsx @@ -1,7 +1,7 @@ import { createFileRoute } from '@tanstack/react-router'; import { useStore } from '@tanstack/react-store'; import { ScrollArea } from '@/components/ui/scroll-area'; -import LiveCubeCard from '@/timer/liveCubeCard'; +import LiveCubeCard from '@/timer/LiveCubeCard'; import DrawSolutionCard from '@/trainer/DrawSolutionCard'; import SolutionDisplay from '@/trainer/SolutionDisplay'; import TrainerBar from '@/trainer/TrainerBar'; diff --git a/src/timer/algTable.tsx b/src/timer/AlgTable.tsx similarity index 100% rename from src/timer/algTable.tsx rename to src/timer/AlgTable.tsx diff --git a/src/timer/drawScrambleCard.tsx b/src/timer/DrawScrambleCard.tsx similarity index 100% rename from src/timer/drawScrambleCard.tsx rename to src/timer/DrawScrambleCard.tsx diff --git a/src/timer/liveCubeCard.tsx b/src/timer/LiveCubeCard.tsx similarity index 100% rename from src/timer/liveCubeCard.tsx rename to src/timer/LiveCubeCard.tsx diff --git a/src/timer/resultsCard.tsx b/src/timer/ResultsCard.tsx similarity index 99% rename from src/timer/resultsCard.tsx rename to src/timer/ResultsCard.tsx index 9db238c..1593935 100644 --- a/src/timer/resultsCard.tsx +++ b/src/timer/ResultsCard.tsx @@ -14,7 +14,7 @@ import { } from '@/components/ui/dialog'; import { analyseSolve } from '@/lib/analysis/dnfAnalyser'; import { Penalty, Solve, db } from '@/lib/db'; -import { AlgTable } from './algTable'; +import { AlgTable } from './AlgTable'; function convertTimeToText(time: number) { if (time == -1) return 'DNF'; diff --git a/src/timer/scrambleDisplay.tsx b/src/timer/ScrambleDisplay.tsx similarity index 100% rename from src/timer/scrambleDisplay.tsx rename to src/timer/ScrambleDisplay.tsx diff --git a/src/timer/useCubeTimer.tsx b/src/timer/useCubeTimer.ts similarity index 100% rename from src/timer/useCubeTimer.tsx rename to src/timer/useCubeTimer.ts