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
a1f9d134
Commit
a1f9d134
authored
6 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
new type of navbar
parent
07a9c9e5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#423635
failed
6 months ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/contents/human-practices.tsx
+0
-1
0 additions, 1 deletion
src/contents/human-practices.tsx
src/pages.ts
+16
-2
16 additions, 2 deletions
src/pages.ts
with
16 additions
and
3 deletions
src/contents/human-practices.tsx
+
0
−
1
View file @
a1f9d134
...
@@ -195,7 +195,6 @@ export function HumanPractices() {
...
@@ -195,7 +195,6 @@ export function HumanPractices() {
<
H3
text
=
"Education and Outreach"
id
=
"edu"
/>
<
H3
text
=
"Education and Outreach"
id
=
"edu"
/>
<>
<>
<
div
>
<
div
>
<
H2
id
=
"interviews"
text
=
"Interviews Page"
/>
{
/* <a onClick={() => goToTextsAndOpenCollapsible("symptoms-collapsible", "/description?collapseId=")}>
{
/* <a onClick={() => goToTextsAndOpenCollapsible("symptoms-collapsible", "/description?collapseId=")}>
Go to Texts and Open Collapsible 1
Go to Texts and Open Collapsible 1
</a> */
}
</a> */
}
...
...
This diff is collapsed.
Click to expand it.
src/pages.ts
+
16
−
2
View file @
a1f9d134
...
@@ -28,7 +28,7 @@ interface Base {
...
@@ -28,7 +28,7 @@ interface Base {
class
Folder
implements
Base
{
class
Folder
implements
Base
{
name
:
string
|
undefined
;
name
:
string
|
undefined
;
folder
:
Page
[]
|
undefined
;
folder
:
Page
[]
|
PageRef
[]
|
undefined
;
}
}
class
Page
implements
Base
{
class
Page
implements
Base
{
...
@@ -40,6 +40,15 @@ class Page implements Base {
...
@@ -40,6 +40,15 @@ class Page implements Base {
navlist
!
:
React
.
FC
;
navlist
!
:
React
.
FC
;
}
}
class
PageRef
implements
Base
{
name
:
string
|
undefined
;
title
:
string
|
undefined
;
path
:
string
|
undefined
;
component
?:
React
.
FC
|
undefined
;
header
?:
React
.
FC
;
navlist
?:
React
.
FC
;
}
const
Pages
:
(
Page
|
Folder
)[]
=
[
const
Pages
:
(
Page
|
Folder
)[]
=
[
{
{
name
:
"
Attributions
"
,
name
:
"
Attributions
"
,
...
@@ -197,7 +206,7 @@ const Pages: (Page | Folder)[] = [
...
@@ -197,7 +206,7 @@ const Pages: (Page | Folder)[] = [
},
},
];
];
export
const
NavPages
:
(
Page
|
Folder
)[]
=
[
export
const
NavPages
:
(
Page
|
PageRef
|
Folder
)[]
=
[
{
{
name
:
"
Home
"
,
name
:
"
Home
"
,
title
:
"
Bielefeld CeBiTec
"
,
title
:
"
Bielefeld CeBiTec
"
,
...
@@ -327,6 +336,11 @@ export const NavPages: (Page | Folder)[] = [
...
@@ -327,6 +336,11 @@ export const NavPages: (Page | Folder)[] = [
component
:
HumanPractices
,
component
:
HumanPractices
,
header
:
HPH
,
header
:
HPH
,
navlist
:
NoSidebar
navlist
:
NoSidebar
},
{
name
:
"
Education and Outreach
"
,
title
:
"
Education and Outreach
"
,
path
:
"
/human-practices?tab=edu
"
}
}
]
]
},
},
...
...
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