Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bielefeld-CeBiTec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2024 Competition
Bielefeld-CeBiTec
Commits
02682fe9
Commit
02682fe9
authored
7 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
header fix
parent
ab14a30b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#396954
failed
7 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/App/App.tsx
+3
-6
3 additions, 6 deletions
src/App/App.tsx
with
3 additions
and
6 deletions
src/App/App.tsx
+
3
−
6
View file @
02682fe9
...
...
@@ -54,13 +54,13 @@ const App = () => {
{
/* Header and PageContent */
}
<
Routes
>
{
Object
.
entries
(
pathMapping
).
map
(([
path
,
{
title
,
l
ead
,
component
:
Component
}])
=>
(
{
Object
.
entries
(
pathMapping
).
map
(([
path
,
{
title
,
header
:
H
ead
er
,
component
:
Component
}])
=>
(
<
Route
key
=
{
path
}
path
=
{
path
}
element
=
{
<>
<
Header
title
=
{
title
||
""
}
lead
=
{
lead
||
""
}
/>
<
Header
/>
{
/* Page content */
}
<
div
className
=
"container-fluid"
>
<
div
className
=
"row"
>
...
...
@@ -85,10 +85,7 @@ const App = () => {
path
=
"*"
element
=
{
<>
<
Header
title
=
"Not Found"
lead
=
"The requested URL was not found on this server."
/>
<
NotFound
/>
</>
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment