fix: split umožní hledat i v prvním sloupci, kopírují se i podrobné hodnoty
fix: tlačítka z headeru jdou i přes kolečko feat: nový mode zobrazení
This commit is contained in:
1 parent
e13f7ce8e5
commit
b637e243d5
14 files changed
+553
-67
No files matched your search
@@ -2,16 +2,20 @@ import { Routes, Route, Navigate } from "react-router-dom";
|
||||
import { ToastContainer } from "react-toastify";
|
||||
import { useAuth } from "./context/auth";
|
||||
import Header from "./components/Header";
|
||||
import HellGirlFlames from "./components/HellGirlFlames";
|
||||
import Login from "./Login";
|
||||
import DayPage from "./pages/DayPage";
|
||||
import StatsPage from "./pages/StatsPage";
|
||||
import WorkoutsPage from "./pages/WorkoutsPage";
|
||||
import ProfilePage from "./pages/ProfilePage";
|
||||
import MealGroupsPage from "./pages/MealGroupsPage";
|
||||
import { useSettings } from "./context/settings";
|
||||
import { StyleTheme } from "./enums";
|
||||
import { DEN_URL, JIDLA_URL, PROFIL_URL, STATISTIKY_URL, TRENINKY_URL } from "./routes";
|
||||
|
||||
export default function AppRoutes() {
|
||||
const auth = useAuth();
|
||||
const settings = useSettings();
|
||||
|
||||
if (!auth?.login) {
|
||||
return <Login />;
|
||||
@@ -20,6 +24,7 @@ export default function AppRoutes() {
|
||||
return (
|
||||
<div className="app-container">
|
||||
<Header />
|
||||
{settings?.styleTheme === StyleTheme.HELL_GIRL && <HellGirlFlames />}
|
||||
<div className="wrapper">
|
||||
<Routes>
|
||||
<Route path={DEN_URL} element={<DayPage />} />
|
||||
|
||||
Reference in new issue
Block a user