Welkom bij Zenmo Zero
diff --git a/frontend/src/components/zero-header.tsx b/frontend/src/components/zero-header.tsx
index 4d92f27f..7b5f1b93 100644
--- a/frontend/src/components/zero-header.tsx
+++ b/frontend/src/components/zero-header.tsx
@@ -1,16 +1,78 @@
-import React from "react";
+import React, {FunctionComponent, PropsWithChildren, useState} from "react"
+import {Button} from "primereact/button";
+import {Sidebar} from "primereact/sidebar";
+import {css} from "@emotion/react";
+import {To, useNavigate} from "react-router-dom";
-export const ZeroHeader = () => (
-
-
-
- Zenmo Zero
-
-)
\ No newline at end of file
+const sidebarStyle = css({
+ width: '16rem',
+ backgroundColor: '#f5f5f5',
+ borderRight: '1px solid #ddd',
+});
+
+const buttonStyle = css({
+ display: 'block',
+ marginBottom: '3rem',
+ width: '100%',
+
+ textAlign: 'left',
+ padding: '0.5em 1em',
+ border: 'none',
+ borderBottom: '1px solid #ddd',
+ color: '#333',
+ background: '#f5f5f5',
+ transition: 'background-color 0.2s ease-in-out',
+ fontWeight: 'normal',
+ cursor: 'pointer',
+ '&:hover': {
+ backgroundColor: '#ebebeb',
+ color: '#007ad9',
+ },
+});
+
+export const ZeroHeader: FunctionComponent
= () => {
+ const [visible, setVisible] = useState(false);
+ const navigate = useNavigate();
+
+ const loadContent = (navidateTo: To) => {
+ setVisible(false);
+ navigate(navidateTo)
+ }
+ return (
+
+ );
+};
\ No newline at end of file
diff --git a/frontend/src/components/zero-layout.tsx b/frontend/src/components/zero-layout.tsx
index 2a136c3e..00391cae 100644
--- a/frontend/src/components/zero-layout.tsx
+++ b/frontend/src/components/zero-layout.tsx
@@ -29,4 +29,5 @@ export const ZeroLayout: FunctionComponent}
{children}
-)
\ No newline at end of file
+)
+
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx
index b57d66b5..4a42ae42 100644
--- a/frontend/src/index.tsx
+++ b/frontend/src/index.tsx
@@ -1,106 +1,12 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
-import {
- createBrowserRouter,
- RouterProvider,
-} from "react-router-dom";
import './index.css'
-import {DE_WIEKEN, getProjectConfiguration, HESSENPOORT, ProjectName} from "./components/company-survey-v2/project"
-import {Survey, SurveyFromProject} from "./components/company-survey-v2/survey"
-import {ThankYou} from './components/thank-you'
import reportWebVitals from './reportWebVitals'
-import App from "./App";
-import {LoginWidget} from "./user/login";
-import {BedrijvenFormV1} from "./components/bedrijven-form-v1";
-import {Admin} from "./admin/admin";
-import {
- fetchSurveyById,
- SurveyById,
- SurveyByIdLoaderData,
- SurveyByIdRouteData,
-} from "./components/company-survey-v2/survey-by-id"
-import {Home} from "./components/home"
-import {ExcelImport} from "./excel-import/excel-import"
-import {NewSurveyByProjectName} from "./components/company-survey-v2/new-survey-by-project-name"
-import {fetchBuurtcodesByProject} from "./panden-select/fetch-buurtcodes"
-import {assertDefined} from "./services/util"
-
-const router = createBrowserRouter([
- {
- path: "/",
- element: