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
3e732be1
Commit
3e732be1
authored
5 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
layout parts
parent
2e96745b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#431935
passed with warnings
5 months ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/contents/parts.tsx
+24
-3
24 additions, 3 deletions
src/contents/parts.tsx
src/pages.ts
+3
-2
3 additions, 2 deletions
src/pages.ts
src/sidebars/prtS.tsx
+18
-0
18 additions, 0 deletions
src/sidebars/prtS.tsx
with
45 additions
and
5 deletions
src/contents/parts.tsx
+
24
−
3
View file @
3e732be1
...
...
@@ -14,13 +14,34 @@ export function Parts() {
</
Subesction
>
</
Section
>
<
Section
title
=
"Process"
id
=
"Process"
>
<
LoremMedium
/>
<
Subesction
title
=
"EC"
id
=
"Process1"
>
<
LoremMedium
/>
</
Subesction
>
<
Subesction
title
=
"Design and Build"
id
=
"Process2"
>
<
LoremMedium
/>
</
Subesction
>
</
Section
>
<
Section
title
=
"Experiments"
id
=
"Experiments"
>
<
LoremMedium
/>
<
Subesction
title
=
"Cloning"
id
=
"Experiments1"
>
<
LoremMedium
/>
</
Subesction
>
<
Subesction
title
=
"Nikase-Assay"
id
=
"Experiments2"
>
<
LoremMedium
/>
</
Subesction
>
<
Subesction
title
=
"Activity Experiments"
id
=
"Experiments3"
>
<
LoremMedium
/>
</
Subesction
>
</
Section
>
<
Section
title
=
"Parts Collection"
id
=
"Parts Collection"
>
<
LoremMedium
/>
<
Subesction
title
=
"Plasmids"
id
=
"Parts Collection1"
>
<
LoremMedium
/>
</
Subesction
>
<
Subesction
title
=
"Basic Parts"
id
=
"Parts Collection2"
>
<
LoremMedium
/>
</
Subesction
>
<
Subesction
title
=
"Composite Parts"
id
=
"Parts Collection3"
>
<
LoremMedium
/>
</
Subesction
>
</
Section
>
</
div
>
);
...
...
This diff is collapsed.
Click to expand it.
src/pages.ts
+
3
−
2
View file @
3e732be1
...
...
@@ -25,6 +25,7 @@ import { DescSidebar, NoSidebar, EngSide } from "./contents";
import
{
IBIE
,
JUDGEH
,
PRODESC
,
SUPH
,
PARTH
,
ENGH
,
HOMEH
,
HPH
,
SPONH
,
RESH
,
ATTH
,
CONTH
,
DESCH
,
EXPH
,
IMPH
,
NOTEH
,
SAFEH
,
TEAMH
}
from
"
./contents
"
;
import
{
Methods
}
from
"
./contents/methods
"
;
import
{
METHH
}
from
"
./headers/meth-h
"
;
import
{
PartSidebar
}
from
"
./sidebars/prtS
"
;
interface
Base
{
name
:
string
|
undefined
;
...
...
@@ -182,7 +183,7 @@ const Pages: (Page | Folder)[] = [
path
:
"
/parts
"
,
component
:
Parts
,
header
:
PARTH
,
navlist
:
No
Sidebar
,
navlist
:
Part
Sidebar
,
},
{
name
:
"
Project Documentation
"
,
...
...
@@ -350,7 +351,7 @@ export const NavPages: (Page | PageRef | Folder)[] = [
path
:
"
/parts
"
,
component
:
Parts
,
header
:
PARTH
,
navlist
:
No
Sidebar
,
navlist
:
Part
Sidebar
,
},
{
name
:
"
Notebook
"
,
...
...
This diff is collapsed.
Click to expand it.
src/sidebars/prtS.tsx
0 → 100644
+
18
−
0
View file @
3e732be1
import
{
createSidebar
}
from
"
../utils/createSidebar
"
;
export
function
PartSidebar
(){
let
sidebar
=
createSidebar
(
tabs
);
return
(
<
div
className
=
"col-2 d-none d-lg-block"
>
{
sidebar
}
</
div
>
)
}
const
tabs
=
[
{
tab
:
"
Introduction
"
,
subtabs
:
[
"
Description
"
,
"
Characterization
"
]},
{
tab
:
"
Process
"
,
subtabs
:
[
"
EC
"
,
"
Design and Build
"
]},
{
tab
:
"
Experiments
"
,
subtabs
:
[
"
Cloning
"
,
"
Nikase-Assay
"
,
"
Activity Experiments
"
]},
{
tab
:
"
Parts Collection
"
,
subtabs
:
[
"
Plasmids
"
,
"
Basic Parts
"
,
"
Composite Parts
"
]},
];
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