diff --git a/src/AppRoutes.tsx b/src/AppRoutes.tsx index 0f87f10..07d6af0 100644 --- a/src/AppRoutes.tsx +++ b/src/AppRoutes.tsx @@ -31,7 +31,7 @@ const AppRoutes = () => ( - + diff --git a/src/components/icons/CheckIcon.tsx b/src/components/icons/CheckIcon.tsx new file mode 100644 index 0000000..546f4fc --- /dev/null +++ b/src/components/icons/CheckIcon.tsx @@ -0,0 +1,27 @@ +import React from "react"; + +interface IconProps { + className?: string; +} + + + +export const CheckIcon: React.FC = ({ className }) => { + return ( + + + + ) +} + + + + + + diff --git a/src/components/icons/RefreshIcon.tsx b/src/components/icons/RefreshIcon.tsx new file mode 100644 index 0000000..66e7401 --- /dev/null +++ b/src/components/icons/RefreshIcon.tsx @@ -0,0 +1,27 @@ +import React from "react"; + +interface IconProps { + className?: string; +} + +export const RefreshIcon: React.FC = ({ className }) => { + return ( + + + + + + + ); +}; \ No newline at end of file diff --git a/src/index.css b/src/index.css index ba992c9..52c4563 100644 --- a/src/index.css +++ b/src/index.css @@ -63,3 +63,8 @@ transform: translateX(100%); } } + + +.rotate-360 { + transform: rotate(160deg); +} \ No newline at end of file diff --git a/src/pages/CourseExercises.tsx b/src/pages/CourseExercises.tsx index 2794a06..0d92c4f 100644 --- a/src/pages/CourseExercises.tsx +++ b/src/pages/CourseExercises.tsx @@ -110,7 +110,7 @@ const history = useHistory(); {/* Кнопки выбора дня */} {days.length > 1 && ( -
+
{days.map((day) => (
{/* Fixed Timer at Bottom */} -
+
@@ -340,11 +332,10 @@ export const Exercise = () => {
+ + + + +
diff --git a/src/shared/consts/router.ts b/src/shared/consts/router.ts index 7aeb765..dc53b5e 100644 --- a/src/shared/consts/router.ts +++ b/src/shared/consts/router.ts @@ -5,6 +5,6 @@ export const getRouteForgotPassword = () => `/forgot-password` export const getRouteCourses = () => `/courses` export const getRouteCourseExercises = (id: number | string) => `/course/${id}` export const getRouteExercise = (courseId: number | string, exerciseId: number | string) => - `/course/${courseId}/exercise/${exerciseId}` + `/course/${courseId}/${exerciseId}` export const getRouteSettings = () => `/settings` export const getRouteCourseComplete = () => `/course-complete`