From 5b3fd436b808e8321a36fdd8b79722cd0102e172 Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Tue, 9 Jul 2024 18:38:53 +0200 Subject: [PATCH] readded echo to try and solve problem --- .gitlab-ci.yml | 2 +- src/App/App.tsx | 3 +-- src/pages.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eabc4e5c..6982ac32 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ pages: - yarn build - mv dist public #- cp -a dist/. public/ #original - #- echo '/* /index.html 200' > public/_redirects #original + echo '/* /index.html 200' > public/_redirects #original #- mv dist public #Ensure the output directory is renamed to public artifacts: paths: diff --git a/src/App/App.tsx b/src/App/App.tsx index 6f788142..f106c731 100644 --- a/src/App/App.tsx +++ b/src/App/App.tsx @@ -37,7 +37,7 @@ const App = () => { {/* Header and PageContent */} <Routes> {Object.entries(pathMapping).map( - ([path, {component: Component, header: Head}]) => ( + ([path, {component: Component, header: Head, name}]) => ( <Route key={path} path={path} @@ -50,7 +50,6 @@ const App = () => { <div className="row "> <div className="col-1 d-none d-lg-block" > {/* <!-- empty so far --> */} - </div> {/* <div className="col-2 d-none d-lg-block"> <div className="sticky-top sidebar"> diff --git a/src/pages.ts b/src/pages.ts index e4bda550..3add5b42 100644 --- a/src/pages.ts +++ b/src/pages.ts @@ -33,7 +33,7 @@ class Page implements Base { path: string | undefined; component: React.FC | undefined; header!: React.FC; - navlist: Array<string> | undefined; + navlist?: Array<string> | undefined; } const Pages: (Page | Folder)[] = [ -- GitLab