diff --git a/frontend/src/App.js b/frontend/src/App.js
index 4443f9a..2b07db6 100644
--- a/frontend/src/App.js
+++ b/frontend/src/App.js
@@ -12,6 +12,7 @@ import CampaignPage from './pages/CampaignPage';
import MainLayout from './components/MainLayout';
import './App.css';
import { useUser } from './context/UserContext';
+import { ThemeProvider } from './context/ThemeContext';
function App() {
const { user, token, isCheckingAuth } = useUser();
@@ -21,108 +22,110 @@ function App() {
}
return (
-
-
- } />
-
-
-
- ) : (
-
- )
- }
- />
-
-
-
- ) : (
-
- )
- }
- />
-
-
-
- ) : (
-
- )
- }
- />
-
-
-
- ) : (
-
- )
- }
- />
-
-
-
- ) : (
-
- )
- }
- />
-
-
-
- ) : (
-
- )
- }
- />
-
-
-
- ) : (
-
- )
- }
- />
-
-
-
- ) : (
-
- )
- }
- />
- } />
-
-
+
+
+
+ } />
+
+
+
+ ) : (
+
+ )
+ }
+ />
+
+
+
+ ) : (
+
+ )
+ }
+ />
+
+
+
+ ) : (
+
+ )
+ }
+ />
+
+
+
+ ) : (
+
+ )
+ }
+ />
+
+
+
+ ) : (
+
+ )
+ }
+ />
+
+
+
+ ) : (
+
+ )
+ }
+ />
+
+
+
+ ) : (
+
+ )
+ }
+ />
+
+
+
+ ) : (
+
+ )
+ }
+ />
+ } />
+
+
+
);
}
diff --git a/frontend/src/components/Header.js b/frontend/src/components/Header.js
index 1d66f4d..f37abdb 100644
--- a/frontend/src/components/Header.js
+++ b/frontend/src/components/Header.js
@@ -1,10 +1,12 @@
import React from 'react';
import styles from './Header.module.css';
+import ThemeToggle from './ThemeToggle';
const Header = ({ user, onLogout }) => {
return (