import { ConfigurableDashboard } from "@/components/Dashboard/ConfigurableDashboard"; import { ExerciseOverview } from "@/components/Exercises"; import { MeasurementCategoryDetail, MeasurementCategoryOverview } from "@/components/Measurements"; import { BmiCalculator, NutritionDiaryOverview, PlanDetail, PlansOverview } from "@/components/Nutrition"; import { PrivateTemplateOverview, PublicTemplateOverview, RoutineAdd, RoutineDetail, RoutineDetailsTable, RoutineEdit, RoutineOverview, SessionAdd, SlotProgressionEdit, TemplateDetail, WorkoutLogs, WorkoutStats } from "@/components/Routines"; import { TrophiesDetail } from "@/components/Trophies"; import { About, AddExercise, AddWeight, ApiPage, Calendar, CaloriesCalculator, Equipments, Ingredients, Login, Preferences, WeightOverview, } from "@/pages"; import { ExerciseDetailPage } from "@/pages/ExerciseDetails"; import React from "react"; import { Route, Routes } from "react-router-dom"; /* * Routes for the application * * Don't change the routes of the elements which are also used in the django application * See also src/utils/url.ts */ export const WgerRoutes = () => { return ( } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> }> }> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> {/* This route matches when no other route matches, so a 404 */}

404, Page NOT FOUND

} />
); };