Skip to content
Snippets Groups Projects
Commit 933969d1 authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

.

parent fb0baed5
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -11,14 +11,8 @@ import { useEffect} from "react";
import Villbuttonrow from "../components/Villagebuttons.tsx";
import Sidebar from "../components/Sidebar.tsx";
import "../utils/highlight.js";
/* import Sidebar from "../../components/Sidebar.tsx"; */
const App = () => {
/* // Dark Mode toggle
const [isDarkMode, setIsDarkMode] = useState(true);
useEffect(() => {
document.body.className = isDarkMode ? 'dark-mode' : '';
}, [isDarkMode]); */
const pathMapping = getPathMapping();
const currentPath =
......@@ -37,7 +31,7 @@ const App = () => {
return (
<>
{/* Navigation */}
<Navbar /* isDarkMode={isDarkMode} setIsDarkMode={setIsDarkMode} */ />
<Navbar/>
{/* Header and PageContent */}
<Routes>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment