diff --git a/src/App.tsx b/src/App.tsx index 68a7169..3192179 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,6 +16,9 @@ import { Test } from "./pages/student/practice/Test"; import { Profile } from "./pages/student/Profile"; import { Rewards } from "./pages/student/Rewards"; import { StudentLayout } from "./pages/student/StudentLayout"; +import { TargetedPractice } from "./pages/student/targeted-practice/page"; +import { Drills } from "./pages/student/drills/page"; +import { HardTestModules } from "./pages/student/hard-test-modules/page"; function App() { const router = createBrowserRouter([ @@ -54,9 +57,20 @@ function App() { path: "practice/:sheetId", element: , }, + { + path: "practice/targeted-practice", + element: , + }, + { + path: "practice/drills", + element: , + }, + { + path: "practice/hard-test-modules", + element: , + }, ], }, - { path: "practice/:sheetId/test", element: , diff --git a/src/pages/student/Practice.tsx b/src/pages/student/Practice.tsx index 9cf1ee7..71b0447 100644 --- a/src/pages/student/Practice.tsx +++ b/src/pages/student/Practice.tsx @@ -17,8 +17,10 @@ import { CardTitle, } from "../../components/ui/card"; import { Button } from "../../components/ui/button"; +import { useNavigate } from "react-router-dom"; export const Practice = () => { + const navigate = useNavigate(); return (
@@ -61,7 +63,10 @@ export const Practice = () => {

Practice your way

- + navigate("/student/practice/targeted-practice")} + className="rounded-4xl cursor-pointer hover:bg-gray-50 active:bg-gray-50 active:translate-y-1" + >
@@ -81,7 +86,10 @@ export const Practice = () => { - + navigate("/student/practice/drills")} + className="rounded-4xl cursor-pointer hover:bg-gray-50 active:bg-gray-50 active:translate-y-1" + >
@@ -99,7 +107,10 @@ export const Practice = () => { - + navigate("/student/practice/hard-test-modules")} + className="rounded-4xl cursor-pointer hover:bg-gray-50 active:bg-gray-50 active:translate-y-1" + >
diff --git a/src/pages/student/drills/page.tsx b/src/pages/student/drills/page.tsx new file mode 100644 index 0000000..9c0234e --- /dev/null +++ b/src/pages/student/drills/page.tsx @@ -0,0 +1,7 @@ +export const Drills = () => { + return ( +
+ Drills +
+ ); +}; diff --git a/src/pages/student/hard-test-modules/page.tsx b/src/pages/student/hard-test-modules/page.tsx new file mode 100644 index 0000000..82f2651 --- /dev/null +++ b/src/pages/student/hard-test-modules/page.tsx @@ -0,0 +1,7 @@ +export const HardTestModules = () => { + return ( +
+ HardTestModules +
+ ); +}; diff --git a/src/pages/student/targeted-practice/page.tsx b/src/pages/student/targeted-practice/page.tsx new file mode 100644 index 0000000..d85b480 --- /dev/null +++ b/src/pages/student/targeted-practice/page.tsx @@ -0,0 +1,7 @@ +export const TargetedPractice = () => { + return ( +
+ Targeted Practice +
+ ); +};