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
03af6c62
Commit
03af6c62
authored
5 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
skip button
parent
d01ed2e0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#457530
failed
5 months ago
Stage: build
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/components/Problems.tsx
+1
-0
1 addition, 0 deletions
src/components/Problems.tsx
src/contents/Home.tsx
+8
-4
8 additions, 4 deletions
src/contents/Home.tsx
src/headers/home-h.tsx
+3
-1
3 additions, 1 deletion
src/headers/home-h.tsx
src/pages.ts
+9
-2
9 additions, 2 deletions
src/pages.ts
with
21 additions
and
7 deletions
src/components/Problems.tsx
+
1
−
0
View file @
03af6c62
...
...
@@ -179,6 +179,7 @@ export function Problems(){
<
p
style
=
{
{
'
position
'
:
'
fixed
'
,
'
top
'
:
'
65vh
'
,
'
left
'
:
'
60vw
'
,
'
zIndex
'
:
'
1
'
,
'
width
'
:
'
40vh
'
,
'
textAlign
'
:
'
center
'
}
}
>
{
Prob31
+
"
"
+
Prob32
+
"
"
+
Prob33
}
</
p
>
<
p
style
=
{
{
'
position
'
:
'
fixed
'
,
'
top
'
:
'
85vh
'
,
'
left
'
:
'
35vw
'
,
'
zIndex
'
:
'
1
'
}
}
>
The constant
<
strong
>
fear of suffocating
</
strong
>
makes life incredibly challenging
</
p
>
</
div
>
<
div
id
=
"sciency"
></
div
>
</>
);
...
...
This diff is collapsed.
Click to expand it.
src/contents/Home.tsx
+
8
−
4
View file @
03af6c62
...
...
@@ -4,9 +4,11 @@ import { Problems } from "../components/Problems";
import
{
AirbuddyAnim
}
from
"
../components/AirbuddyAnim
"
;
import
{
PrimeGuideAnimOne
,
PrimeGuideAnimTwo
}
from
"
../components/PrimeGuide
"
;
import
{
useTabNavigation
}
from
"
../utils/TabNavigation
"
;
import
{
useNavigation
}
from
"
../utils
"
;
export
function
Home
()
{
useTabNavigation
();
return
(
<
div
className
=
"row mt-4"
>
<
div
className
=
"col"
id
=
"erstecol"
>
...
...
@@ -20,7 +22,7 @@ export function Home() {
</
div
>
<
Breathe
></
Breathe
>
<
Problems
></
Problems
>
{
/* Spacing Block */
}
...
...
@@ -29,15 +31,17 @@ export function Home() {
<
FadeIn
filepath
=
"https://static.igem.wiki/teams/5247/landing/gifs/200k-anim-transparent-bg.gif"
bg
=
'https://static.igem.wiki/teams/5247/landing/backgrounds/background-1-text.webp'
></
FadeIn
>
<
FadeIn
filepath
=
"https://static.igem.wiki/teams/5247/landing/gifs/oneintwenty-no-bg-cropped.gif"
bg
=
''
></
FadeIn
>
<
FadeIn
filepath
=
"https://static.igem.wiki/teams/5247/landing/gifs/2k-anim-transparent-bg.gif"
bg
=
'https://static.igem.wiki/teams/5247/landing/backgrounds/background-2-text.webp'
></
FadeIn
>
<
FadeIn
filepath
=
"https://static.igem.wiki/teams/5247/landing/gifs/3k-anim-transparent-bg.gif"
bg
=
'https://static.igem.wiki/teams/5247/landing/backgrounds/background-3-text.webp'
></
FadeIn
>
<
FadeIn
filepath
=
"https://static.igem.wiki/teams/5247/landing/gifs/treatment-2.gif"
bg
=
''
></
FadeIn
>
<
FadeIn
filepath
=
"https://static.igem.wiki/teams/5247/landing/gifs/treatment-2.gif"
bg
=
''
></
FadeIn
>
<
FadeIn
filepath
=
"https://static.igem.wiki/teams/5247/landing/airbuddy.gif"
bg
=
''
></
FadeIn
>
<
AirbuddyAnim
></
AirbuddyAnim
>
<
FadeIn
filepath
=
"https://static.igem.wiki/teams/5247/landing/primeguide.webp"
bg
=
''
></
FadeIn
>
<
PrimeGuideAnimOne
></
PrimeGuideAnimOne
>
<
PrimeGuideAnimTwo
></
PrimeGuideAnimTwo
>
...
...
This diff is collapsed.
Click to expand it.
src/headers/home-h.tsx
+
3
−
1
View file @
03af6c62
import
{
H5
}
from
"
../components/Headings
"
;
import
PreCyse
from
"
../components/precyse
"
;
import
{
useNavigation
}
from
"
../utils/useNavigation
"
;
export
function
HOMEH
()
{
const
{
goToPageAndScroll
}
=
useNavigation
();
return
(
<
div
className
=
"col"
>
<
div
className
=
"col header-container landing-page-header"
>
...
...
@@ -15,7 +17,7 @@ export function HOMEH() {
</
p
>
<
p
>
<
div
className
=
"col"
>
<
button
>
<
b
>
SKIP
</
b
>
to jump straight to the scienicy part of the animation.
</
button
>
<
button
onClick
=
{
()
=>
goToPageAndScroll
(
"
sciency
"
,
""
)
}
>
<
b
>
SKIP
</
b
>
to jump straight to the scienicy part of the animation.
</
button
>
</
div
>
</
p
>
...
...
This diff is collapsed.
Click to expand it.
src/pages.ts
+
9
−
2
View file @
03af6c62
...
...
@@ -116,7 +116,14 @@ const Pages: (Page | Folder)[] = [
navlist
:
HpSidebar
},
{
name
:
"
Home
"
,
title
:
"
Bielefeld CeBiTec
"
,
path
:
"
/home
"
,
component
:
Home
,
header
:
HOMEH
,
navlist
:
NoSidebar
},
{
name
:
"
Home
"
,
title
:
"
Bielefeld CeBiTec
"
,
...
...
@@ -236,7 +243,7 @@ export const NavPages: (Page | PageRef | Folder)[] = [
{
name
:
"
Home
"
,
title
:
"
Bielefeld CeBiTec
"
,
path
:
"
/
"
,
path
:
"
/
home
"
,
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