diff --git a/client/src/App.tsx b/client/src/App.tsx
index 885ce9d..9c53486 100644
--- a/client/src/App.tsx
+++ b/client/src/App.tsx
@@ -16,7 +16,6 @@ import './themes/hellgirl.scss';
import { faCircleCheck, faNoteSticky, faTrashCan, faComment } from '@fortawesome/free-regular-svg-icons';
import { useSettings } from './context/settings';
import Footer from './components/Footer';
-import HellGirlFlames from './components/HellGirlFlames';
import { faArrowUpRightFromSquare, faBasketShopping, faChainBroken, faChevronLeft, faChevronRight, faDharmachakra, faGear, faMoneyBillTransfer, faSatelliteDish, faSearch, faTriangleExclamation } from '@fortawesome/free-solid-svg-icons';
import { useNavigate } from 'react-router-dom';
import Loader from './components/Loader';
@@ -669,7 +668,6 @@ function App() {
{easterEgg && eggImage &&
})
}
- {settings?.styleTheme === 'hellgirl' &&
}
{data.todayDayIndex != null && data.todayDayIndex > 4 &&
diff --git a/client/src/AppRoutes.tsx b/client/src/AppRoutes.tsx
index b215903..df9dbe0 100644
--- a/client/src/AppRoutes.tsx
+++ b/client/src/AppRoutes.tsx
@@ -8,6 +8,7 @@ import StatsPage from "./pages/StatsPage";
import OrderGroupsPage from "./pages/OrderGroupsPage";
import SuggestionsPage from "./pages/SuggestionsPage";
import App from "./App";
+import HellGirlFlames from "./components/HellGirlFlames";
export const STATS_URL = '/stats';
export const OBJEDNANI_URL = '/objednani';
@@ -22,34 +23,35 @@ function Butterflies() {
return ;
}
+/** Doplňkové efekty vizuálních stylů — společné pro všechny stránky (např. plamen při otevření dialogu). */
+function StyleThemeEffects() {
+ const settings = useSettings();
+ return settings?.styleTheme === 'hellgirl' ? : null;
+}
+
export default function AppRoutes() {
return (
-
- } />
-
-
-
- } />
-
+
+
+
+ } />
+ } />
+
-
- } />
-
+ } />
+
<>
-
+
>
-
- } />
-
+ } />
+
+
);
-}
\ No newline at end of file
+}