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
ded22ace
Commit
ded22ace
authored
5 months ago
by
Asal Sahami Moghaddam
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' of
ssh://gitlab.igem.org/2024/bielefeld-cebitec
parents
42e0fd6d
3b9f5776
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#458834
failed
5 months ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/contents/Home.tsx
+46
-1
46 additions, 1 deletion
src/contents/Home.tsx
src/headers/home-h.tsx
+2
-44
2 additions, 44 deletions
src/headers/home-h.tsx
src/pages.ts
+1
-1
1 addition, 1 deletion
src/pages.ts
with
49 additions
and
46 deletions
src/contents/Home.tsx
+
46
−
1
View file @
ded22ace
...
...
@@ -4,22 +4,66 @@ import { Problems } from "../components/Problems";
import
{
AirbuddyAnim
}
from
"
../components/AirbuddyAnim
"
;
import
{
PrimeGuideAnimOne
,
PrimeGuideAnimTwo
}
from
"
../components/PrimeGuide
"
;
import
{
useTabNavigation
}
from
"
../utils/TabNavigation
"
;
import
{
H5
}
from
"
../components/Headings
"
;
import
PreCyse
from
"
../components/precyse
"
;
import
{
useNavigation
}
from
"
../utils
"
;
export
function
Home
()
{
useTabNavigation
();
const
{
goToPageAndScroll
}
=
useNavigation
();
return
(
<>
<
div
className
=
"col"
>
<
div
className
=
"col header-container landing-page-header"
id
=
"landing-page-header"
>
<
div
className
=
"row align-items-center"
>
<
div
className
=
"col header-button-row"
>
<
p
>
<
div
className
=
"col"
>
<
button
onClick
=
{
()
=>
goToPageAndScroll
(
"
Abstract
"
,
"
/description
"
)
}
>
<
b
>
CLICK
</
b
>
to go directly to our Project Description.
</
button
>
</
div
>
</
p
>
<
p
>
<
div
className
=
"col"
>
<
button
onClick
=
{
()
=>
goToPageAndScroll
(
"
sciency
"
,
""
)
}
>
<
b
>
SKIP
</
b
>
to jump straight to the scienicy part of the animation.
</
button
>
</
div
>
</
p
>
<
p
>
<
div
className
=
"col"
>
<
button
onClick
=
{
()
=>
goToPageAndScroll
(
"
scrollstart
"
,
""
)
}
>
<
b
>
SCROLL
</
b
>
to see whole animation.
</
button
>
</
div
>
</
p
>
</
div
>
<
div
className
=
"col header-button-row"
>
<
div
><
H5
text
=
"Or take a short tour through our highlights:"
/>
</
div
>
<
p
>
→
What is
<
PreCyse
/>
?
<
br
/>
<
br
/>
→
What is our strategy?
<
br
/>
<
br
/>
→
How did we do this?
<
br
/>
<
br
/>
→
What did we archieve?
<
br
/>
<
br
/>
→
What parts are we contributing?
<
br
/>
<
br
/>
→
What are our special awards?
</
p
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className
=
"row mt-4"
>
<
div
className
=
"col"
id
=
"erstecol"
>
<
div
className
=
"col"
>
<
div
style
=
{
{
'
position
'
:
'
relative
'
,
'
zIndex
'
:
'
1
'
,
'
top
'
:
'
10vh
'
,
'
left
'
:
'
0vw
'
,
'
scale
'
:
'
0.25
'
}
}
>
<
div
id
=
"scrollstart"
></
div
>
<
img
src
=
"https://static.igem.wiki/teams/5247/landing/indicator.webp"
></
img
>
</
div
>
<
div
id
=
"scrollstart"
></
div
>
<
Breathe
></
Breathe
>
<
Problems
></
Problems
>
...
...
@@ -53,5 +97,6 @@ export function Home() {
</
div
>
</
div
>
</
div
>
</>
);
}
This diff is collapsed.
Click to expand it.
src/headers/home-h.tsx
+
2
−
44
View file @
ded22ace
import
{
H5
}
from
"
../components/Headings
"
;
import
PreCyse
from
"
../components/precyse
"
;
import
{
useNavigation
}
from
"
../utils/useNavigation
"
;
export
function
HOMEH
()
{
const
{
goToPageAndScroll
}
=
useNavigation
();
export
function
HOMEH
()
{
return
(
<
div
className
=
"col"
>
<
div
className
=
"col header-container landing-page-header"
>
<
div
className
=
"row align-items-center"
>
<
div
className
=
"col header-button-row"
>
<
p
>
<
div
className
=
"col"
>
<
button
onClick
=
{
()
=>
goToPageAndScroll
(
"
Abstract
"
,
"
/description
"
)
}
>
<
b
>
CLICK
</
b
>
to go directly to our Project Description.
</
button
>
</
div
>
</
p
>
<
p
>
<
div
className
=
"col"
>
<
button
onClick
=
{
()
=>
goToPageAndScroll
(
"
sciency
"
,
""
)
}
>
<
b
>
SKIP
</
b
>
to jump straight to the scienicy part of the animation.
</
button
>
</
div
>
</
p
>
<
p
>
<
div
className
=
"col"
>
<
button
onClick
=
{
()
=>
goToPageAndScroll
(
"
scrollstart
"
,
""
)
}
>
<
b
>
SCROLL
</
b
>
to see whole animation.
</
button
>
</
div
>
</
p
>
</
div
>
<
div
className
=
"col header-button-row"
>
<
div
><
H5
text
=
"Or take a short tour through our highlights:"
/>
</
div
>
<
p
>
→
What is
<
PreCyse
/>
?
<
br
/>
<
br
/>
→
What is our strategy?
<
br
/>
<
br
/>
→
How did we do this?
<
br
/>
<
br
/>
→
What did we archieve?
<
br
/>
<
br
/>
→
What parts are we contributing?
<
br
/>
<
br
/>
→
What are our special awards?
</
p
>
</
div
>
</
div
>
</
div
>
<
div
className
=
"base"
>
</
div
>
</
div
>
<></>
);
...
...
This diff is collapsed.
Click to expand it.
src/pages.ts
+
1
−
1
View file @
ded22ace
...
...
@@ -243,7 +243,7 @@ export const NavPages: (Page | PageRef | Folder)[] = [
{
name
:
"
Home
"
,
title
:
"
Bielefeld CeBiTec
"
,
path
:
"
/home
"
,
path
:
"
/home
?=scrollTo=landing-page-header
"
,
component
:
Home
,
header
:
HOMEH
,
navlist
:
NoSidebar
,
...
...
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