From 71aac496ae5d1cecc9b1070cdf8a50a793c3866b Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Tue, 17 Feb 2026 22:12:24 +0100 Subject: [PATCH] added cookie banner and theme select --- frontend/src/App.tsx | 2 + frontend/src/components/CookieBanner.tsx | 91 ++++++++++++++++++++++++ frontend/src/i18n.ts | 14 ++++ 3 files changed, 107 insertions(+) create mode 100644 frontend/src/components/CookieBanner.tsx diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index a1511a7..6e4eb2e 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -41,6 +41,7 @@ import './i18n'; import { useTranslation } from 'react-i18next'; import Footer from './components/Footer'; import { formatDate } from './utils/date'; +import CookieBanner from './components/CookieBanner'; // Code splitting const MainPage = lazy(() => import('./pages/MainPage')); @@ -627,6 +628,7 @@ const App: React.FC = () => {